CN111405046A - Authorization method for batch equipment - Google Patents

Authorization method for batch equipment Download PDF

Info

Publication number
CN111405046A
CN111405046A CN202010193487.5A CN202010193487A CN111405046A CN 111405046 A CN111405046 A CN 111405046A CN 202010193487 A CN202010193487 A CN 202010193487A CN 111405046 A CN111405046 A CN 111405046A
Authority
CN
China
Prior art keywords
queue
udp
requests
streaming data
gate control
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
CN202010193487.5A
Other languages
Chinese (zh)
Other versions
CN111405046B (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.)
Haoyun Technologies 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]

Abstract

The embodiment of the disclosure provides an authorization method for batch devices, which is used for solving the problems that a terminal in the field of security of the Internet of things directly communicates with a gate control device, high concurrent request risks exist and normal operation of a gate control system is influenced, and the method comprises the following steps: monitoring and receiving a plurality of UDP requests initiated by a plurality of clients; buffering a plurality of UDP requests to a first queue; respectively forwarding the plurality of UDP requests of the first queue to gate control equipment corresponding to the requests; receiving streaming data responded by each gating device; caching the streaming data to a second queue; and respectively forwarding the multiple groups of streaming data in the second queue to the client corresponding to the groups of streaming data.

Description

Authorization method for batch equipment
Technical Field
The present disclosure relates to the field of internet of things technology, and in particular, to a method and an apparatus for authorizing batch devices, a readable storage medium, a computing device, and a gate control management system.
Background
With the deep development of the internet of things technology, security equipment gradually becomes networked and intelligent. Currently, the door control device has the capability of remote communication with a client, and people can remotely control the door control device, collect information, transmit video images and the like by using client software. A typical application scenario is to use a User Datagram Protocol (UDP) protocol to complete communication between a client and a gate control device.
However, all clients directly interact with the gate control device through the UDP protocol, so that the point-to-point manner is not favorable for uniform management, and a situation that high concurrent access affects normal operation of the system may occur.
Disclosure of Invention
To this end, the present disclosure provides a method, apparatus, readable storage medium, computing device and a gate management system for authorizing a batch of devices in an effort to solve or at least alleviate at least one of the problems identified above.
According to an aspect of an embodiment of the present disclosure, there is provided a method for authorizing batch devices, including:
monitoring and receiving a plurality of UDP requests initiated by a plurality of clients;
buffering the plurality of UDP requests to a first queue;
respectively forwarding the plurality of UDP requests of the first queue to gate control equipment corresponding to the requests;
receiving streaming data responded by each gating device;
buffering the streaming data to a second queue;
and respectively forwarding the multiple groups of streaming data of the second queue to the client corresponding to the groups of streaming data.
Optionally, forwarding the plurality of UDP requests in the first queue to the gate control device corresponding to each request respectively includes:
and for the UDP request of the first queue currently processed, selecting a first idle UDP service from a first UDP service pool, and forwarding the UDP request of the first queue currently processed to the gate control equipment corresponding to the request by using the first UDP service.
Optionally, before forwarding the plurality of UDP requests in the first queue to the gate control device corresponding to each request, the method further includes:
acquiring load information of the door control equipment;
for the UDP requests of the first queue currently processed, if the requests are determined to point to the gate control equipment with the load exceeding a preset threshold value, the UDP requests of the first queue currently processed are buffered to a third queue;
and when detecting that the load of the gate control device corresponding to the UDP request of the third queue is lower than a preset threshold value, restoring the UDP request of the third queue to the first queue.
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 groups of streaming data in the second queue to the clients corresponding to the groups of streaming data respectively includes:
and selecting an idle second UDP service from a second UDP service pool for the streaming data of the currently processed second queue, and forwarding the streaming data of the currently processed second queue to a client corresponding to the streaming data by using the second UDP service.
Optionally, the method further comprises:
and storing the communication log of the client and the gate control equipment.
According to another aspect of the present disclosure, there is provided an apparatus for authorizing a batch of devices, including:
the request receiving module is used for monitoring and receiving a plurality of UDP requests initiated by a plurality of clients; buffering 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 gate control equipment corresponding to the requests;
the response data receiving module is used for receiving the streaming data responded by each gate control device; buffering 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 the groups of streaming data.
According to yet another aspect of the present disclosure, there is provided a readable storage medium having executable instructions thereon, which when executed, cause a computer to perform operations included in the method for authorizing a batch device 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 method of authorizing a batch of devices described above.
According to yet another aspect of the present disclosure, there is provided a gate management system, comprising:
a plurality of clients, a plurality of gate control devices and at least one authorization device of the batch device.
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 gate control equipment corresponding to each request, and streaming data responded by each gate control equipment is received; caching the streaming data to a second queue, and respectively forwarding a plurality of groups of streaming data in the second queue to clients corresponding to the groups of streaming data; the method has the advantages that the proxy service is established between the client and the gate control equipment, the data interaction between the client and the gate control equipment is managed in a unified mode, the system safety is improved, the cache queue is used for managing data streams, the possibility of high-concurrency requests is reduced, and the system operation stability 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 authorization of a batch device according to an embodiment of the present disclosure;
FIG. 3 is a flow diagram of a method of authorization of a batch device according to another embodiment of the present disclosure;
FIG. 4 is a flow diagram of a method of authorization of a batch device according to yet another embodiment of the present disclosure;
fig. 5 is a schematic process diagram of a client communicating with a door control device according to an embodiment of the present disclosure;
fig. 6 is a schematic process diagram of a client communicating with a door control device according to yet another embodiment of the present disclosure;
FIG. 7 is a schematic diagram of an authorization apparatus for a batch device 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 a method of authorization of a batch of devices according to the present disclosure. In a basic configuration 102, computing device 100 typically includes system memory 106 and one or more processors 104. A 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 process including, but not limited to, a microprocessor ((μ P), a microcontroller (μ C), a digital information processor (DSP), or any combination thereof the processor 104 may include one or more levels of cache such as a level one cache 110 and a level two cache 112, a processor core 114, and registers 116 the example processor core 114 may include an arithmetic logic unit (A L U), 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 the processor 104 or, in some implementations, the memory controller 118 may be an internal part of the 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. System memory 106 may include an operating system 120, one or more programs 122, and program data 124. In some implementations, the program 122 can be configured to execute instructions on an operating system by one or more processors 104 using 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 the basic configuration 102 via the 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 communications with one or more other computing devices 162 over a network communication link via one or more communication ports 164.
A 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, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made 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 private-wired network, and various 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.
The computing device 100 may be implemented as a personal computer including a desktop computer and a notebook computer configuration, and may also be implemented in the form of a rack server, a blade server, or other devices.
Among other things, one or more programs 122 of computing device 100 include instructions for performing a method of authorizing a batch of devices according to the present disclosure.
FIG. 2 illustrates a flow chart of a method 200 of authorizing a batch of devices according to one embodiment of the present disclosure, the method 200 of authorizing a batch of devices beginning 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 the plurality of UDP requests of the first queue to gate control equipment corresponding to the requests;
s240, receiving streaming data responded by each gate control device;
s250, caching the streaming data to a second queue;
and S260, respectively forwarding the multiple groups of streaming data in the second queue to the client 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 cached and then forwarded to the gate control device, and the streaming data responded by the gate control device is cached and then forwarded to the client, so that the unified management and scheduling of the access of the gate control device are realized, and the probability of high concurrent access of a single gate control device is reduced.
Fig. 3 illustrates a flow chart of an authorization method 300 for bulk devices according to yet another embodiment of the present disclosure, the authorization method 300 for bulk devices starting at step S310.
S310, monitoring and receiving a plurality of UDP requests initiated by a plurality of clients;
s320, caching the UDP requests to a first queue;
s330, selecting an idle first UDP service from the first UDP service pool for the UDP request of the currently processed first queue, and forwarding the UDP request of the currently processed first queue to the gate control equipment corresponding to the request by using the idle first UDP service;
s340, receiving streaming data responded by each gate control device;
s350, caching the streaming data to a second queue;
and S360, selecting an idle second UDP service from the second UDP service pool for the streaming data of the currently processed second queue, and forwarding the streaming data of the currently processed second queue to the 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 established and are respectively used for forwarding the UDP request data and the response data of the gate control 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 entity devices, or may include different service processes in the same device.
FIG. 4 illustrates a flow chart of a method 400 of authorizing a batch of devices according to yet another embodiment of the present disclosure, the method 400 of authorizing a batch of devices beginning at step S410.
S410, monitoring and receiving a plurality of UDP requests initiated by a plurality of clients;
s420, caching the UDP requests to a first queue;
s430, acquiring load information of the door control equipment;
s440, for the currently processed UDP request of the first queue, if the request is determined to point to the gate control equipment with the load exceeding a preset threshold value, caching the currently processed UDP request of the first queue into a third queue;
s450, when the load of the gate control device corresponding to the UDP request of the third queue is lower than a preset threshold value, the UDP request of the third queue is restored to the first queue;
s460, selecting an idle first UDP service from the first UDP service pool for the UDP request of the currently processed first queue, and forwarding the UDP request of the currently processed first queue to the gate control equipment corresponding to the request by using the idle first UDP service;
s470, receiving the streaming data responded by each gate control device;
s480, caching the streaming data to a second queue;
s490, for the streaming data in the currently processed second queue, selecting an idle second UDP service from the second UDP service pool, and forwarding the streaming data in the currently processed second queue to the client corresponding to the streaming data by using the idle second UDP service.
According to the embodiment of the disclosure, the UDP request pointing to the gate control equipment with the load exceeding the preset threshold value is cached, so that the situation that the same gate control equipment has high concurrent access can be avoided, and the running stability of the system is improved.
Alternatively, the load condition of the door control device may be determined by one or more of the following indicators: transmission bandwidth, number of concurrent connections, and task processing status. The transmission bandwidth, the number of concurrent connections, or the task processing state of the gate control device can be determined by monitoring the streaming data forwarding condition. For example, when the gate control device supports concurrent access, the transmission bandwidth between the gate control device and the local device is counted, and when the transmission bandwidth reaches a preset first threshold, a new UDP request pointing to the gate control device is cached; for another example, when the gate control device supports concurrent access, the number of connections between the gate control device and the local device is counted, and when the number of connections reaches a preset second threshold, a new UDP request pointing to the gate control device is cached; for another example, when the gate control device only supports a single transmission task, it is determined whether the current gate control device is in a task processing state, if so, a new UDP request pointing to the gate control device is cached, otherwise, a new UDP request is sent to the gate control device.
According to another embodiment of the disclosure, the communication log of the client and the door control device is stored locally, so that the traceability of the remote control data of the door control device is realized.
Fig. 5 is a schematic diagram of a process of a client communicating with a gate control device according to an embodiment of the present disclosure, where a communication subject includes the client, a UDP proxy gateway, and the gate control device. In the figure, < < uses > > denotes 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 UDP requests of users, and when a new UDP request is monitored, the client request is cached by the service requested by the client. And then, calling the UDP service 1 to interact data with the gating equipment, and caching the data responded by the gating equipment by the service of the data responded by the gating equipment after receiving the data responded by the gating equipment. And 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 of a client communicating with a gate control device according to another embodiment of the present disclosure, wherein a communication body includes a plurality of clients (a 1-AN), UDP proxy gateways (gateway running proxy listening service B, proxy clients C1-CN, and proxy clients E1-EN), and a gate control device E (E1-EN).
The specific implementation process is as follows: a1 sends a UDP request to the UDP proxy gateway, the source IP of the request data packet is the IP of A1, the target IP is the IP of the gate control equipment E1, and the request data packet also comprises a request instruction 'A'; b, monitoring the request of A1, and buffering the request to a UDP gateway proxy request queue; after detecting that data exists in the UDP gateway proxy request queue, allocating a request forwarded from Cx to E, wherein the source IP of the request data packet is the IP of Cx, the target IP is the IP of the gate control device E1, and the request data packet also comprises a request instruction 'A'; subsequently, Cx receives the streaming data fed back by the gate device E1, the source IP of the streaming data is the IP of E1, the target IP is the IP of Cx, and the Cx receives the streaming data responded by the gate device E1 and buffers the streaming data to the UDP gateway proxy response queue. After detecting that the UDP gateway proxy response queue has data, distributing the data to be forwarded from Dx to A, wherein the source IP of the data packet of the data to be forwarded is the IP of Dx, and the target IP is the IP of A1.
Referring to fig. 7, the present disclosure provides an apparatus for authorizing a batch of devices, including:
a request receiving module 710, configured to monitor and receive multiple UDP requests initiated by multiple clients; buffering the plurality of UDP requests to a first queue;
a request processing module 720, configured to forward the multiple UDP requests in the first queue to the gate control device corresponding to each request respectively;
a response data receiving module 730, configured to receive streaming data responded by each gating device; buffering the streaming data to a second queue;
the response data processing module 740 is configured to forward the multiple sets of streaming data in the second queue to the clients corresponding to the sets of streaming data, respectively.
For specific limitations of the authorization means of the batch device, reference may be made to the above limitations of the authorization method of the batch device, which are not described herein again.
Referring to fig. 8, the present disclosure provides a gating system for a bank, comprising: the system comprises a monitoring center, a network point and a branch line, wherein the monitoring center and the branch line are provided with clients, the network point is provided with a plurality of IoT hosts, namely, gate control equipment, and UDPNAT service equipment of the monitoring center is an authorization device of the batch equipment and is used for performing unified scheduling management on UDP requests sent to the gate control equipment and streaming data responded by the gate 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 thereof, 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 may comprise computer storage media and communication media. Computer-readable media includes both computer storage media and communication media. Computer storage media store 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 interpreted as reflecting an intention that: that is, the claimed disclosure requires more features than are expressly recited in each claim. Rather, as the following claims reflect, disclosed 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 multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. 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. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements 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.
Moreover, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, 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 may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purposes of this disclosure.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, 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 this description, will appreciate that other embodiments can be devised which do not depart from the scope of the disclosure as described herein. Moreover, 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 intended to be illustrative, but not limiting, of the scope of the disclosure, which is set forth in the following claims.

Claims (10)

1. A method for authorizing a batch of devices, comprising:
monitoring and receiving a plurality of User Datagram Protocol (UDP) requests initiated by a plurality of clients;
buffering the plurality of UDP requests to a first queue;
respectively forwarding the plurality of UDP requests of the first queue to gate control equipment corresponding to the requests;
receiving streaming data responded by each gating device;
buffering the streaming data to a second queue;
and respectively forwarding the multiple groups of streaming data of the second queue to the client corresponding to the groups of streaming data.
2. The method of claim 1, wherein forwarding the plurality of UDP requests of the first queue to respective gate devices corresponding to the respective requests comprises:
and for the UDP request of the first queue currently processed, selecting a first idle UDP service from a first UDP service pool, and forwarding the UDP request of the first queue currently processed to the gate control equipment corresponding to the request by using the first UDP service.
3. The method of claim 2, wherein before forwarding the plurality of UDP requests in the first queue to the gate devices corresponding to the respective requests, further comprising:
acquiring load information of the door control equipment;
for the UDP requests of the first queue currently processed, if the requests are determined to point to the gate control equipment with the load exceeding a preset threshold value, the UDP requests of the first queue currently processed are buffered to a third queue;
and when detecting that the load of the gate control device corresponding to the UDP request of the third queue is lower than a preset threshold value, restoring the UDP request of the third queue to the first queue.
4. The method of claim 3, wherein the load information comprises at least one of:
transmission bandwidth, number of concurrent connections, and task processing status.
5. The method of claim 1, wherein forwarding the multiple sets of streaming data in the second queue to the clients corresponding to the sets of streaming data respectively comprises:
and selecting an idle second UDP service from a second UDP service pool for the streaming data of the currently processed second queue, and forwarding the streaming data of the currently processed second queue to a client corresponding to the streaming data by using the second UDP service.
6. The method of claim 1, further comprising:
and storing the communication log of the client and the gate control equipment.
7. An apparatus for authorizing a batch of equipment, comprising:
the request receiving module is used for monitoring and receiving a plurality of UDP requests initiated by a plurality of clients; buffering 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 gate control equipment corresponding to the requests;
the response data receiving module is used for receiving the streaming data responded by each gate control device; buffering 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 the groups of streaming data.
8. A readable storage medium having executable instructions thereon that, when executed, cause a computer to perform the operations included in any one of claims 1-6.
9. 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 be executed by the one or more processors to perform operations as recited in any of claims 1-6.
10. A door management system, comprising: a plurality of clients, a plurality of gate control devices and at least one apparatus according to claim 7.
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 true CN111405046A (en) 2020-07-10
CN111405046B 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)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532823A (en) * 2012-07-04 2014-01-22 中兴通讯股份有限公司 Message processing method, device and system for Internet of Things
CN104635504A (en) * 2015-01-09 2015-05-20 广东瑞德智能科技股份有限公司 IOT (Internet of Things) intelligent household appliance data transmission method and system
CN107229231A (en) * 2017-06-07 2017-10-03 青岛海信移动通信技术股份有限公司 Home equipment management method and device
CN107276224A (en) * 2017-06-29 2017-10-20 北京天泰怡和科技有限公司 Intelligent distribution network communication, control system
CN108833237A (en) * 2018-07-20 2018-11-16 京东方科技集团股份有限公司 Intelligent domestic gateway and its management-control method
CN109447048A (en) * 2018-12-25 2019-03-08 苏州闪驰数控系统集成有限公司 A kind of artificial intelligence early warning system
CN110149353A (en) * 2018-02-11 2019-08-20 陕西爱尚物联科技有限公司 A kind of Internet of Things network method and its system
CN110351270A (en) * 2019-07-05 2019-10-18 深圳市浩科电子有限公司 A kind of method and system improving concurrent data treatment effeciency
CN110417879A (en) * 2019-07-18 2019-11-05 北京蜜莱坞网络科技有限公司 A kind of message treatment method, device, equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532823A (en) * 2012-07-04 2014-01-22 中兴通讯股份有限公司 Message processing method, device and system for Internet of Things
CN104635504A (en) * 2015-01-09 2015-05-20 广东瑞德智能科技股份有限公司 IOT (Internet of Things) intelligent household appliance data transmission method and system
CN107229231A (en) * 2017-06-07 2017-10-03 青岛海信移动通信技术股份有限公司 Home 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
CN108833237A (en) * 2018-07-20 2018-11-16 京东方科技集团股份有限公司 Intelligent domestic gateway and its management-control method
CN109447048A (en) * 2018-12-25 2019-03-08 苏州闪驰数控系统集成有限公司 A kind of artificial intelligence early warning system
CN110351270A (en) * 2019-07-05 2019-10-18 深圳市浩科电子有限公司 A kind of method and system improving concurrent data treatment effeciency
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
CN111405046B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
US11036529B2 (en) Network policy implementation with multiple interfaces
CN109274730B (en) Internet of things system, MQTT message transmission optimization method and device
US9203734B2 (en) Optimized bi-directional communication in an information centric network
US8583806B2 (en) Data sharing method for recursive DNS servers
CN109547519B (en) Reverse proxy method, apparatus and computer readable storage medium
WO2014082562A1 (en) Method, device, and system for information processing based on distributed buses
CN107241254B (en) Network connection device, network system and networking method
WO2015106453A1 (en) Service processing method and network device
WO2023103419A1 (en) Message queue-based method and apparatus for sending 5g messages in batches, and electronic device
WO2018119677A1 (en) Transmission link resuming method, device and system
KR20120121668A (en) High Performance System and Method for Blocking Harmful Sites Access on the basis of Network
WO2022156586A1 (en) Network access method and device
US11316916B2 (en) Packet processing method, related device, and computer storage medium
CN113709246A (en) Network proxy method, computing device and readable storage medium
CN111405046B (en) Authorization method for batch equipment
US20090260023A1 (en) Multiplexing Reserved Ports
CN111614758B (en) Code stream forwarding method and device, readable storage medium and computing equipment
WO2021103822A1 (en) Method for acquiring common maximum segment size (mss), and device
US11075911B2 (en) Group-based treatment of network addresses
US11483394B2 (en) Delayed proxy-less network address translation decision based on application payload
US11399009B2 (en) Endpoint context agent traversal of network address table
CN114979099B (en) Target service access method, module and system
CN114884974B (en) Data multiplexing method, system and computing device
WO2024032599A1 (en) Session binding method and function, and storage medium and electronic device
CN112866419B (en) Activation control method, system and computing device

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