CN104579766A - Concurrent access method and device for multi-application-layer network management - Google Patents

Concurrent access method and device for multi-application-layer network management Download PDF

Info

Publication number
CN104579766A
CN104579766A CN201410835419.9A CN201410835419A CN104579766A CN 104579766 A CN104579766 A CN 104579766A CN 201410835419 A CN201410835419 A CN 201410835419A CN 104579766 A CN104579766 A CN 104579766A
Authority
CN
China
Prior art keywords
local side
access layer
socket
nms
variable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410835419.9A
Other languages
Chinese (zh)
Other versions
CN104579766B (en
Inventor
丁森林
姚毅
张见
侯雪华
但静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI TERABAND PHOTONICS CO Ltd
Original Assignee
SHANGHAI TERABAND PHOTONICS CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI TERABAND PHOTONICS CO Ltd filed Critical SHANGHAI TERABAND PHOTONICS CO Ltd
Priority to CN201410835419.9A priority Critical patent/CN104579766B/en
Publication of CN104579766A publication Critical patent/CN104579766A/en
Application granted granted Critical
Publication of CN104579766B publication Critical patent/CN104579766B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the application discloses a concurrent access method and device for multi-application-layer network management. The method comprises the following steps: synchronously monitoring a plurality of local terminal network management processes in an I/O multiplexing manner, when a connecting request of the local terminal network management processes is received, establishing communication with the local terminal network management processes, and then entering a process of receiving data when the data is transmitted by the local terminal network management processes, so that the communication blockage is avoided, the response speed is high, the efficiency is high, and the concurrent access of the local terminal network management processes is realized. Besides, the transmission data between the local terminal network management processes and local terminal access level processes is encapsulated in classes, and the concurrent transmission data to the local terminal network management processes is uniformly treated, so that a conflict and a mistake, which are caused by inconsistent treating processes, are avoided during concurrent access.

Description

A kind of many application layers webmaster concurrent access method and device
Technical field
The present invention relates to networking technology area, particularly relate to a kind of many application layers webmaster concurrent access method and device.
Background technology
MOCA (Multimedia Over Coax Alliance, multimedia over Coax Alliance) is by using existing coaxial cable in family to connect the standard of home network device and consumer-elcetronics devices.MOCA access network equipment comprises MOCA local side apparatus and MOCA terminal equipment, and the effect of MOCA local side apparatus is network signal and TV signal etc. to mix, and is transferred to MOCA terminal, is managed for configuration terminal by coaxial port.The input of MOCA local side apparatus comprises in netting twine the TV signal (TV signal can be sent by coaxial line by optical receiver) etc. in the network signal and coaxial line transmitting and, and it exports as the radiofrequency signal by co-axial cables transport.The signal resolution that coaxial line inputs by MOCA terminal equipment, such as by coaxial line by television signal transmission to television set, by netting twine, data-signal and voice signal are transferred to computer and phone respectively.A local side apparatus can manage multiple stage terminal equipment.
Wherein, local side apparatus is according to the needs of application, multiple webmaster can be related to, comprise: local side WEB webmaster, based on http protocol (Hypertext transfer protocol, HTML (Hypertext Markup Language)) receive the request of browser and respond, send corresponding request according to browse request to local side finger daemon; Local side SNMP webmaster, based on snmp protocol (Simple Network Management Protocol, Simple Network Management Protocol) be responsible for realizing GB MIB storehouse (Management Information Base, management information bank) all nodes of specifying, gather EOC (Ethernetover Coax, Ethernet based on coaxial cable transmits) facility information, and with front-end network management system NMS (NetworkManagement System, network management system) exchange message; Local side TOOLING webmaster, receives the request of TOOLING software and responds, and is mainly used in plant produced to equipment Burning flash, printing nameplate etc.The webmaster installed belongs to the application layer of local side apparatus, for these webmasters, needs to provide multiple management approach (SNMP/WEB/TOOLING) to manage in the software architecture of local side apparatus.
But the software architecture of local side apparatus at present, the Concurrency Access of multiple webmaster cannot be processed, the request next from each webmaster and information can only be processed in a serial fashion one by one, be difficult to the stationary problem solving shared resource, and often there is no configuration data caching mechanism, need to call physical layer interface and obtain configuration information, response speed is slow.
Summary of the invention
For overcoming in correlation technique the problem that cannot process multiple webmaster Concurrency Access, the application provides a kind of many application layers webmaster concurrent access method and device.
According to the first aspect of the embodiment of the present application, a kind of many application layers webmaster concurrent access method is provided, comprises:
Each local side nms process obtains the first socket respectively, and initiates connection request to local side access layer process;
The readable state of local side access layer process poll local side access layer process socket, after obtaining the connection request of local side nms process according to the readable state of local side access layer process socket, obtain the second socket carrying out with local side nms process communicating, set up the communication connection of local side access layer process and each local side nms process;
Local side nms process becomes the first structure by needing the data encapsulation sent, and described first structure is sent to local side access layer process;
After local side access layer process receives described first structure, transfer of data to the corresponding function interface parsing the transmission of local side nms process according to described first structure processes, the data encapsulation returned by function interface is the second structure, and described second structure is sent to local side nms process, the first structure is identical with the method for packing of the second structure;
After local side nms process receives the second structure, resolve the data that described second structure obtains through function interface;
After local side nms process and the process communication of local side access layer complete, local side nms process and local side access layer process close the socket of self correspondence respectively.
Optionally, the socket of local side nms process and local side access layer process is UNIX territory byte stream socket.
Optionally, local side nms process becomes the first structure by needing the data encapsulation sent, and comprising:
Local side nms process pre-define the first variable for representing webmaster type, for represent action type the second variable, for representing the ternary of resource type and the 4th variable for representing resource identification,
The data needing to send use described first variable, the second variable, ternary and four variable table to show by local side nms process, and the data encapsulation after showing using described first variable, the second variable, ternary with four variable table becomes the first structure.
Optionally, after local side access layer process receives described first structure, transfer of data to the corresponding function interface parsing the transmission of local side nms process according to described first structure processes, and the data encapsulation returned by function interface is the second structure, comprising:
Local side access layer process pre-define the first variable for representing webmaster type, for represent action type the second variable, for representing the ternary of resource type and the 4th variable for representing resource identification,
After local side access layer process receives described first structure, the first variable, the second variable, ternary and the 4th variable is parsed according to described first structure, and described first variable, the second variable, ternary and the 4th variable are transferred to corresponding function interface process, the data that receiver function interface returns, and the data returned by function interface are the second structure according to the first variable, the second variable, ternary and the 4th variable encapsulation.
Optionally, described many application layers webmaster concurrent access method, also comprises:
Socket communication interface is defined respectively in local side access layer process and local side nms process, described socket communication interface comprise for initialization socket first interface, for send data the second interface, for receiving the 3rd interface of data and the 4th interface for closing socket
After local side nms process obtains described first socket, first socket described in the first interface initialization of calling local side nms process, local side access layer process after acquisition local side access layer process socket, local side access layer process socket described in the first interface initialization of calling local side access layer
Described first structure is sent to local side access layer process by the second interface that local side nms process calls local side nms process,
First structure described in 3rd interface of local side access layer process transfer local side access layer process, and described second structure is sent to local side nms process by the second interface calling local side access layer process,
Second structure described in the 3rd interface that local side nms process calls local side nms process,
After local side nms process and the process communication of local side access layer complete, local side nms process and local side access layer process call the socket that the 4th respective interface closes self respectively.
Optionally, describedly set up communicating of local side access layer process and local side nms process, in local side access layer process one end, comprising:
Step a1, obtains local side access layer process socket descriptor;
Step a2, monitors the connection request of local side nms process, is described by described local side access layer process socket and joins in descriptor set;
Step a3, the state of query specification symbol collection, judges whether the state of descriptor set exists change;
Step a4, if the state of descriptor set exists change, travels through the state of all descriptors, judges whether the descriptor that existence changes, otherwise, return step a3;
Step a5: if the descriptor that existence changes, judges whether the descriptor that state changes equals described local side access layer process socket descriptor;
Step a6, if the descriptor that state changes equals described socket descriptor, then there is local side nms process connection request, accept described local side nms process connection request, obtain the second socket carrying out with local side nms process communicating, set up the communication with local side nms process, the descriptor communicated with local side nms process is joined in descriptor set, return step a3, otherwise local side access layer process enters the process receiving the data that local side nms process sends.
Corresponding to the first aspect of the embodiment of the present application, according to the second aspect of the embodiment of the present application, a kind of many application layers webmaster Concurrency Access device is provided, comprises:
Local side nms process link block, for obtaining the first socket respectively in each local side nms process, and initiates connection request to local side access layer process;
Local side access layer process link block, for the readable state of poll local side access layer process socket in local side access layer process, after obtaining the connection request of local side nms process according to the readable state of local side access layer process socket, obtain the second socket carrying out with local side nms process communicating, set up the communication connection of local side access layer process and each local side nms process;
Local side nms process data processing module, for needing the data encapsulation sent to become the first structure;
Local side nms process data transmission blocks, for being sent to local side access layer process by described first structure;
Local side access layer process data receiver module, for receiving described first structure in local side access layer process;
Local side access layer process data processing module, transfer of data to the corresponding function interface sent for parsing local side nms process according to described first structure processes, the data encapsulation that receiver function interface returns is the second structure, and the first structure is identical with the method for packing of the second structure;
Local side access layer process data sending module, for being sent to local side nms process by described second structure;
Local side nms process data reception module, for receiving described second structure, and resolves the data that described second structure obtains through function interface;
Local side nms process communication closing module, for having communicated of local side access layer process after, close the socket of self correspondence;
Local side access layer process communication closing module, for having communicated of local side nms process after, close the socket of self correspondence.
Optionally, the socket of local side nms process and local side access layer process is UNIX territory byte stream socket.
Optionally, described local side nms process data processing module, comprising:
First variable-definition submodule, for pre-define at local side nms process the first variable for representing webmaster type, for represent action type the second variable, for representing the ternary of resource type and the 4th variable for representing resource identification,
First data encapsulation submodule, for using described first variable, the second variable, ternary and four variable table to show the data needing to send at local side nms process, the data encapsulation after showing using described first variable, the second variable, ternary with four variable table becomes the first structure.
Optionally, described local side access layer process data processing module, comprising:
Second variable-definition submodule, for pre-define in local side access layer process the first variable for representing webmaster type, for represent action type the second variable, for representing the ternary of resource type and the 4th variable for representing resource identification,
First analyzing sub-module, for after local side access layer process receives described first structure, parses the first variable, the second variable, ternary and the 4th variable according to described first structure,
Transmission submodule, processes for described first variable, the second variable, ternary and the 4th variable are transferred to corresponding function interface;
Return data receives submodule, for the data that receiver function interface returns;
Second encapsulation submodule is the second structure for the data that returned by function interface according to the first variable, the second variable, ternary and the 4th variable encapsulation.
Optionally, described many application layers webmaster Concurrency Access device, also comprises:
First socket interface definition module, at local side access layer process definition socket communication interface;
Second sockets interface definition module, for defining socket communication interface at local side nms process;
Wherein, described socket communication interface comprise for initialization socket first interface, for send data the second interface, for receiving the 3rd interface of data and the 4th interface for closing socket,
After local side nms process obtains described first socket, first socket described in the first interface initialization of calling local side nms process, local side access layer process after acquisition local side access layer process socket, local side access layer process socket described in the first interface initialization of calling local side access layer
Described first structure is sent to local side access layer process by the second interface that local side nms process data transmission blocks calls self, and local side nms process data reception module calls the second structure described in self the 3rd interface,
Local side access layer process data receiver module calls the first structure described in self the 3rd interface, and described second structure is sent to local side nms process by the second interface calling self,
Local side nms process communication closing module and local side access layer process communication closing module call the socket that the 4th respective interface closes self respectively.
Optionally, described local side access layer process link block, comprising:
Socket descriptor obtains submodule, for obtaining local side access layer process socket descriptor;
Monitoring submodule, for monitoring the connection request of local side nms process, and described local side access layer process socket description being joined in descriptor set;
Descriptor set status poll submodule, for the state of query specification symbol collection, judges whether the state of descriptor set exists change;
Descriptor status poll submodule, if there is change for the state of descriptor set, travels through the state of all descriptors, judges whether the descriptor that existence changes, otherwise, return descriptor set state-query module;
Descriptor judges submodule, if the descriptor changed for existence, judges whether the descriptor that state changes equals described local side access layer process socket descriptor;
Submodule is set up in communication connection, if the descriptor changed for state equals described local side access layer process socket descriptor, then accept described local side nms process connection request, obtain the second socket carrying out with local side nms process communicating, set up the communication with local side nms process, the descriptor communicated with local side nms process is joined in descriptor set, return descriptor set status poll submodule, otherwise local side access layer process enters the process receiving the data that local side nms process sends.
The technical scheme that the embodiment of the present application provides can comprise following beneficial effect: monitor multiple local side nms process in the mode that I/O is multiplexing simultaneously, when receiving the connection request of local side nms process, set up the communication with local side nms process, start again when local side nms process sends data to enter the process receiving data, thus there will not be the situation of communication blocking, fast response time, efficiency is high, realizes the Concurrency Access of local side nms process.Structure encapsulation is carried out to the data transmitted between local side nms process and local side access layer process simultaneously, the transmission data concurrent to multiple local side nms process carry out unified process, interface abstraction can also be carried out to local side nms process and local side access layer process, avoid occurring conflict and mistake because processing procedure is inconsistent during Concurrency Access.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the application.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, for those of ordinary skills, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of many application layers webmaster concurrent access method shown in the application one exemplary embodiment.
Fig. 2 is the schematic flow sheet of a kind of many application layers webmaster concurrent access method shown in another exemplary embodiment of the application.
Fig. 3 is the block diagram of a kind of many application layers webmaster Concurrency Access device shown in the application one exemplary embodiment.
Fig. 4 is the block diagram of a kind of many application layers webmaster Concurrency Access device shown in another exemplary embodiment of the application.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the application.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that some aspects of the application are consistent.
In order to complete understanding the application, refer to numerous concrete details in the following detailed description, but it should be appreciated by those skilled in the art that the application can realize without the need to these details.In other embodiments, be not described in detail known method, process, assembly and circuit, in order to avoid unnecessarily cause embodiment fuzzy.
According to the first aspect of the embodiment of the present application, provide a kind of many application layers webmaster concurrent access method.Fig. 1 is the schematic flow sheet of a kind of many application layers webmaster concurrent access method shown in the application one exemplary embodiment, and in Fig. 1, dotted line represents the transmission direction of data message.As shown in Figure 1, described method comprises:
Step S101, each local side nms process obtains the first socket respectively, and initiates connection request to local side access layer process.
Wherein, for the ease of design and the maintenance of local side program, local side software architecture is divided into successively local side access layer, local side business software layer, local side SDK software layer and local side operating system layer from top to bottom.Station-side operations system layer and operating system platform, such as, based on the operating system platform of LINUX; Local side SDK software layer is used for encapsulating local side SDK, when SDK changes, only need revise SDK layer, and the application code on upper strata is without the need to changing; Local side business software layer calls the interface of SDK, carries out business configuration, and stores business configuration; Local side access layer is used for carrying out communicating and transfer of data with multiple local side webmaster, manages, and carry out data encapsulation and interface abstraction to the access of multiple local side webmaster to multiple local side webmaster.After distinguishing hierarchy is carried out to local side software architecture, for the Concurrency Access of multiple local side webmaster, to solve primarily of local side access layer, communication port set up by local side access layer and multiple local side webmaster, carry out data communication, the communication of local side access layer and multiple local side webmaster is undertaken by local side access layer process and multiple local side nms process.Local side access layer is resolved after receiving the data of local side webmaster, then local side business software layer is delivered to, the difference process of local side webmaster type is completed in local side access layer, local side business software layer is just without the need to considering the type of local side webmaster again, only need carry out Business Processing, thus better can support the access of multiple local side webmaster.
Each local side nms process, when needs and local side access layer establish a communications link, obtains the first socket respectively, and initiates connection request to local side access layer process.Local side nms process obtains the first socket and initiates connection request to local side access layer process and can use conventional method, such as to the operating system (all illustrating with the operating system based on LINUX below) based on LINUX, call socket () to obtain socket descriptor, namely the first socket is obtained, and call connect () and carry out initiation connection request to local side access layer, to start to communicate with local side access layer.
Step S102, the readable state of local side access layer process poll local side access layer process socket, after obtaining the connection request of local side nms process according to the readable state of local side access layer process socket, obtain the second socket carrying out with local side nms process communicating, set up the communication connection of local side access layer process and each local side nms process.
Wherein, particularly, step S102 can comprise:
Step a1, local side access layer obtains local side access layer process socket and descriptor thereof, and the local side access layer process socket that initialization is corresponding, socket () can be called obtain local side access layer process socket descriptor, local side access layer process socket file path and the binding of local side access layer process socket descriptor under based on the operating system of LINUX;
Step a2, monitor the connection request of local side nms process, described local side access layer process socket descriptor is joined in descriptor set, listen () is called under based on the operating system of LINUX, can monitor the connection request of local side nms process, descriptor set is for storing socket descriptor;
Step a3, the state of query specification symbol collection, judge whether the state of descriptor set exists change, usually, interim descriptor set can be given by descriptor set assignment, use the state of the interim descriptor set of select () functional query under based on the operating system of LINUX, judge whether the state of descriptor set exists change by the return value of select (), select () if return value be greater than 0; there is change in the state of declarative description symbol collection;
Step a4, if the state of descriptor set exists change, travels through the state of all descriptors, judges whether the descriptor that existence changes, otherwise, return step a3, continue the state of query specification symbol collection;
Step a5: if the descriptor that existence changes, judges whether the descriptor that state changes equals described local side access layer process socket descriptor, namely equals the local side access layer process socket descriptor that local side access layer obtains;
Step a6, if the descriptor that state changes equals described local side access layer process socket descriptor, then there is local side nms process connection request, accept described local side nms process connection request, to obtain and local side nms process carries out the socket that communicates and descriptor, i.e. described second socket and descriptor thereof.Based under the operating system of LINUX, described socket descriptor of carrying out communicating with local side nms process can use accept () function to obtain, namely the socket descriptor obtaining carrying out communicating with local side nms process establishes the communication with local side nms process, the socket descriptor communicated with local side nms process is joined in descriptor set, return step a3, continue the state of query specification symbol collection, whether have other local side nms process connection requests to investigate.If the descriptor that the state traversed current changes is not equal to the local side access layer process socket descriptor that local side access layer obtains, then local side access layer process enters the process receiving the data that local side nms process sends.
Wherein, local side access layer process is by the change of poll local side access layer process socket state, after the connection request receiving local side nms process, set up the communication connection of local side access layer process and each local side nms process, monitor multiple local side nms process in the mode that I/O is multiplexing simultaneously, when receiving the connection request of local side nms process, set up the communication with local side nms process, when local side nms process sends data (when the readable descriptor traversed is not equal to the socket descriptor of local side access layer acquisition), start again to enter the process receiving data, thus there will not be the situation of communication blocking, fast response time, efficiency is high, the Concurrency Access of local side nms process can be realized.
Step S103, local side nms process becomes the first structure by needing the data encapsulation sent, and described first structure is sent to local side access layer process.
Step S104, after local side access layer process receives described first structure, transfer of data to the corresponding function interface parsing the transmission of local side nms process according to described first structure processes, the data encapsulation returned by function interface is the second structure, and described second structure is sent to local side nms process, the first structure is identical with the method for packing of the second structure.
Step S105, after local side nms process receives the second structure, resolves the data that described second structure obtains returning through function interface.
Wherein, during multiple local side nms process Concurrency Access, because the type of local side webmaster is different, the resource type transmitted, the action type related to is different, if processed respectively the data that the access of each local side nms process is transmitted simultaneously, data handling procedure will be made because processing procedure is inconsistent complicated and easily occur conflict and mistake, for the transmission data concurrent to multiple local side nms process unified process can be carried out, class wrapper is carried out to the data of local side nms process transmission, namely encapsulates data as structure.For local side nms process, sending to the data encapsulation of local side access layer process to be the first structure by needing, being then sent to local side access layer process.Local side nms process needs the data of transmission can be divided into webmaster type, action type, resource type and resource identification, therefore the first variable for representing webmaster type can be pre-defined at local side nms process, for representing the second variable of action type, for representing the ternary of resource type and the 4th variable for representing resource identification, the data needing to send are used described first variable by local side nms process, second variable, ternary and the 4th variable represent, described first variable will be used, second variable, ternary and four variable table show after data as the member of structure, be packaged into the first structure.Such as, be moduleType by webmaster type definition, various action type is defined as operType, is resType by resource type definitions, resource identification is defined as resId, and the value of each variable is concrete network type, action type, resource type and resource identification.Structural texture build uAlMsg, it is with moduleType, operType, resType and resID for member, and the structure of uALMsg type is the data of the local side nms process after encapsulation.When local side nms process sends data to local side access layer process, will directly send the structure of uAlMsg type.
Correspondingly, after local side access layer process receives described first structure, the method for packing according to the first structure is correspondingly resolved described first structure, parses the data that local side nms process sends.In order to resolve the data of encapsulation, and it is follow-up to encapsulation of data again during local side nms process return data, local side access layer process can pre-define the first variable for representing webmaster type, for represent action type the second variable, for representing the ternary of resource type and the 4th variable for representing resource identification, predefined variable is identical with method with the predefined variable of local side nms process with method.After local side access layer process receives described first structure, the first variable, the second variable, ternary and the 4th variable is parsed according to described first structure, such as, after local side access layer process receives the structure of the uALMsg type that local side nms process sends, extract moduleType, operType, resType and resID variable in structure, obtain webmaster type, action type, resource type and resource identification data.
After described first structure of local side access layer process parsing obtains corresponding data, transfer of data parsing obtained is to the function interface processed each data, described function interface is the interface of the function reception data of deal with data, the such as function of the deal with data of local side business software layer, comprises conventional data filtering function etc.Be about to resolve according to the first structure the first variable, the second variable, ternary and the 4th variable that obtain transfer to corresponding function interface and process.Through the data of function process, the meeting returned is needed to return to local side access layer process by function interface.After local side access layer process receives the data that function interface returns, then according to the method same with local side nms process encapsulation of data, data are encapsulated.The data returned by function interface are the second structure according to the first variable, the second variable, ternary and the 4th variable encapsulation.ModuleType, operType, resType and resID of such as being returned by function interface are encapsulated as the second structure of uALMsg type again.Local side access layer process is sent to local side nms process by encapsulating the second structure obtained again.
Wherein, after local side nms process receives the second structure of local side access layer process transmission, extract each variable in the second structure, obtain the numerical value of each variable, namely resolve described second structure and obtain through function process and the data returned by function interface.Such as, after local side nms process receives the second structure of uALMsg type, extract moduleType, operType, resType and resID variable in structure, obtain webmaster type and action type after treatment, resource type and resource identification data.
It should be noted that, local side nms process and the method for packing of local side access layer process to data are not limited in said method, also can use data encapsulation method or the self-defining data method for packing of other routine.
Wherein, after local side nms process is that local side access layer process establishes a communications link, if need to send data, then the data after encapsulation used the relevant function that sends to send, such as, under based on the operating system of LINUX, use send () function to send.After sending data, whether socket descriptor i.e. the first socket descriptor that the inquiry of local side nms process obtains is readable, such as use the first socket descriptor described in select () functional query whether readable, when the return value of select () is greater than 0, described first socket descriptor is readable.When described first socket descriptor is readable, illustrates that local side access layer process have sent data, then use receiver function, such as, accept the data of local side access layer process transmission based on the recv () function under the operating system of LINUX.For saving system processing resources, local side nms process is avoided unrestrictedly to inquire about described first socket descriptor whether readable to have judged whether that data can receive, when the result of described first socket descriptor of the double inquiry of local side nms process be all described first socket descriptor not readable time, just local side access layer process not return data is thought, and then close the first socket of local side nms process, namely close the communication with local side access layer process.
Wherein, for local side access layer process, communication connection is established with local side nms process, when entering the process receiving data, namely when the descriptor that the state traversed changes is not equal to the local side access layer process socket descriptor of local side access layer acquisition, obtain the readable byte number carrying out the socket (i.e. described second socket) communicated with local side nms process, if readable byte number is not 0, the data having corresponding local side nms process to send then are described, relevant receiver function is used to receive data, recv () is such as used to receive the data of local side nms process transmission.When local side access layer process sends data to local side nms process, use relevant transmission function to send described second structure to local side nms process, such as, use send () function to send.
If obtaining the readable byte number carrying out the socket communicated with local side nms process is 0, then illustrate that local side nms process has closed its first socket, namely the connection to local side access layer process is eliminated, now local side access layer process also closes the socket that current with corresponding local side nms process carries out communicating, and the socket descriptor of correspondence is removed from descriptor set, terminate the communication with local side nms process.
Step S106, after local side nms process and the process communication of local side access layer complete, local side nms process and local side access layer process close the socket of self correspondence respectively.
Wherein, after having communicated of local side nms process and local side access layer process, local side nms process and local side access layer process close the socket of self correspondence respectively, namely local side nms process closes the first socket of local side nms process, local side access layer process closes the second socket of local side access layer process socket and local side access layer process, removes communication connection between the two.
The socket that above-mentioned local side nms process relates to and the socket that local side access process relates to, be all preferably UNIX territory byte stream socket.UNIX territory socket is relative to conventional internet domain socket, only copy data, do not perform other process, there is higher communication efficiency, and UNIX territory byte stream socket is compared UNIX numeric field data report socket and is more suitable for local side nms process and the process communication of local side access layer and has the long characteristic be connected.
Fig. 2 is the schematic flow sheet of a kind of many application layers webmaster concurrent access method shown in another exemplary embodiment of the application, and in Fig. 2, dotted line represents the transmission direction of data message.As shown in Figure 2, described method comprises:
Step S201, define socket communication interface respectively in local side access layer process and local side nms process, described socket communication interface comprise for initialization socket first interface, for send data the second interface, for receiving the 3rd interface of data and the 4th interface for closing socket;
Step S202, local side access layer process and local side nms process define respectively the first variable for representing webmaster kind, for represent action type the second variable, for representing the ternary of resource type and the 4th variable for representing resource identification;
Step S203, each local side nms process obtains the first socket respectively, calls respective first interface initialization the first socket separately, and initiates connection request to local side access layer process;
Step S204, local side access layer process obtains local side access layer process socket, local side access layer process socket described in the first interface initialization of calling local side access layer process;
Step S205, local side access layer inquires about the readable state of described local side access layer process socket, after obtaining the connection request of local side nms process according to the readable state of local side access layer process socket, obtain the second socket carrying out with local side nms process communicating, set up the communication connection between local side access layer process and each local side nms process;
Step S206, the data needing to send use described first variable, the second variable, ternary and four variable table to show by local side nms process, by using described first variable, the second variable, ternary show with four variable table after data encapsulation become the first structure, and call the second interface described first structure be sent to local side access layer process;
Step S207, after local side access layer process transfer the 3rd interface to described first structure, the first variable, the second variable, ternary and the 4th variable is parsed according to described first structure, and described first variable, the second variable, ternary and the 4th variable are transferred to corresponding function interface process, be the second structure by the data returned after function interface process according to the first variable, the second variable, ternary and the 4th variable encapsulation, and call described 3rd interface described second structure is sent to local side nms process;
Step S208, after local side nms process calls described 3rd interface to described second structure, resolves described second structure and obtains the data that function interface returns;
Step S209, after local side nms process and the process communication of local side access layer complete, local side nms process and local side access layer process are called the 4th interface respectively and are closed socket.
Wherein, due to local side nms process and local side access layer process all need to carry out the initialization of socket, data send, data receiver and communication close (namely closing socket).For convenience of the management to local side nms process Concurrency Access, socket communication interface can be defined respectively in local side access layer process and local side nms process, described socket communication interface comprise for initialization socket first interface, for send data the second interface, for receiving the 3rd interface of data and the 4th interface for closing socket.Described socket communication interface is combined by relevant process function, such as the correlation function of initialization socket is combined as new function, described new function and described first interface, be combined as described second interface by the correlation function being used for sending data, by that analogy.Use unified interface to process communicating and transfer of data of local side nms process and local side access layer process, be conducive to the management to local side nms process Concurrency Access, make management have consistency, reduce different local side webmaster Concurrency Access produce communication or transmission mistake with conflict.
Wherein, local side access layer process is after acquisition local side access layer process socket, local side access layer process socket described in the first interface initialization of calling local side access layer, after local side nms process obtains its first socket, call its first socket of first interface initialization of local side nms process.Local side nms process calls the second interface and described first structure is sent to local side access layer process, first structure described in local side access layer process transfer the 3rd interface, and call described second interface described second structure is sent to local side nms process, local side nms process calls the second structure described in described 3rd interface, after local side nms process and the process communication of local side access layer complete, local side nms process and local side access layer process call the socket that the 4th interface closes self respectively.
By the description of above embodiment of the method, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, and be stored in a storage medium, comprise all or part of step of some instructions in order to make a smart machine perform method described in each embodiment of the application.And aforesaid storage medium comprises: the various media that can store data and program code such as read-only memory (ROM), random access memory (RAM), magnetic disc or CDs.
Corresponding to the first aspect of the embodiment of the present application, according to the second aspect of the embodiment of the present application, provide a kind of many application layers webmaster Concurrency Access device.Fig. 3 is the block diagram of a kind of many application layers webmaster Concurrency Access device shown in the application one exemplary embodiment, in Fig. 3, and the data information transfer relation existed between dotted line representation module.As shown in Figure 3, described device comprises:
Local side nms process link block U301, for obtaining the first socket respectively in each local side nms process, and initiates connection request to local side access layer process;
Local side access layer process link block U302, for the readable state of poll local side access layer process socket in local side access layer process, after obtaining the connection request of local side nms process according to the readable state of local side access layer process socket, obtain the second socket carrying out with local side nms process communicating, set up the communication connection of local side access layer process and each local side nms process;
Local side nms process data processing module U303, for becoming the first structure by local side nms process by needing the data encapsulation sent;
Local side nms process data transmission blocks U304, for being sent to local side access layer process by described first structure;
Local side access layer process data receiver module U305, for receiving described first structure in local side access layer process;
Local side access layer process data processing module U306, transfer of data to the corresponding function interface sent for parsing local side nms process according to described first structure processes, the data encapsulation that receiver function interface returns is the second structure, and the first structure is identical with the method for packing of the second structure;
Local side access layer process data sending module U307, for being sent to local side nms process by described second structure;
Local side nms process data reception module U308, for receiving described second structure, and resolves the data that described second structure obtains through function interface;
Local side nms process communication closing module U309, for having communicated of local side access layer process after, close the socket of self correspondence.
Local side access layer process communication closing module U3010, for having communicated of local side nms process after, close the socket of self correspondence.
Wherein, described local side nms process data processing module U303, can comprise:
First variable-definition submodule, for pre-define at local side nms process the first variable for representing webmaster type, for represent action type the second variable, for representing the ternary of resource type and the 4th variable for representing resource identification,
First data encapsulation submodule, for using described first variable, the second variable, ternary and four variable table to show the data needing to send at local side nms process, the data encapsulation after showing using described first variable, the second variable, ternary with four variable table becomes the first structure.
Wherein, described local side access layer process data processing module U306, can comprise:
Second variable-definition submodule, for pre-define in local side access layer process the first variable for representing webmaster type, for represent action type the second variable, for representing the ternary of resource type and the 4th variable for representing resource identification,
First analyzing sub-module, for after local side access layer process receives described first structure, parses the first variable, the second variable, ternary and the 4th variable according to described first structure,
Transmission submodule, processes for described first variable, the second variable, ternary and the 4th variable are transferred to corresponding function interface;
Return data receives submodule, for the data that receiver function interface returns;
Second encapsulation submodule is the second structure for the data that returned by function interface according to the first variable, the second variable, ternary and the 4th variable encapsulation.
Wherein, local side access layer process link block U302, can comprise:
Socket descriptor obtains submodule, for obtaining socket descriptor;
Monitoring submodule, for monitoring the connection request of local side nms process, and described socket description being joined in descriptor set;
Descriptor set status poll submodule, for the state of query specification symbol collection, judges whether the state of descriptor set exists change;
Descriptor status poll submodule, if there is change for the state of descriptor set, travels through the state of all descriptors, judges whether the descriptor that existence changes, otherwise, return descriptor set state-query module;
Descriptor judges submodule, if the descriptor changed for existence, judges whether the descriptor that state changes equals described socket descriptor;
Submodule is set up in communication connection, if the descriptor changed for state equals described socket descriptor, then accept described local side nms process connection request, set up the communication with local side nms process, descriptor in the communication of local side nms process is joined in descriptor set, return descriptor set status poll submodule, otherwise local side access layer process enters the process receiving the data that local side nms process sends.
Fig. 4 is the block diagram of a kind of many application layers webmaster Concurrency Access device shown in the application one exemplary embodiment, in Fig. 4, and the data information transfer relation existed between dotted line representation module.As shown in Figure 4, described device comprises:
First socket interface definition module U401, at local side access layer process definition socket communication interface;
Second sockets interface definition module U402, for defining socket communication interface at local side nms process;
Local side nms process link block U403, obtains the first socket respectively for each local side nms process, calls respective first interface initialization the first socket separately, and initiates connection request to local side access layer process;
Local side access layer process link block U404, local side access layer process socket is obtained for local side access layer process, local side access layer process socket described in the first interface initialization of calling local side access layer process, the readable state of poll local side access layer process socket in local side access layer process, after obtaining the connection request of local side nms process according to the readable state of local side access layer process socket, obtain the second socket carrying out with local side nms process communicating, set up the communication connection of local side access layer process and each local side nms process;
Local side nms process data processing module U405, for for by local side nms process by need send data encapsulation become the first structure;
Local side nms process data transmission blocks U406, for being sent to local side access layer process by described first structure;
Local side access layer process data receiver module U407, for receiving described first structure in local side access layer process;
Local side access layer process data processing module U408, transfer of data to the corresponding function interface sent for parsing local side nms process according to described first structure processes, the data encapsulation that receiver function interface returns is the second structure, and the first structure is identical with the method for packing of the second structure;
Local side access layer process data sending module U409, for being sent to local side nms process by described second structure;
Local side nms process data reception module U4010, for receiving described second structure, and resolves the data that described second structure obtains through function interface;
Local side nms process communication closing module U4011, for having communicated of local side access layer process after, close the socket of self correspondence.
Local side access layer process communication closing module U4012, for having communicated of local side nms process after, close the socket of self correspondence.
Wherein, described socket communication interface comprise for initialization socket first interface, for send data the second interface, for receiving the 3rd interface of data and the 4th interface for closing socket,
Local side access layer process is after acquisition local side access layer process socket, local side access layer process socket described in the first interface initialization of calling local side access layer, after local side nms process obtains its first socket, call its first socket of first interface initialization of local side nms process.Described first structure is sent to local side access layer process by the second interface that local side nms process data transmission blocks calls self, and local side nms process data reception module calls the second structure described in self the 3rd interface,
Local side access layer process data receiver module calls the first structure described in self the 3rd interface, and described second structure is sent to local side nms process by the second interface calling self,
Local side nms process communication closing module and local side access layer process communication closing module call the socket that the 4th respective interface closes self respectively.
For convenience of description, various unit is divided into describe respectively with function when describing above device.Certainly, the function of each unit can be realized in same or multiple software and/or hardware when implementing the application.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device or system embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.Apparatus and system embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
It should be noted that, in this article, the such as relational terms of " first " and " second " etc. and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply these entities or there is relation or the backward of any this reality between operating.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The above is only the embodiment of the application, those skilled in the art is understood or realizes the application.To be apparent to one skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein when not departing from the spirit or scope of the application, can realize in other embodiments.Therefore, the application can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. the webmaster of application layer a more than concurrent access method, is characterized in that, comprising:
Each local side nms process obtains the first socket respectively, and initiates connection request to local side access layer process;
The readable state of local side access layer process poll local side access layer process socket, after obtaining the connection request of local side nms process according to the readable state of local side access layer process socket, obtain the second socket carrying out with local side nms process communicating, set up the communication connection of local side access layer process and each local side nms process;
Local side nms process becomes the first structure by needing the data encapsulation sent, and described first structure is sent to local side access layer process;
After local side access layer process receives described first structure, transfer of data to the corresponding function interface parsing the transmission of local side nms process according to described first structure processes, the data encapsulation returned by function interface is the second structure, and described second structure is sent to local side nms process, the first structure is identical with the method for packing of the second structure;
After local side nms process receives the second structure, resolve the data that described second structure obtains through function interface;
After local side nms process and the process communication of local side access layer complete, local side nms process and local side access layer process close the socket of self correspondence respectively.
2. many application layers webmaster concurrent access method as claimed in claim 1, is characterized in that, the socket of local side nms process and local side access layer process is UNIX territory byte stream socket.
3. many application layers webmaster concurrent access method as claimed in claim 1, is characterized in that,
Local side nms process becomes the first structure by needing the data encapsulation sent, and comprising:
Local side nms process pre-define the first variable for representing webmaster type, for represent action type the second variable, for representing the ternary of resource type and the 4th variable for representing resource identification,
The data needing to send use described first variable, the second variable, ternary and four variable table to show by local side nms process, and the data encapsulation after showing using described first variable, the second variable, ternary with four variable table becomes the first structure;
After local side access layer process receives described first structure, transfer of data to the corresponding function interface parsing the transmission of local side nms process according to described first structure processes, and the data encapsulation returned by function interface is the second structure, comprising:
Local side access layer process pre-define the first variable for representing webmaster type, for represent action type the second variable, for representing the ternary of resource type and the 4th variable for representing resource identification,
After local side access layer process receives described first structure, the first variable, the second variable, ternary and the 4th variable is parsed according to described first structure, and described first variable, the second variable, ternary and the 4th variable are transferred to corresponding function interface process, the data that receiver function interface returns, and the data returned by function interface are the second structure according to the first variable, the second variable, ternary and the 4th variable encapsulation.
4. the many application layers webmaster concurrent access method as described in as arbitrary in claims 1 to 3, is characterized in that, also comprise:
Socket communication interface is defined respectively in local side access layer process and local side nms process, described socket communication interface comprise for initialization socket first interface, for send data the second interface, for receiving the 3rd interface of data and the 4th interface for closing socket
After local side nms process obtains described first socket, first socket described in the first interface initialization of calling local side nms process, local side access layer process after acquisition local side access layer process socket, local side access layer process socket described in the first interface initialization of calling local side access layer
Described first structure is sent to local side access layer process by the second interface that local side nms process calls local side nms process,
First structure described in 3rd interface of local side access layer process transfer local side access layer process, and described second structure is sent to local side nms process by the second interface calling local side access layer process,
Second structure described in the 3rd interface that local side nms process calls local side nms process,
After local side nms process and the process communication of local side access layer complete, local side nms process and local side access layer process call the socket that the 4th respective interface closes self respectively.
5. many application layers webmaster concurrent access method as claimed in claim 1, is characterized in that, describedly sets up communicating of local side access layer process and local side nms process, in local side access layer process one end, comprising:
Step a1, obtains local side access layer process socket descriptor;
Step a2, monitors the connection request of local side nms process, joins in descriptor set by described local side access layer process socket descriptor;
Step a3, the state of query specification symbol collection, judges whether the state of descriptor set exists change;
Step a4, if the state of descriptor set exists change, travels through the state of all descriptors, judges whether the descriptor that existence changes, otherwise, return step a3;
Step a5: if the descriptor that existence changes, judges whether the descriptor that state changes equals described local side access layer process socket descriptor;
Step a6, if the descriptor that state changes equals described local side access layer process socket descriptor, then there is local side nms process connection request, accept described local side nms process connection request, obtain the second socket carrying out with local side nms process communicating, set up the communication with local side nms process, the descriptor communicated with local side nms process is joined in descriptor set, return step a3, otherwise local side access layer process enters the process receiving the data that local side nms process sends.
6. the webmaster of application layer more than a Concurrency Access device, is characterized in that, comprising:
Local side nms process link block, for obtaining the first socket respectively in each local side nms process, and initiates connection request to local side access layer process;
Local side access layer process link block, for the readable state of poll local side access layer process socket in local side access layer process, after obtaining the connection request of local side nms process according to the readable state of local side access layer process socket, obtain the second socket carrying out with local side nms process communicating, set up the communication connection of local side access layer process and each local side nms process;
Local side nms process data processing module, for needing the data encapsulation sent to become the first structure;
Local side nms process data transmission blocks, for being sent to local side access layer process by described first structure;
Local side access layer process data receiver module, for receiving described first structure in local side access layer process;
Local side access layer process data processing module, transfer of data to the corresponding function interface sent for parsing local side nms process according to described first structure processes, the data encapsulation that receiver function interface returns is the second structure, and the first structure is identical with the method for packing of the second structure;
Local side access layer process data sending module, for being sent to local side nms process by described second structure;
Local side nms process data reception module, for receiving described second structure, and resolves the data that described second structure obtains through function interface;
Local side nms process communication closing module, for having communicated of local side access layer process after, close the socket of self correspondence;
Local side access layer process communication closing module, for having communicated of local side nms process after, close the socket of self correspondence.
7. many application layers webmaster Concurrency Access device as claimed in claim 6, is characterized in that, the socket of local side nms process and local side access layer process is UNIX territory byte stream socket.
8. many application layers webmaster Concurrency Access device as claimed in claim 6, is characterized in that,
Described local side nms process data processing module, comprising:
First variable-definition submodule, for pre-define at local side nms process the first variable for representing webmaster type, for represent action type the second variable, for representing the ternary of resource type and the 4th variable for representing resource identification,
First data encapsulation submodule, for using described first variable, the second variable, ternary and four variable table to show the data needing to send at local side nms process, the data encapsulation after showing using described first variable, the second variable, ternary with four variable table becomes the first structure;
Described local side access layer process data processing module, comprising:
Second variable-definition submodule, for pre-define in local side access layer process the first variable for representing webmaster type, for represent action type the second variable, for representing the ternary of resource type and the 4th variable for representing resource identification,
First analyzing sub-module, for after local side access layer process receives described first structure, parses the first variable, the second variable, ternary and the 4th variable according to described first structure,
Transmission submodule, processes for described first variable, the second variable, ternary and the 4th variable are transferred to corresponding function interface;
Return data receives submodule, for the data that receiver function interface returns;
Second encapsulation submodule is the second structure for the data that returned by function interface according to the first variable, the second variable, ternary and the 4th variable encapsulation.
9. the many application layers webmaster Concurrency Access device as described in as arbitrary in claim 6 to 8, is characterized in that, also comprise:
First socket interface definition module, at local side access layer process definition socket communication interface;
Second sockets interface definition module, for defining socket communication interface at local side nms process;
Wherein, described socket communication interface comprise for initialization socket first interface, for send data the second interface, for receiving the 3rd interface of data and the 4th interface for closing socket,
After local side nms process obtains described first socket, first socket described in the first interface initialization of calling local side nms process, local side access layer process after acquisition local side access layer process socket, local side access layer process socket described in the first interface initialization of calling local side access layer
Described first structure is sent to local side access layer process by the second interface that local side nms process data transmission blocks calls self, and local side nms process data reception module calls the second structure described in self the 3rd interface,
Local side access layer process data receiver module calls the first structure described in self the 3rd interface, and described second structure is sent to local side nms process by the second interface calling self,
Local side nms process communication closing module and local side access layer process communication closing module call the socket that the 4th respective interface closes self respectively.
10. many application layers webmaster Concurrency Access device as claimed in claim 6, is characterized in that, described local side access layer process link block, comprising:
Socket descriptor obtains submodule, for obtaining local side access layer process socket descriptor;
Monitoring submodule, for monitoring the connection request of local side nms process, and described local side access layer process socket description being joined in descriptor set;
Descriptor set status poll submodule, for the state of query specification symbol collection, judges whether the state of descriptor set exists change;
Descriptor status poll submodule, if there is change for the state of descriptor set, travels through the state of all descriptors, judges whether the descriptor that existence changes, otherwise, return descriptor set state-query module;
Descriptor judges submodule, if the descriptor changed for existence, judges whether the descriptor that state changes equals described local side access layer process socket descriptor;
Submodule is set up in communication connection, if the descriptor changed for state equals described local side access layer process socket descriptor, then accept described local side nms process connection request, obtain the second socket carrying out with local side nms process communicating, set up the communication with local side nms process, the descriptor communicated with local side nms process is joined in descriptor set, return descriptor set status poll submodule, otherwise local side access layer process enters the process receiving the data that local side nms process sends.
CN201410835419.9A 2014-12-23 2014-12-23 A kind of more application layer webmaster concurrent access methods and device Active CN104579766B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410835419.9A CN104579766B (en) 2014-12-23 2014-12-23 A kind of more application layer webmaster concurrent access methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410835419.9A CN104579766B (en) 2014-12-23 2014-12-23 A kind of more application layer webmaster concurrent access methods and device

Publications (2)

Publication Number Publication Date
CN104579766A true CN104579766A (en) 2015-04-29
CN104579766B CN104579766B (en) 2017-12-05

Family

ID=53095031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410835419.9A Active CN104579766B (en) 2014-12-23 2014-12-23 A kind of more application layer webmaster concurrent access methods and device

Country Status (1)

Country Link
CN (1) CN104579766B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311625A (en) * 2020-10-26 2021-02-02 珠海格力电器股份有限公司 Network management method and device, storage medium and electronic device
CN113626105A (en) * 2021-08-18 2021-11-09 赞同科技股份有限公司 SDK system and mobile device of mobile terminal mixed mode

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7917601B1 (en) * 2000-10-10 2011-03-29 Juniper Networks, Inc. Agent-based event-driven web server architecture
CN103117895A (en) * 2013-01-25 2013-05-22 哈尔滨工业大学 LXI instrument service monitoring method
CN103841148A (en) * 2012-11-23 2014-06-04 京信通信系统(中国)有限公司 Master-slave communication method and system adopting reliable and unreliable networks in monitoring program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7917601B1 (en) * 2000-10-10 2011-03-29 Juniper Networks, Inc. Agent-based event-driven web server architecture
CN103841148A (en) * 2012-11-23 2014-06-04 京信通信系统(中国)有限公司 Master-slave communication method and system adopting reliable and unreliable networks in monitoring program
CN103117895A (en) * 2013-01-25 2013-05-22 哈尔滨工业大学 LXI instrument service monitoring method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JIANLI SUN: "TCP/IP Socket I/O Multiplexing Using A Hybrid Polling Event System", 《2009 29TH IEEE CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS WORKSHOPS》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311625A (en) * 2020-10-26 2021-02-02 珠海格力电器股份有限公司 Network management method and device, storage medium and electronic device
CN113626105A (en) * 2021-08-18 2021-11-09 赞同科技股份有限公司 SDK system and mobile device of mobile terminal mixed mode
CN113626105B (en) * 2021-08-18 2023-10-27 赞同科技股份有限公司 SDK system of mobile terminal mixed mode and mobile device

Also Published As

Publication number Publication date
CN104579766B (en) 2017-12-05

Similar Documents

Publication Publication Date Title
CN107247597B (en) Abstract representation method of device object for providing uniform abstract representation for intelligent device
FI118751B (en) Extracting information from a traffic stream in a communication network
CN102790776B (en) Heartbeat connection normalizing processing method, terminal, server and communication system
CN104113879B (en) It is deployed with cloud AC WiFi communication system and communication means
EP3096563B1 (en) Method and system for realizing network access via wifi
US20120047245A1 (en) Method for provisioning parameters of terminal, system thereof, and terminal management device
US10015267B2 (en) Generic multichannel center for network applications and services
CN108696523B (en) Response method and device for call service
CN103179133A (en) Communication method between client side and server based on entity class
CN106031089B (en) Method and apparatus for receiving multicast channel
CN101997721B (en) A kind of telecommunication network management system, method and accordingly device
CN109412877B (en) Network capacity open system based on UTN network
CN111954100A (en) Interface upgrading method and device and optical network unit management method and device
CN107368334B (en) Business plug-in interaction system and method
WO2015131074A1 (en) Recognizable identification of a network device
CN104579766A (en) Concurrent access method and device for multi-application-layer network management
CN102685153B (en) Resource platform opens the method and resource platform of third party's service
CN101969454B (en) Method, system and mobile terminal for realizing data transmission between mobile terminal and computer
CN105393584A (en) Apparatus, system and method of supporting streaming over a protocol adaptation layer (pal)
CN102571615B (en) Quality of service (QOS) strategy realizing method based on Ethernet over coax (EOC) terminal
CN105827423A (en) Data acquisition method and data acquisition device
CN112217845B (en) Data transmission method based on Netconf protocol and related equipment
CN102238505B (en) Method and system for processing multi-user parallel signalling tracking at client
CN105320517B (en) Adapter middleware system and method based on web services
EP3121998B1 (en) Generic multichannel center for network applications and services

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 201807 Shanghai City, north of the city of Jiading District Road No. 1355 building 4 layer D

Applicant after: Lingyun Tianbo Photoelectric Technology Co., Ltd.

Address before: 201807 Shanghai City, north of the city of Jiading District Road No. 1355 building 4 layer D

Applicant before: Shanghai Teraband Photonics Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant