CN111405046B - Authorization method for batch equipment - Google Patents

Authorization method for batch equipment Download PDF

Info

Publication number
CN111405046B
CN111405046B CN202010193487.5A CN202010193487A CN111405046B CN 111405046 B CN111405046 B CN 111405046B CN 202010193487 A CN202010193487 A CN 202010193487A CN 111405046 B CN111405046 B CN 111405046B
Authority
CN
China
Prior art keywords
queue
udp
request
streaming data
forwarding
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.)
Active
Application number
CN202010193487.5A
Other languages
Chinese (zh)
Other versions
CN111405046A (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.)
Guizhou Yunda Technology Co ltd
Original Assignee
Haoyun Technologies 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 Haoyun Technologies Co Ltd filed Critical Haoyun Technologies Co Ltd
Priority to CN202010193487.5A priority Critical patent/CN111405046B/en
Publication of CN111405046A publication Critical patent/CN111405046A/en
Application granted granted Critical
Publication of CN111405046B publication Critical patent/CN111405046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the disclosure provides an authorization method for batch equipment, which is used for solving the problems that a terminal in the field of security and protection of the Internet of things and door control equipment are directly communicated at present, and high concurrency request risk exists and normal operation of a door control system is affected, and the method comprises the following steps: monitoring and receiving a plurality of UDP requests initiated by a plurality of clients; caching a plurality of UDP requests to a first queue; forwarding a plurality of UDP requests of the first queue to gating equipment corresponding to the requests respectively; receiving streaming data responded by each door control device; caching the streaming data to a second queue; and respectively forwarding the multiple groups of streaming data of the second queue to clients corresponding to the groups of streaming data.

Description

Authorization method for batch equipment
Technical Field
The disclosure relates to the technical field of internet of things, in particular to an authorization method and device for batch equipment, a readable storage medium, a computing device and a gating management system.
Background
With the deep development of the internet of things technology, security equipment gradually goes to networking and intellectualization. Currently, door control devices have been provided with remote communication capabilities with clients, and people can remotely control the door control device, collect information, transmit video images, and the like using client software. One typical application scenario is to use the user datagram protocol (User Datagram Protocol, UDP) protocol to complete the communication of a client with a gating device.
However, all clients interact directly with the gating device through the UDP protocol, so the point-to-point manner is not conducive to unified management, and high concurrent access may occur to affect the normal operation of the system.
Disclosure of Invention
To this end, the present disclosure provides a method, apparatus, readable storage medium, computing device, and a gating management system for authorizing a batch of devices in an effort to solve or at least alleviate at least one of the problems presented above.
According to one aspect of the disclosed embodiments, there is provided a method for authorizing a batch device, including:
monitoring and receiving a plurality of UDP requests initiated by a plurality of clients;
caching the plurality of UDP requests to a first queue;
forwarding the UDP requests of the first queue to the gating equipment corresponding to the requests respectively;
receiving streaming data responded by each door control device;
caching the streaming data to a second queue;
and respectively forwarding the multiple groups of streaming data of the second queue to clients corresponding to the groups of streaming data.
Optionally, forwarding the plurality of UDP requests of the first queue to a gating device corresponding to each request, includes:
and selecting an idle first UDP service from a first UDP service pool for the currently processed UDP request of the first queue, and forwarding the currently processed UDP request of the first queue to a gating device corresponding to the request by using the first UDP service.
Optionally, before forwarding the plurality of UDP requests of the first queue to the gating device corresponding to each request, the method further includes:
load information of door control equipment is obtained;
for the UDP request of the first queue which is currently processed, if the request is determined to be directed to the gating equipment with the load exceeding the preset threshold value, caching the UDP request of the first queue which is currently processed to a third queue;
and restoring the UDP request of the third queue to the first queue when the load of the gating equipment corresponding to the UDP request of the third queue is detected to be lower than a preset threshold value.
Optionally, the load information includes at least one of the following information:
transmission bandwidth, number of concurrent connections, and task processing status.
Optionally, forwarding the multiple sets of streaming data in the second queue to clients corresponding to the sets of streaming data respectively includes:
and selecting an idle second UDP service from a second UDP service pool for the streaming data of the second queue which is currently processed, and forwarding the streaming data of the second queue which is currently processed to a client corresponding to the streaming data by using the second UDP service.
Optionally, the method further comprises:
and saving a communication log of the client and the gating equipment.
According to another aspect of the present disclosure, there is provided an authorizing apparatus of a batch device, comprising:
the request receiving module is used for monitoring and receiving a plurality of UDP requests initiated by a plurality of clients; caching the plurality of UDP requests to a first queue;
the request processing module is used for respectively forwarding the plurality of UDP requests of the first queue to the gating equipment corresponding to each request;
the response data receiving module is used for receiving the streaming data responded by each door control device; caching the streaming data to a second queue;
and the response data processing module is used for respectively forwarding the multiple groups of streaming data of the second queue to the client corresponding to each group of streaming data.
According to yet another aspect of the present disclosure, there is provided a readable storage medium having executable instructions thereon that, when executed, cause a computer to perform operations comprised by an authorization method for a batch device as described above.
According to yet another aspect of the present disclosure, there is provided a computing device comprising:
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to perform operations included in the above-described method of authorizing a batch device.
According to yet another aspect of the present disclosure, there is provided a gating management system including:
a plurality of clients, a plurality of door control devices and at least one of the above-described mass device authorization means.
According to the technical scheme provided by the disclosure, a plurality of UDP requests initiated by a plurality of clients are monitored and received, the plurality of UDP requests are cached to a first queue, the plurality of UDP requests of the first queue are respectively forwarded to corresponding gating devices of the requests, and streaming data responded by the gating devices are received; caching the streaming data into a second queue, and respectively forwarding multiple groups of streaming data of the second queue to clients corresponding to the groups of streaming data; the agent service is established between the client and the gating equipment, the data interaction between the client and the gating equipment is uniformly managed, the system safety is improved, and the data flow is managed by using the cache queue, so that the possibility of high concurrency request is reduced, and the stability of system operation is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the disclosure and together with the description serve to explain the principles of the disclosure.
FIG. 1 is a block diagram of an exemplary computing device;
FIG. 2 is a flow chart of a method of authorizing a batch device according to an embodiment of the disclosure;
FIG. 3 is a flow chart of a method of authorizing a batch device according to another embodiment of the disclosure;
FIG. 4 is a flow chart of a method of authorizing a batch device according to yet another embodiment of the disclosure;
FIG. 5 is a process schematic of a client communicating with a door control device according to an embodiment of the present disclosure;
FIG. 6 is a process schematic of a client communicating with a door control device according to yet another embodiment of the present disclosure;
FIG. 7 is a schematic block diagram of an authorization device of a batch apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a gating system according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
FIG. 1 is a block diagram of an example computing device 100 arranged to implement an authorization method for a batch device in accordance with the present disclosure. In a basic configuration 102, computing device 100 typically includes a system memory 106 and one or more processors 104. The memory bus 108 may be used for communication between the processor 104 and the system memory 106.
Depending on the desired configuration, the processor 104 may be any type of processing including, but not limited to: processor 104 may include one or more levels of caches, such as a first level cache 110 and a second level cache 112, a processor core 114, and registers 116 the example processor core 114 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof the example memory controller 118 may be used with processor 104, or in some implementations, memory controller 118 may be an internal portion of processor 104.
Depending on the desired configuration, system memory 106 may be any type of memory including, but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. The system memory 106 may include an operating system 120, one or more programs 122, and program data 124. In some implementations, the program 122 may be configured to execute instructions on an operating system by the one or more processors 104 using the program data 124.
Computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to basic configuration 102 via bus/interface controller 130. The example output device 142 includes a graphics processing unit 148 and an audio processing unit 150. They may be configured to facilitate communication with various external devices, such as a display terminal or speakers, via one or more a/V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 158. An example communication device 146 may include a network controller 160, which may be arranged to facilitate communication with one or more other computing devices 162 via one or more communication ports 164 over a network communication link.
The network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media in a modulated data signal, such as a carrier wave or other transport mechanism. A "modulated data signal" may be a signal that has one or more of its data set or changed in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or special purpose network, and wireless media such as acoustic, radio Frequency (RF), microwave, infrared (IR) or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
Computing device 100 may be implemented as a personal computer including desktop and notebook computer configurations, as well as in the form of a device such as a cabinet server, a blade server, or the like.
Wherein the one or more programs 122 of the computing device 100 include instructions for performing an authorization method for a batch device according to the present disclosure.
Fig. 2 illustrates a flow chart of an authorization method 200 for a batch device, according to one embodiment of the present disclosure, the authorization method 200 for a batch device begins at step S210.
S210, monitoring and receiving a plurality of UDP requests initiated by a plurality of clients;
s220, caching a plurality of UDP requests to a first queue;
s230, respectively forwarding a plurality of UDP requests of the first queue to the gate control equipment corresponding to each request;
s240, receiving streaming data responded by each door control device;
s250, caching the streaming data to a second queue;
and S260, respectively forwarding the multiple groups of streaming data of the second queue to the clients corresponding to the groups of streaming data.
According to the embodiment of the disclosure, the UDP proxy gateway service is established, the UDP request of the client is buffered and then forwarded to the gating device, and the streaming data responded by the gating device is buffered and then forwarded to the client, so that unified management and scheduling of access of the gating device are realized, and meanwhile, the probability of high concurrent access of a single gating device is reduced.
Fig. 3 illustrates a flow chart of an authorization method 300 for a batch device according to yet another embodiment of the present disclosure, the authorization method 300 for a batch device begins at step S310.
S310, monitoring and receiving a plurality of UDP requests initiated by a plurality of clients;
s320, caching a plurality of UDP requests to a first queue;
s330, selecting an idle first UDP service from a first UDP service pool for the UDP request of the first queue which is currently processed, and forwarding the UDP request of the first queue which is currently processed to a gating device corresponding to the request by using the idle first UDP service;
s340, receiving streaming data responded by each door control device;
s350, caching the streaming data to a second queue;
s360, selecting an idle second UDP service from the second UDP service pool for the streaming data of the second queue which is currently processed, and forwarding the streaming data of the second queue which is currently processed to a client corresponding to the streaming data by using the idle second UDP service.
According to the embodiment of the disclosure, the first UDP service pool and the second UDP service pool are respectively established and used for forwarding UDP request data and response data of the gating device according to the queue sequence, so that the data forwarding efficiency can be improved. The first UDP service pool and the second UDP service pool may include a plurality of different physical devices, or may include different service processes in the same device.
Fig. 4 illustrates a flowchart of an authorization method 400 for a batch device according to yet another embodiment of the present disclosure, the authorization method 400 for a batch device beginning at step S410.
S410, monitoring and receiving a plurality of UDP requests initiated by a plurality of clients;
s420, caching a plurality of UDP requests to a first queue;
s430, acquiring load information of the door control equipment;
s440, if the UDP request of the first queue which is processed currently is determined to be directed to the gating device with the load exceeding the preset threshold, caching the UDP request of the first queue which is processed currently to a third queue;
s450, detecting that the load of the gate control equipment corresponding to the UDP request of the third queue is lower than a preset threshold, and restoring the UDP request of the third queue to the first queue;
s460, selecting an idle first UDP service from a first UDP service pool for the UDP request of the first queue which is currently processed, and forwarding the UDP request of the first queue which is currently processed to a gating device corresponding to the request by using the idle first UDP service;
s470, receiving streaming data responded by each door control device;
s480, caching the streaming data to a second queue;
s490, selecting an idle second UDP service from the second UDP service pool for the streaming data of the second queue which is currently processed, and forwarding the streaming data of the second queue which is currently processed to the client corresponding to the streaming data by using the idle second UDP service.
According to the embodiment of the disclosure, the UDP requests of the door control equipment with the load exceeding the preset threshold value are cached, so that the condition that the same door control equipment is accessed in a high concurrency mode can be avoided, and the running stability of the system is improved.
Alternatively, the load condition of the door control apparatus may be determined by one or more of the following: transmission bandwidth, number of concurrent connections, and task processing status. The transmission bandwidth of the gating device, or the number of concurrent connections, or the task processing state can be determined by monitoring the streaming data forwarding condition. For example, when the gating device supports concurrent access, counting transmission bandwidths of the gating device and the local, and when the transmission bandwidth reaches a preset first threshold, caching a new UDP request pointing to the gating device; for another example, when the gating device supports concurrent access, counting the number of connections between the gating device and the local, and when the number of connections reaches a preset second threshold, buffering a new UDP request directed to the gating device; for another example, when the gating device only supports a single transmission task, it is determined whether the current gating device is in a task processing state, if so, a new UDP request directed to the gating device is cached, otherwise, the new UDP request is sent to the gating device.
According to a further embodiment of the present disclosure, the communication log of the client and the door control device is locally saved, so that traceability of remote control data of the door control device is achieved.
Fig. 5 is a process diagram of a client communicating with a gating device, a communication body including the client, a UDP proxy gateway, and the gating device, according to an embodiment of the present disclosure. In the figure, < < uses > > represents a service call.
Specifically, a plurality of service programs are operated in the UDP proxy gateway, wherein the UDP monitoring service is used for monitoring the UDP request of the user, and when a new UDP request is monitored, the service of the cache client request caches the client request. And then, the UDP service 1 is called to interact data with the door control equipment, and after the data responded by the door control equipment is received, the service for caching the data responded by the door control equipment caches the data responded by the door control equipment. Finally, the UDP service 2 calls the cached response data and sends the response data to the client.
Fig. 6 is a schematic diagram of a process in which a client communicates with a gating device according to still another embodiment of the present disclosure, and a communication body includes a plurality of clients (A1 to AN), UDP proxy gateways (gateway running proxy listening service B, proxy clients C1 to CN, and proxy clients E1 to EN), and gating devices E (E1 to EN).
The specific implementation process is as follows: a1 sends UDP request to UDP proxy gateway, the source IP of request data packet is IP of A1, the target IP is IP of gating equipment E1, request data packet also includes request instruction "A"; b, monitoring the request of A1, and caching the request to a UDP gateway proxy request queue; after detecting that data exists in a UDP gateway proxy request queue, distributing a request forwarded from Cx to E, wherein the source IP of a request data packet is the IP of Cx, the target IP is the IP of gating equipment E1, and the request data packet also comprises a request instruction A; and then, the Cx receives the streaming data fed back by the gating equipment E1, the source IP of the streaming data is the IP of E1, the target IP is the IP of the Cx, and the Cx receives the streaming data responded by the gating equipment E1 and caches the streaming data to the UDP gateway proxy response queue. After detecting that the UDP gateway proxy response queue has data, distributing Dx to forward the streaming data to A, wherein the source IP of the data packet of the streaming data is the IP of Dx, and the target IP is the IP of A1.
Referring to fig. 7, an authorization apparatus for a batch device provided by the present disclosure includes:
a request receiving module 710, configured to monitor and receive a plurality of UDP requests initiated by a plurality of clients; caching the plurality of UDP requests to a first queue;
a request processing module 720, configured to forward the multiple UDP requests of the first queue to a gating device corresponding to each request, respectively;
a response data receiving module 730, configured to receive streaming data responded by each gating device; caching the streaming data to a second queue;
and the response data processing module 740 is configured to forward the multiple groups of streaming data in the second queue to clients corresponding to the groups of streaming data respectively.
For specific limitations of the authorization means of the batch device, reference may be made to the above limitation of the authorization method of the batch device, which is not repeated here.
Referring to fig. 8, the present disclosure provides a gating system for a bank, comprising: the system comprises a monitoring center, a network node and a branch deployment client, wherein the network node deploys a plurality of internet traffic (IoT) hosts, namely door control equipment, and UDP NAT service equipment of the monitoring center is an authorization device of the batch equipment and is used for carrying out unified scheduling management on UDP requests sent to the door control equipment and streaming data responded by the door control equipment.
It should be understood that the various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present disclosure, or certain aspects or portions of the methods and apparatus of the present disclosure, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the disclosure.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to perform the various methods of the present disclosure according to instructions in the program code stored in the memory.
By way of example, and not limitation, computer readable media comprise computer storage media and communication media. Computer-readable media include computer storage media and communication media. Computer storage media stores information such as computer readable instructions, data structures, program modules, or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of computer readable media.
It should be appreciated that in the foregoing description of exemplary embodiments of the disclosure, various features of the disclosure are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various disclosed aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed disclosure requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this disclosure.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into a plurality of sub-modules.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the disclosure and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Furthermore, some of the embodiments are described herein as methods or combinations of method elements that may be implemented by a processor of a computer system or by other means of performing the functions. Thus, a processor with the necessary instructions for implementing the described method or method element forms a means for implementing the method or method element. Furthermore, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is for performing functions performed by elements for purposes of this disclosure.
As used herein, unless otherwise specified the use of the ordinal terms "first," "second," "third," etc., to describe a general object merely denote different instances of like objects, and are not intended to imply that the objects so described must have a given order, either temporally, spatially, in ranking, or in any other manner.
While the disclosure has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above disclosure, will appreciate that other embodiments are contemplated within the scope of the disclosure as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the disclosed subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The disclosure of the present disclosure is illustrative, but not limiting, of the scope of the disclosure, which is defined by the appended claims.

Claims (5)

1. A method of authorizing a batch of devices, comprising:
monitoring and receiving a plurality of user datagram protocol UDP requests initiated by a plurality of clients;
caching the plurality of UDP requests to a first queue;
forwarding the UDP requests of the first queue to the gating equipment corresponding to the requests respectively;
receiving streaming data responded by each door control device;
caching the streaming data to a second queue;
respectively forwarding a plurality of groups of streaming data of the second queue to clients corresponding to the groups of streaming data;
forwarding the plurality of UDP requests of the first queue to a gating device corresponding to each request, respectively, including:
selecting an idle first UDP service from a first UDP service pool for the UDP request of the first queue which is currently processed, and forwarding the UDP request of the first queue which is currently processed to a gating device corresponding to the request by using the first UDP service;
before forwarding the plurality of UDP requests of the first queue to the gating device corresponding to each request, the method further includes:
load information of door control equipment is obtained;
for the UDP request of the first queue which is currently processed, if the request is determined to be directed to the gating equipment with the load exceeding the preset threshold value, caching the UDP request of the first queue which is currently processed to a third queue;
when the load of the gate control equipment corresponding to the UDP request of the third queue is detected to be lower than a preset threshold, restoring the UDP request of the third queue to the first queue;
the load information at least comprises one of the following information:
transmission bandwidth, number of concurrent connections, and task processing status;
forwarding the multiple groups of streaming data of the second queue to clients corresponding to the groups of streaming data respectively, wherein the forwarding comprises the following steps:
selecting an idle second UDP service from a second UDP service pool for the streaming data of the second queue which is currently processed, and forwarding the streaming data of the second queue which is currently processed to a client corresponding to the streaming data by using the second UDP service;
and saving a communication log of the client and the gating equipment.
2. An authorization apparatus for a batch device, comprising:
the request receiving module is used for monitoring and receiving a plurality of UDP requests initiated by a plurality of clients; caching the plurality of UDP requests to a first queue;
the request processing module is configured to forward the multiple UDP requests of the first queue to gating devices corresponding to the respective requests, and forward the multiple UDP requests of the first queue to gating devices corresponding to the respective requests, where the request processing module includes:
selecting an idle first UDP service from a first UDP service pool for the UDP request of the first queue which is currently processed, and forwarding the UDP request of the first queue which is currently processed to a gating device corresponding to the request by using the first UDP service;
before forwarding the plurality of UDP requests of the first queue to the gating device corresponding to each request, the method further includes:
load information of door control equipment is obtained;
for the UDP request of the first queue which is currently processed, if the request is determined to be directed to the gating equipment with the load exceeding the preset threshold value, caching the UDP request of the first queue which is currently processed to a third queue;
when the load of the gate control equipment corresponding to the UDP request of the third queue is detected to be lower than a preset threshold, restoring the UDP request of the third queue to the first queue;
the load information at least comprises one of the following information:
transmission bandwidth, number of concurrent connections, and task processing status;
the response data receiving module is used for receiving the streaming data responded by each door control device; caching the streaming data to a second queue;
the response data processing module is used for respectively forwarding the multiple groups of streaming data of the second queue to the client corresponding to each group of streaming data;
forwarding the multiple groups of streaming data of the second queue to clients corresponding to the groups of streaming data respectively, wherein the forwarding comprises the following steps:
selecting an idle second UDP service from a second UDP service pool for the streaming data of the second queue which is currently processed, and forwarding the streaming data of the second queue which is currently processed to a client corresponding to the streaming data by using the second UDP service;
and saving a communication log of the client and the gating equipment.
3. A readable storage medium having stored thereon executable instructions which, when executed by a computer, cause the computer to perform the method steps as claimed in claim 1.
4. A computing device, comprising:
one or more processors;
a memory; and one or more programs stored in the memory, wherein the one or more programs are configured to perform the method steps of claim 1 by the one or more processors.
5. A gating management system, comprising: a plurality of clients, a plurality of door control devices, and at least one apparatus as recited in claim 2.
CN202010193487.5A 2020-03-18 2020-03-18 Authorization method for batch equipment Active CN111405046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010193487.5A CN111405046B (en) 2020-03-18 2020-03-18 Authorization method for batch equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010193487.5A CN111405046B (en) 2020-03-18 2020-03-18 Authorization method for batch equipment

