




技术领域technical field
本发明涉及信息技术领域,特别是涉及一种业务处理方法、系统、域名服务器、电子设备及介质。The present invention relates to the field of information technology, in particular to a business processing method, system, domain name server, electronic device and medium.
背景技术Background technique
协议驱动服务器用于在视联网内实现透传服务,从而实现发送方与接收方之间通信。The protocol-driven server is used to implement the transparent transmission service in the video network, so as to realize the communication between the sender and the receiver.
在相关技术中,协议驱动服务器VVOE是双向服务,即协议驱动服务器既要对请求进行发送,同时也需要对数据进行接收,并且协议驱动服务器在进行业务的过程中需要始终保持与终端的连接,当存在多个业务同时进行时,会造成收发数据的阻塞,无法满足对多个业务同时进行的需求。In the related art, the protocol-driven server VVOE is a two-way service, that is, the protocol-driven server not only needs to send requests, but also needs to receive data, and the protocol-driven server needs to always maintain a connection with the terminal during the business process. When there are multiple services running at the same time, it will cause the blockage of sending and receiving data, which cannot meet the demand for multiple services running at the same time.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,提出了本发明实施例以便提供一种克服上述问题或者至少部分地解决上述问题的一种业务处理方法、系统、域名服务器、电子设备及介质。In view of the above problems, the embodiments of the present invention are proposed to provide a business processing method, system, domain name server, electronic device and medium that overcome the above problems or at least partially solve the above problems.
为了解决上述问题,本发明实施例公开了一种业务处理方法,应用于视联网的第一局域网,所述第一局域网包括:第一域名服务器、发送方、第一发送协议驱动服务器和第一接收协议驱动服务器,所述方法包括:In order to solve the above problem, an embodiment of the present invention discloses a service processing method, which is applied to a first local area network of the Internet of Views, where the first local area network includes: a first domain name server, a sender, a first sending protocol driver server, and a first local area network. receiving a protocol-driven server, the method comprising:
所述第一域名服务器接收所述发送方发送的请求;receiving, by the first domain name server, the request sent by the sender;
所述第一域名服务器将所述请求转发至所述第一发送协议驱动服务器;the first domain name server forwards the request to the first sending protocol driver server;
释放所述第一发送协议驱动服务器与所述发送方的连接;releasing the connection between the first sending protocol driver server and the sender;
接收第一接收协议驱动服务器基于所述发送的请求返回的响应数据;receiving response data returned by the first receiving protocol driver server based on the sent request;
释放所述第一接收协议驱动服务器与所述发送方的连接。Release the connection between the first receiving protocol driver server and the sender.
可选的,所述第一域名服务器接收所述发送方发送的请求的步骤之前,还包括:Optionally, before the step of receiving the request sent by the sender, the first domain name server further includes:
所述第一域名服务器向所述发送方分配第一视联网号码;assigning, by the first domain name server, a first-view Internet number to the sender;
向所述第一发送协议驱动服务器分配第二视联网号码;assigning a second video network number to the first sending protocol driving server;
向所述第一接收协议驱动服务器分配第三视联网号码。Allocate a third video network number to the first receiving protocol driving server.
可选的,所述向所述第一接收协议驱动服务器分配第三视联网号码的步骤之后,所述方法还包括:Optionally, after the step of allocating a third ISP number to the first receiving protocol driving server, the method further includes:
所述第一域名服务器存储所述发送方的地址信息与所述第一视联网号码的对应关系;The first domain name server stores the correspondence between the address information of the sender and the first video network number;
建立所述对应关系与所述第三视联网号码的映射关系;establishing a mapping relationship between the corresponding relationship and the third-view Internet number;
所述第一域名服务器将所述映射关系发送至所述第一局域网中的所述第一接收协议驱动服务器。The first domain name server sends the mapping relationship to the first receiving protocol driver server in the first local area network.
可选的,所述第一域名服务器将所述请求转发至所述第一发送协议驱动服务器的步骤之前,还包括:Optionally, before the step of forwarding the request to the first sending protocol driver server by the first domain name server, the method further includes:
判断所述请求,若所述请求为发送请求,则将所述请求转发至第一发送协议驱动服务器;Judging the request, if the request is a sending request, forwarding the request to the first sending protocol driver server;
若所述请求为接收请求,则将所述请求转发至第一接收协议驱动服务器。If the request is a receiving request, the request is forwarded to the first receiving protocol driver server.
可选的,所述方法还包括:Optionally, the method further includes:
所述第一域名服务器将所述请求转发至所述第一发送协议驱动服务器的步骤之后,以使所述第一发送协议驱动服务器通过视联网协议将所述请求发送至第二局域网中的第二接收协议驱动服务器;After the step of the first domain name server forwarding the request to the first sending protocol driving server, so that the first sending protocol driving server sends the request to the first sending protocol in the second local area network through the Internet of Things protocol. 2. The receiving protocol drives the server;
所述第二局域网中的第二发送协议驱动服务器通过视联网协议将所述请求返回的响应数据发送至所述第一接收协议驱动服务器。The second sending protocol driving server in the second local area network sends the response data returned by the request to the first receiving protocol driving server through the Internet of View protocol.
可选的,所述接收第一接收协议驱动服务器基于所述发送的请求返回的响应数据的步骤之后,还包括:Optionally, after the step of receiving the response data returned by the first receiving protocol driver server based on the sent request, the method further includes:
第一接收协议驱动服务器解析所述响应数据包,获得待处理的接收方视联网号码以及接收方地址信息;The first receiving protocol drives the server to parse the response data packet, and obtains the receiver's viewing network number and the receiver's address information to be processed;
将所述待处理的接收方视联网号码以及接收方地址信息与所述第一域名服务器中存储的对应关系进行匹配;Matching the to-be-processed recipient's internet number and recipient address information with the correspondence stored in the first domain name server;
若匹配成功,则根据所述映射关系将所述响应数据包发送至第一域名服务器。If the matching is successful, the response data packet is sent to the first domain name server according to the mapping relationship.
为了解决上述问题,本发明实施例还公开了一种第一域名服务器,应用于视联网,包括:In order to solve the above problem, the embodiment of the present invention also discloses a first domain name server, which is applied to the Internet of Things, including:
接收模块,用于接收所述发送方发送的请求;a receiving module, configured to receive the request sent by the sender;
转发模块,用于将所述请求转发至第一发送协议驱动服务器;a forwarding module, configured to forward the request to the first sending protocol driver server;
第一释放模块,用于释放所述第一发送协议驱动服务器与所述发送方的连接;a first release module, for releasing the connection between the first transmission protocol driver server and the sender;
响应模块,用于接收第一接收协议驱动服务器基于所述发送请求返回的响应数据;a response module, configured to receive the response data returned by the first receiving protocol driver server based on the sending request;
第二释放模块,用于释放所述第一接收协议驱动服务器与所述发送方的连接。A second release module, configured to release the connection between the first receiving protocol driver server and the sender.
为了解决上述问题,本发明实施例还公开了一种业务处理系统,包括:In order to solve the above problem, an embodiment of the present invention also discloses a service processing system, including:
第一域名服务器,用于接收发送方发送的请求,并将所述请求转发至第一局域网的第一发送协议驱动服务器;a first domain name server, configured to receive the request sent by the sender, and forward the request to the first sending protocol driver server of the first local area network;
第一发送协议驱动服务器,用于将所述请求发送至第二局域网的第二接收协议驱动服务器;a first sending protocol driver server, configured to send the request to a second receiving protocol driver server of the second local area network;
第一接收协议驱动服务器,用于接收第二局域网的第二发送协议驱动器基于所述请求返回的响应数据。The first receiving protocol driver server is configured to receive the response data returned by the second sending protocol driver of the second local area network based on the request.
为了解决上述问题,本发明实施例还公开了一种电子设备,包括:In order to solve the above problems, an embodiment of the present invention also discloses an electronic device, including:
一个或多个处理器;和one or more processors; and
其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述装置执行所述的业务处理方法。One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the apparatus to perform the described business processing method.
为了解决上述问题,本发明实施例还公开一种计算机可读存储介质,其存储的计算机程序使得处理器执行所述的业务处理方法。In order to solve the above problem, an embodiment of the present invention further discloses a computer-readable storage medium, the computer program stored in the storage medium enables a processor to execute the service processing method.
本发明实施例包括以下优点:The embodiments of the present invention include the following advantages:
本发明在局域网内部署有两个协议驱动服务器,分别第一发送协议服务器和第一接收协议驱动服务器,第一发送协议驱动服务器用于发送业务,第一协议驱动服务器用于接收业务,并且第一发送协议服务器和第一接收驱动服务器在进行完发送业务和接收业务后,释放与发送方的连接,从而实现了对多个业务同时处理的同时,还避免了收发数据的阻塞。In the present invention, two protocol driving servers are deployed in the local area network, respectively a first sending protocol server and a first receiving protocol driving server, the first sending protocol driving server is used for sending services, the first protocol driving server is used for receiving services, and the first protocol driving server is used for receiving services. The first sending protocol server and the first receiving driver server release the connection with the sender after the sending service and the receiving service are completed, thereby realizing the simultaneous processing of multiple services and avoiding the blocking of sending and receiving data.
附图说明Description of drawings
图1是本发明的一种业务处理方法的流程图;Fig. 1 is the flow chart of a kind of business processing method of the present invention;
图2是本发明的一种业务处理方法的流程图;Fig. 2 is the flow chart of a kind of business processing method of the present invention;
图3是本发明的一种业务处理的应用实例;Fig. 3 is an application example of a kind of business processing of the present invention;
图4是本发明的一种第一域名服务器的结构框图;4 is a structural block diagram of a first domain name server of the present invention;
图5是本发明一种业务处理系统的结构框图。FIG. 5 is a structural block diagram of a service processing system of the present invention.
具体实施方式Detailed ways
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more clearly understood, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
本发明的业务处理方法主要用于实现不同局域网中的两个终端之间的通信,本发明采用的核心思想是:在局域网内部署有两个协议驱动服务器,分别是第一发送协议服务器和第一接收协议驱动服务器,第一发送协议驱动服务器用于发送业务,第一接收协议驱动服务器用于接收业务,并且第一发送协议服务器和第一接收驱动服务器在进行完发送业务和接收业务后,释放与发送方的连接,从而实现了对多个业务同时处理的同时,还避免了收发数据的阻塞。The service processing method of the present invention is mainly used to realize the communication between two terminals in different local area networks. The core idea adopted by the present invention is: deploying two protocol driving servers in the local area network, which are the first sending protocol server and the second protocol driver server respectively. a receiving protocol driving server, the first sending protocol driving server is used for sending the service, the first receiving protocol driving server is used for receiving the service, and after the first sending protocol server and the first receiving driving server complete the sending and receiving services, Release the connection with the sender, thereby realizing the simultaneous processing of multiple services and avoiding the blocking of sending and receiving data.
参照图1示出了本发明实施例的一种业务处理方法的流程图,该方法应用于视联网的第一局域网,所述第一局域网包括:第一域名服务器、发送方、第一发送协议驱动服务器和第一接收协议驱动服务器,所述方法具体包括如下步骤:Referring to FIG. 1, a flowchart of a service processing method according to an embodiment of the present invention is shown. The method is applied to a first local area network of the Internet of Views, where the first local area network includes: a first domain name server, a sender, a first sending protocol A driver server and a first receiving protocol driver server, the method specifically includes the following steps:
步骤101:所述第一域名服务器接收所述发送方发送的请求。Step 101: The first domain name server receives the request sent by the sender.
在实际应用中,第一域名服务器在接收发送方发送的请求之前,发送方可以预先通过第一域名服务器获得第一域名服务器给发送方分配的第一视联网号码以及第一域名服务器的端口,然后在向第一域名服务器发送http请求。In practical applications, before the first domain name server receives the request sent by the sender, the sender can obtain the first video network number and the port of the first domain name server allocated by the first domain name server to the sender through the first domain name server in advance, Then, an http request is sent to the first domain name server.
其中,发送方可以是任意一种用户终端,包括但不限于手机、平版电脑、PC机、机顶盒、可穿戴设备等等。The sender may be any user terminal, including but not limited to a mobile phone, a tablet computer, a PC, a set-top box, a wearable device, and the like.
所述第一域名服务器接收所述发送方发送的请求的步骤之前,还包括:Before the step of receiving the request sent by the sender, the first domain name server further includes:
所述第一域名服务器向所述发送方分配第一视联网号码。The first domain name server allocates a first video network number to the sender.
向所述第一发送协议驱动服务器分配第二视联网号码。Allocate a second video network number to the first sending protocol driving server.
向所述第一接收协议驱动服务器分配第三视联网号码。Allocate a third video network number to the first receiving protocol driving server.
进一步,在第一域名服务器分配完视联网号码之后,所述第一域名服务器存储所述发送方的地址信息与所述第一视联网号码的对应关系。Further, after the first domain name server completes allocating the video network number, the first domain name server stores the correspondence between the address information of the sender and the first video network number.
建立所述对应关系与所述第三视联网号码的映射关系。A mapping relationship between the corresponding relationship and the third-view Internet number is established.
所述第一域名服务器将所述映射关系发送至所述第一局域网中的所述第一接收协议驱动服务器。The first domain name server sends the mapping relationship to the first receiving protocol driver server in the first local area network.
步骤102:所述第一域名服务器将所述请求转发至所述第一发送协议驱动服务器。Step 102: The first domain name server forwards the request to the first sending protocol driver server.
协议驱动服务器vvoe主要功能是处理由http协议转换为互联网协议同时也负责由视联网协议转换至互联网协议等操作,通过协议驱动服务器可以实现视联网内的透传的服务器,也就是说,通过协议驱动服务器可以实现一个局域网内的终端访问另一个局域网内的终端。The main function of the protocol-driven server vvoe is to process the conversion from the http protocol to the Internet protocol, and it is also responsible for the conversion from the Internet protocol to the Internet protocol. The driver server can implement a terminal in one local area network to access a terminal in another local area network.
第一域名服务器会预先配置vvoe的功能,一个vvoe用于发送服务,另一个vvoe用于接收服务2。The first domain name server will pre-configure the function of vvoe, one vvoe is used to send service, and the other vvoe is used to receive
第一域名服务器在将请求转发至第一发送协议驱动器之前,会对请求进行判断,判断该请求是发送请求还是接收请求,若所述请求为发送请求,则将所述请求转发至第一发送协议驱动服务器进行处理。若所述请求为接收请求,则将所述请求转发至第一接收协议驱动服务器进行处理。Before forwarding the request to the first sending protocol driver, the first domain name server will judge the request to determine whether the request is a sending request or a receiving request, and if the request is a sending request, it will forward the request to the first sending request. The protocol drives the server for processing. If the request is a receiving request, the request is forwarded to the first receiving protocol driver server for processing.
步骤103:释放所述第一发送协议驱动服务器与所述发送方的连接。Step 103: Release the connection between the first sending protocol driver server and the sender.
在所述第一发送协议驱动服务器通过视联网协议将所述请求发送至第二局域网中的第二接收协议驱动服务器之后,第一域名服务器会释放与第一发送协议驱动服务器的连接,这样可以避免业务的过程中需要始终保持与终端的连接,从而避免数据阻塞。After the first sending protocol driving server sends the request to the second receiving protocol driving server in the second local area network through the Internet of View protocol, the first domain name server will release the connection with the first sending protocol driving server, so that the In the process of avoiding business, it is necessary to keep the connection with the terminal all the time, so as to avoid data blocking.
在实际应用中,第一发送协议驱动服务器会开启一个队列,在队列为空时,判断本次任务结束,释放连接。In practical applications, the first sending protocol drives the server to open a queue, and when the queue is empty, it is judged that this task is over and the connection is released.
步骤104:接收第一接收协议驱动服务器基于所述发送请求返回的响应数据包。Step 104: Receive a response data packet returned by the first receiving protocol driver server based on the sending request.
其中,所述响应数据包是由所述第二局域网中的第二发送协议驱动服务器通过视联网协议发送至所述第一接收协议驱动服务器的。Wherein, the response data packet is sent by the second sending protocol driving server in the second local area network to the first receiving protocol driving server through the Internet of View protocol.
第一发送协议驱动服务器将请求发送至第二接收协议服务器,第二接收协议服务器将该请求转发至第二域名服务器,第二域名服务器将请求发送给第二局域网的接收方,第二域名服务器接收到接收方返回的响应数据之后,第二域名服务器将返回的响应数据转发至第二发送协议驱动服务器,第二发送协议驱动服务器将返回的响应数据包发送至第一接收协议驱动服务器。The first sending protocol driving server sends the request to the second receiving protocol server, the second receiving protocol server forwards the request to the second domain name server, the second domain name server sends the request to the receiver of the second local area network, and the second domain name server After receiving the response data returned by the receiver, the second domain name server forwards the returned response data to the second sending protocol driver server, and the second sending protocol driver server sends the returned response data packet to the first receiving protocol driver server.
第一接收协议驱动服务器解析所述响应数据包,获得待处理的接收方视联网号码以及接收方地址信息。将所述待处理的接收方视联网号码以及接收方地址信息与所述第一域名服务器中存储的对应关系进行匹配;若匹配成功,则根据所述映射关系将所述响应数据包发送至第一域名服务器,第一域名服务器将响应数据转发至发送方。The first receiving protocol drives the server to parse the response data packet to obtain the receiver's video network number and the receiver's address information to be processed. Match the to-be-processed recipient's internet number and recipient address information with the corresponding relationship stored in the first domain name server; if the matching is successful, send the response data packet to the first domain name server according to the mapping relationship. A domain name server, the first domain name server forwards the response data to the sender.
步骤105:释放所述第一接收协议驱动服务器与所述发送方的连接。Step 105: Release the connection between the first receiving protocol driver server and the sender.
在实际应用中,第一接收协议驱动服务器会开启一个队列,在队列为空时,判断本次任务结束,释放连接,并处理下一个业务。In practical applications, the first receiving protocol-driven server will open a queue, and when the queue is empty, it is determined that the current task is over, the connection is released, and the next service is processed.
在所述第一接收协议驱动服务器通过视联网协议将响应数据包转发至第一域名服务器之后,第一域名服务器会释放与第一接收协议驱动服务器的连接,这样可以避免业务的过程中需要始终保持与终端的连接,从而避免数据阻塞。After the first receiving protocol driving server forwards the response data packet to the first domain name server through the Internet of View protocol, the first domain name server will release the connection with the first receiving protocol driving server, which can avoid the need to always Stay connected to the terminal to avoid data blocking.
本发明实施例,在局域网内部署有两个协议驱动服务器,分别第一发送协议服务器和第一接收协议驱动服务器,第一发送协议驱动服务器用于发送业务,第一协议驱动服务器用于接收业务,并且第一发送协议服务器和第一接收驱动服务器在进行完发送业务和接收业务后,释放与第一域名服务器的连接,从而实现了对多个业务同时处理的同时,还避免了收发数据的阻塞。In the embodiment of the present invention, two protocol driving servers are deployed in the local area network, respectively a first sending protocol server and a first receiving protocol driving server, the first sending protocol driving server is used for sending services, and the first protocol driving server is used for receiving services , and the first sending protocol server and the first receiving driver server release the connection with the first domain name server after the sending service and the receiving service are completed, thereby realizing the simultaneous processing of multiple services and avoiding the need to send and receive data. block.
参照图2示出了本发明实施例的一种业务处理方法的流程图,该方法应用于视联网的第一局域网,所述第一局域网包括:第一域名服务器、发送方、第一发送协议驱动服务器和第一接收协议驱动服务器,所述方法具体包括如下步骤:2 shows a flowchart of a service processing method according to an embodiment of the present invention. The method is applied to a first local area network of the Internet of Views, where the first local area network includes: a first domain name server, a sender, a first sending protocol A driver server and a first receiving protocol driver server, the method specifically includes the following steps:
步骤201:所述第一域名服务器接收所述发送方发送的请求。Step 201: The first domain name server receives the request sent by the sender.
步骤202:所述第一域名服务器将所述请求转发至所述第一发送协议驱动服务器,以使所述第一发送协议驱动服务器通过视联网协议将所述请求发送至第二局域网中的第二接收协议驱动服务器。Step 202: The first domain name server forwards the request to the first sending protocol driver server, so that the first sending protocol driver server sends the request to the first sending protocol in the second local area network through the Internet of View protocol. 2. The receiving protocol drives the server.
所述第二局域网包括:第二域名服务器、接收方、第二发送协议驱动服务器和第二接收协议驱动服务器。The second local area network includes: a second domain name server, a receiver, a second sending protocol driving server and a second receiving protocol driving server.
其中,接收方可以是任意一种用户终端,包括但不限于手机、平版电脑、PC机、机顶盒、可穿戴设备、web服务等等。The recipient may be any user terminal, including but not limited to a mobile phone, a tablet computer, a PC, a set-top box, a wearable device, a web service, and the like.
步骤203:释放所述第一发送协议驱动服务器与所述发送方的连接。Step 203: Release the connection between the first sending protocol driver server and the sender.
步骤204:接收第一接收协议驱动服务器基于所述发送请求返回的响应数据包。Step 204: Receive a response data packet returned by the first receiving protocol driver server based on the sending request.
其中,所述响应数据包是由所述第二局域网中的第二发送协议驱动服务器通过视联网协议发送至所述第一接收协议驱动服务器的。Wherein, the response data packet is sent by the second sending protocol driving server in the second local area network to the first receiving protocol driving server through the Internet of View protocol.
所述第二局域网中的第二发送协议驱动服务器通过视联网协议将所述请求返回的响应数据发送至所述第一接收协议驱动服务器。The second sending protocol driving server in the second local area network sends the response data returned by the request to the first receiving protocol driving server through the Internet of View protocol.
第一接收协议驱动服务器解析所述响应数据包,获得待处理的接收方视联网号码以及接收方地址信息。The first receiving protocol drives the server to parse the response data packet to obtain the receiver's video network number and the receiver's address information to be processed.
将所述待处理的接收方视联网号码以及接收方地址信息与所述第一域名服务器中存储的对应关系进行匹配。Matching the to-be-processed recipient's internet number and recipient's address information with the corresponding relationship stored in the first domain name server.
若匹配成功,则通过第一接收协议驱动服务器将所述响应数据包发送至第一域名服务器。If the matching is successful, the drive server sends the response data packet to the first domain name server through the first receiving protocol.
第一域名服务器中记录的是发送方的地址信息与第一视联网号码的对应关系,第一接收协议驱动服务器解析响应数据包中会包含目的终端的地址信息(待处理的接收方的地址信息)以及目的的视联网号码(待处理的接收方的视联网号码),若匹配成功,则根据映射关系可以确定是通过第一接收协议驱动服务器将响应数据包发送至第一域名服务器。What is recorded in the first domain name server is the correspondence between the sender's address information and the first video network number, and the first receiving protocol drives the server to parse the response data packet and include the address information of the destination terminal (address information of the receiver to be processed). ) and the destination VIN number (the VIN number of the receiver to be processed), if the match is successful, then according to the mapping relationship, it can be determined that the first receiving protocol drives the server to send the response data packet to the first domain name server.
步骤205:释放所述第一接收协议驱动服务器与所述发送方的连接。Step 205: Release the connection between the first receiving protocol driver server and the sender.
本发明实施例,第一局域网的第一发送协议驱动服务器将请求发送至第二局域网的第二接收协议驱动服务器,而由第二局域网的第二发送协议驱动器将响应数据发送至第一局域网的第一接收协议驱动服务器,也就是说,通过局域网的发送和接收服务同时并发,从而实现了对多个业务同时处理的同时,还避免了两个局域网之间收发数据的阻塞。In the embodiment of the present invention, the first sending protocol driver server of the first local area network sends the request to the second receiving protocol driver server of the second local area network, and the second sending protocol driver of the second local area network sends the response data to the first local area network. The first receiving protocol drives the server, that is to say, the sending and receiving services through the local area network are concurrent, thereby realizing the simultaneous processing of multiple services and avoiding the blocking of data transmission and reception between the two local area networks.
为了使本领域的技术人员更好的理解本发明的业务处理过程,以图3为例说明本发明的业务处理的实现过程,具体包括:第一局域网和第二局域网。In order to make those skilled in the art better understand the service processing process of the present invention, FIG. 3 is used as an example to illustrate the implementation process of the service processing of the present invention, which specifically includes: a first local area network and a second local area network.
其中,第一局域网包括:终端、域名服务器1、第一发送协议驱动服务器vvoe1和第一接收协议驱动服务器vvoe2,第二局域网包括:web服务、第二发送协议驱动服务器vvoe3、域名服务器2和第二接收协议驱动服务器vvoe4。The first local area network includes: a terminal, a
终端和域名服务器1之间采用的是互联网协议,vvoe2和vvoe1与域名服务器1之间采用的是视联网协议,web服务与域名服务器2之间采用的互联网协议,vvoe3和vvoe4与域名服务器2之间采用的是视联网协议,vvoe3和vvoe4之间采用的是视联网协议,vvoe2和vvoe1之间采用的是视联网协议。The Internet protocol is used between the terminal and the
1、终端通过查询域名服务器1得到域名服务器给终端分配的视联网号码以及域名服务器的端口,并向域名服务器1发送请求。1. The terminal obtains the video network number and the port of the domain name server allocated by the domain name server to the terminal by querying the
在实际应用中,请求中包括:发送方的地址信息、发送方的视联网号码、发送协议驱动服务器的视联网号码、透传信息以及接收协议驱动服务器的视联网号码、接收方地址信息、接收方的视联网号码,在本实例中,发送协议驱动服务器为vvoe1,接收协议驱动服务器为vvoe4In practical applications, the request includes: the sender's address information, the sender's video network number, the video network number of the sending protocol driver server, the transparent transmission information and the video network number of the receiving protocol driver server, the receiver address information, the receiving In this example, the sending protocol driver server is vvoe1, and the receiving protocol driver server is vvoe4
2、域名服务器1将请求转发到vvoe1。2.
3、vvoe1通过视联网协议发送透传信息到vvoe 4。3. vvoe1 sends transparent information to
4、域名服务器2接收到本次请求的透传信息。4. The
5、域名服务器2通过http协议将本次请求的透传信息发送给web服务。5. The
6、域名服务器2收到web服务返回的响应数据。6. The
7、域名服务器2将返回的响应数据转发至vvoe 3。7.
8、vvoe3通过视联网协议该响应数据发送到vvoe2。8. vvoe3 sends the response data to vvoe2 through the video networking protocol.
9、vvoe2将响应数据发送给域名服务器1。9. vvoe2 sends the response data to
10、域名服务器1将响应数据返回给终端。10. The
域名服务器1和域名服务器2的业务大致相同,区别是,web服务在注册到域名服务器2的时候,域名服务器2就会分配端口A和端口B给这个web服务,所以指向该服务器的请求都会通过这个端口发或收http协议。The services of
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the sake of simple description, the method embodiments are described as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the described action sequences, because According to embodiments of the present invention, certain steps may be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
基于上述方法实施例的说明,本申请还提供了相应的装置实施例,来实现上述方法实施例所述的内容。Based on the description of the foregoing method embodiments, the present application further provides corresponding apparatus embodiments to implement the contents described in the foregoing method embodiments.
参照图4,示出了本发明的一种第一域名服务器的结构框图,应用于视联网,所述第一域名服务器具体包括:Referring to FIG. 4 , there is shown a structural block diagram of a first domain name server of the present invention, which is applied to the Internet of Things. The first domain name server specifically includes:
接收模块401,用于接收所述发送方发送的请求。The receiving module 401 is configured to receive the request sent by the sender.
转发模块402,用于将所述请求转发至第一发送协议驱动服务器。The forwarding module 402 is configured to forward the request to the first sending protocol driver server.
第一释放模块403,用于释放所述第一发送协议驱动服务器与所述发送方的连接。The first release module 403 is configured to release the connection between the first sending protocol driver server and the sending party.
响应模块404,用于接收第一接收协议驱动服务器基于所述发送请求返回的响应数据;A response module 404, configured to receive response data returned by the first receiving protocol driver server based on the sending request;
第二释放模块405,用于释放所述第一接收协议驱动服务器与所述发送方的连接。The second release module 405 is configured to release the connection between the first receiving protocol driver server and the sender.
可选的,第一域名服务器还包括:Optionally, the first domain name server further includes:
分配模块,用于向所述发送方分配第一视联网号码;向所述第一发送协议驱动服务器分配第二视联网号码;向所述第一接收协议驱动服务器分配第三视联网号码。The allocation module is used for allocating a first Internet-of-view number to the sender; allocating a second Internet-of-view number to the first sending protocol driving server; and allocating a third Internet-of-view number to the first receiving protocol driving server.
可选的,所述第一域名服务器,还包括:Optionally, the first domain name server further includes:
判断模块,用于判断所述请求,若所述请求为发送请求,则将所述请求转发至第一发送协议驱动服务器。若所述请求为接收请求,则将所述请求转发至第一接收协议驱动服务器。The judgment module is used for judging the request, and if the request is a sending request, forwarding the request to the first sending protocol driving server. If the request is a receiving request, the request is forwarded to the first receiving protocol driver server.
可选的,所述第一域名服务器还包括:Optionally, the first domain name server further includes:
存储模块,用于存储有发送方的地址信息与所述第一视联网号码的对应关系;a storage module for storing the correspondence between the address information of the sender and the first video network number;
建立模块,用于建立所述对应关系与所述第三视联网号码的映射关系;establishing module, for establishing the mapping relationship between the corresponding relationship and the third-view network number;
发送模块,用于将所述映射关系发送至所述第一局域网中的所述第一接收协议驱动服务器。A sending module, configured to send the mapping relationship to the first receiving protocol driver server in the first local area network.
可选的,所述第一接收协议驱动服务器包括:Optionally, the first receiving protocol driver server includes:
解析模块,用于解析所述响应数据包,获得待处理的接收方视联网号码以及接收方地址信息;a parsing module, used for parsing the response data packet, to obtain the receiver's video network number and the receiver's address information to be processed;
匹配模块,用于将所述待处理的接收方视联网号码以及接收方地址信息与所述存储模块中存储的对应关系进行匹配;a matching module, configured to match the to-be-processed recipient's internet number and the recipient's address information with the corresponding relationship stored in the storage module;
输出模块,用于若所述匹配模块匹配成功,则根据所述映射关系将所述响应数据包发送至第一域名服务器。An output module, configured to send the response data packet to the first domain name server according to the mapping relationship if the matching module succeeds in matching.
本发明实施例,在局域网内部署有两个协议驱动服务器,分别第一发送协议服务器和第一接收协议驱动服务器,第一发送协议驱动服务器用于发送业务,第一协议驱动服务器用于接收业务,并且第一发送协议服务器和第一接收驱动服务器在进行完发送业务和接收业务后,释放与第一域名服务器的连接,从而实现了对多个业务同时处理的同时,还避免了收发数据的阻塞。In the embodiment of the present invention, two protocol driving servers are deployed in the local area network, respectively a first sending protocol server and a first receiving protocol driving server, the first sending protocol driving server is used for sending services, and the first protocol driving server is used for receiving services , and the first sending protocol server and the first receiving driver server release the connection with the first domain name server after the sending service and the receiving service are completed, thereby realizing the simultaneous processing of multiple services and avoiding the need to send and receive data. block.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the apparatus embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for related parts.
本发明实施例还提供了一种业务处理系统,包括:The embodiment of the present invention also provides a service processing system, including:
第一域名服务器501,用于接收发送方发送的请求,并将所述请求转发至第一局域网的第一发送协议驱动服务器;a first domain name server 501, configured to receive a request sent by a sender, and forward the request to a first sending protocol driver server of the first local area network;
第一发送协议驱动服务器502,用于将所述请求发送至第二局域网的第二接收协议驱动服务器;a first sending protocol driver server 502, configured to send the request to a second receiving protocol driver server of the second local area network;
第一接收协议驱动服务器503,用于接收第二局域网的第二发送协议驱动器基于所述请求返回的响应数据。The first receiving protocol driver server 503 is configured to receive the response data returned by the second sending protocol driver of the second local area network based on the request.
对于系统实施例而言,由于其与装置实施例基本相似,所以描述的比较简单,相关之处参见装置实施例的部分说明即可。As for the system embodiment, since it is basically similar to the device embodiment, the description is relatively simple, and reference may be made to the partial description of the device embodiment for related parts.
本发明实施例还提供了一种电子设备,包括:The embodiment of the present invention also provides an electronic device, including:
一个或多个处理器;和one or more processors; and
其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述电子设备执行所述的一种业务处理方法。One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the electronic device to perform a business processing method as described.
本发明实施例还提供了一种计算机可读存储介质,其存储的计算机程序使得处理器执行所述的一种业务处理方法。The embodiment of the present invention also provides a computer-readable storage medium, and the computer program stored in the storage medium enables the processor to execute the service processing method.
可选地,计算机可读存储介质可以是非临时性计算机可读存储介质,例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。Alternatively, the computer-readable storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk and optical data storage devices, etc.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the apparatus embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for related parts.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments may be referred to each other.
本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It should be understood by those skilled in the art that the embodiments of the embodiments of the present invention may be provided as a method, an apparatus, or a computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, CD-ROM, optical storage, and the like.
本发明实施例是参照根据本发明实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present invention are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal equipment to produce a machine that causes the instructions to be executed by the processor of the computer or other programmable data processing terminal equipment Means are created for implementing the functions specified in the flow or flows of the flowcharts and/or the blocks or blocks of the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal equipment to operate in a particular manner, such that the instructions stored in the computer readable memory result in an article of manufacture comprising instruction means, the The instruction means implement the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing terminal equipment, so that a series of operational steps are performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby executing on the computer or other programmable terminal equipment The instructions executed on the above provide steps for implementing the functions specified in the flowchart or blocks and/or the block or blocks of the block diagrams.
尽管已描述了本发明实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明实施例范围的所有变更和修改。While preferred embodiments of the embodiments of the present invention have been described, additional changes and modifications to these embodiments may be made by those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications that fall within the scope of the embodiments of the present invention.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should also be noted that in this document, relational terms such as first and second are used only to distinguish one entity or operation from another, and do not necessarily require or imply these entities or that there is any such actual relationship or sequence between operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion such that a process, method, article or terminal device that includes a list of elements includes not only those elements, but also a non-exclusive list of elements. other elements, or also include elements inherent to such a process, method, article or terminal equipment. Without further limitation, an element defined by the phrase "comprises a..." does not preclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.
以上对本发明所提供的一种业务处理方法、系统、域名服务器,电子设备以及介质,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A business processing method, system, domain name server, electronic device and medium provided by the present invention have been described above in detail. In this paper, specific examples are used to illustrate the principles and implementations of the present invention. It is only used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific embodiments and application scope. In summary, The contents of this specification should not be construed as limiting the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010457009.0ACN111835822B (en) | 2020-05-26 | 2020-05-26 | A business processing method, system, domain name server, electronic equipment and media |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010457009.0ACN111835822B (en) | 2020-05-26 | 2020-05-26 | A business processing method, system, domain name server, electronic equipment and media |
| Publication Number | Publication Date |
|---|---|
| CN111835822Atrue CN111835822A (en) | 2020-10-27 |
| CN111835822B CN111835822B (en) | 2024-03-19 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010457009.0AActiveCN111835822B (en) | 2020-05-26 | 2020-05-26 | A business processing method, system, domain name server, electronic equipment and media |
| Country | Link |
|---|---|
| CN (1) | CN111835822B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1764157A (en)* | 2004-10-19 | 2006-04-26 | 株式会社东芝 | Communication devices and methods |
| US7882268B1 (en)* | 2007-02-01 | 2011-02-01 | Google Inc. | UDP transport for web services |
| CN111092863A (en)* | 2019-11-29 | 2020-05-01 | 视联动力信息技术股份有限公司 | Method, client, server, device and medium for accessing internet website |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1764157A (en)* | 2004-10-19 | 2006-04-26 | 株式会社东芝 | Communication devices and methods |
| US7882268B1 (en)* | 2007-02-01 | 2011-02-01 | Google Inc. | UDP transport for web services |
| CN111092863A (en)* | 2019-11-29 | 2020-05-01 | 视联动力信息技术股份有限公司 | Method, client, server, device and medium for accessing internet website |
| Publication number | Publication date |
|---|---|
| CN111835822B (en) | 2024-03-19 |
| Publication | Publication Date | Title |
|---|---|---|
| CN103188260B (en) | Use method and the gateway of IP-based real-time performance CCN in gateway | |
| WO2019007166A1 (en) | Method and apparatus for determining identification information about cross-domain path, and storage medium | |
| WO2018113373A1 (en) | Data transmission method and device | |
| US20130111053A1 (en) | Method and proxy for transporting ip payloads over a delay-tolerant network (dtn) | |
| CN115002016B (en) | Message processing system, method, device and storage medium | |
| CN104683121A (en) | A method and device for initiating a network conference | |
| CN110191066A (en) | A kind of method, equipment and the system of determining maximum transmission unit PMTU | |
| EP3424188A1 (en) | Transport session state protocol | |
| CN105099952A (en) | Method and device for allocating resources | |
| CN112751812A (en) | Method and device for self-adapting application protocol | |
| CN110417905B (en) | A contract publishing method, device, equipment and alliance chain system | |
| CN108880875A (en) | The transmission method and device of log message | |
| WO2022268137A1 (en) | Tcp connection method, system, network device, and storage medium | |
| CN105656769B (en) | Business data processing method, device and system | |
| WO2012122832A1 (en) | Hot backup method and apparatus for network address translation entry | |
| CN111835822A (en) | A business processing method, system, domain name server, electronic device and medium | |
| US7835345B2 (en) | Page-mode messaging | |
| CN104618517B (en) | A kind of method, system and device of PUSH message | |
| CN117395195A (en) | Communication method, device, equipment and storage medium | |
| CN111212253B (en) | Monitoring processing method and device in video conference, electronic equipment and storage medium | |
| WO2015096058A1 (en) | Data packet processing method and device | |
| CN105471758B (en) | A marking method, device and system based on network congestion | |
| CN114416398A (en) | A method and device for cross-application communication | |
| CN104243522B (en) | Method and wideband network gateway for HTTP network | |
| US20080281976A1 (en) | Method to receive udp response messages across multiple incoming udp ports |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address | Address after:33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013 Patentee after:VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region after:China Address before:100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113 Patentee before:VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region before:China | |
| CP03 | Change of name, title or address |