Publications (2)

Publication Number Publication Date
CN111405046A CN111405046A (en) 2020-07-10
CN111405046B true CN111405046B (en) 2023-06-27

Family

ID=71413511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010193487.5A Active CN111405046B (en) 2020-03-18 2020-03-18 Authorization method for batch equipment

Country Status (1)

Country Link
CN (1) CN111405046B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114885019A (en) * 2022-03-30 2022-08-09 ***通信有限公司研究院 Message service processing method, device, terminal, server and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417879A (en) * 2019-07-18 2019-11-05 北京蜜莱坞网络科技有限公司 A kind of message treatment method, device, equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532823B (en) * 2012-07-04 2018-11-23 中兴通讯股份有限公司 Internet of things information processing method, apparatus and system
CN104635504A (en) * 2015-01-09 2015-05-20 广东瑞德智能科技股份有限公司 IOT (Internet of Things) intelligent household appliance data transmission method and system
CN107229231B (en) * 2017-06-07 2021-03-30 青岛海信移动通信技术股份有限公司 Household equipment management method and device
CN107276224A (en) * 2017-06-29 2017-10-20 北京天泰怡和科技有限公司 Intelligent distribution network communication, control system
CN110149353A (en) * 2018-02-11 2019-08-20 陕西爱尚物联科技有限公司 A kind of Internet of Things network method and its system
CN108833237B (en) * 2018-07-20 2021-01-26 京东方科技集团股份有限公司 Intelligent home gateway and control method thereof
CN109447048B (en) * 2018-12-25 2020-12-25 苏州闪驰数控***集成有限公司 Artificial intelligence early warning system
CN110351270A (en) * 2019-07-05 2019-10-18 深圳市浩科电子有限公司 A kind of method and system improving concurrent data treatment effeciency

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417879A (en) * 2019-07-18 2019-11-05 北京蜜莱坞网络科技有限公司 A kind of message treatment method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111405046A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
US20210349744A1 (en) Network policy implementation with multiple interfaces
CN109274730B (en) Internet of things system, MQTT message transmission optimization method and device
CN108667730B (en) Message forwarding method, device, storage medium and equipment based on load balancing
WO2020151030A1 (en) Method and apparatus for processing data message
US8583806B2 (en) Data sharing method for recursive DNS servers
CN107241254B (en) Network connection device, network system and networking method
CN112333298A (en) Message transmission method and device, computer equipment and storage medium
WO2015106453A1 (en) Service processing method and network device
KR101200906B1 (en) High Performance System and Method for Blocking Harmful Sites Access on the basis of Network
US20150312322A1 (en) Distributed high availability processing methods for service sessions
JP6172546B2 (en) Traffic steering method, device, and system
CN111405046B (en) Authorization method for batch equipment
US9894117B2 (en) File transfers for virtual conferences
US10608889B2 (en) High-level interface to analytics engine
CN113259485A (en) Network proxy method, computing device and readable storage medium
CN114338529B (en) Five-tuple rule matching method and device
US20220053065A1 (en) Tcp (transmission control protocol) fast open for classification acceleration of cache misses in a network processor
US11075911B2 (en) Group-based treatment of network addresses
CN114513500A (en) Method, device and system for batch installation of browser plug-ins and computing device
Ros-Giralt et al. Algorithms and data structures to accelerate network analysis
US11483394B2 (en) Delayed proxy-less network address translation decision based on application payload
US9900372B2 (en) Techniques to detect and react to proxy interference
US11399009B2 (en) Endpoint context agent traversal of network address table
CN114979099B (en) Target service access method, module and system
CN113890789B (en) UDP tunnel traffic shunting method and traffic forwarding method suitable for data center

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240712

Address after: Room B635, Entrepreneurship Building, Jinyang Science and Technology Industrial Park, Guiyang National High tech Industrial Development Zone, Guiyang City, Guizhou Province, 550000

Patentee after: Guizhou Yunda Technology Co.,Ltd.

Country or region after: China

Address before: Room 102, building 22, Tian'an headquarters center, 555 Panyu Avenue North, Donghuan street, Panyu District, Guangzhou, Guangdong 511400

Patentee before: HAOYUN TECHNOLOGIES Co.,Ltd.

Country or region before: China