Channel control method, device, equipment, storage medium and system
By integrating multiple face recognition systems, the opening and closing of the personnel entrance channel is controlled according to the number of personnel in the detection area and the preset mode, the inflexible channel control caused by the independent working of the face temperature measurement and recognition machine in the prior art is solved. The problem has achieved the maintenance of safe distances and the reduction of management costs.
Patent Information
- Application Number
- CN202210618706.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-01
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2042-06-01
AI Technical Summary
The existing face temperature measurement and recognition all-in-one machine works independently and cannot cooperate with each other, which makes it difficult to flexibly control the entrance channels of the personnel under special circumstances, such as not being able to effectively close some channels when it is necessary to maintain a safe distance.
The face recognition system of multiple personnel entrance channels is integrated into one electronic device. By obtaining the number of people in the target detection area, determining the target pass mode according to the preset temperature measurement mode and pass mode relationship, and controlling the opening or closing of the channel. , realize flexible control of multiple inlet channels.
It realizes flexible control of the opening and closing of multiple personnel entrance channels based on the number of personnel, reduces management costs, and improves security and flexibility in special circumstances.
Smart Images

Figure CN115150504B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of access control, and in particular to a channel control method, device, equipment, storage medium and system. Background Art
[0002] Facial recognition technology refers to a biometric technology that identifies people based on their facial features. Facial recognition technology is widely used in specific channels for security and / or authority detection in public places such as companies, schools, railways, and airports. For example, a facial temperature measurement and recognition integrated machine using facial recognition technology is placed at the personnel entrance channel.
[0003] At present, the facial temperature measurement and recognition integrated machines used in the above-mentioned public places and the personnel entrance channels where the facial temperature measurement and recognition integrated machines are located usually include multiple ones, wherein each personnel entrance channel independently corresponds to a facial temperature measurement and recognition integrated machine. That is, each facial temperature measurement and recognition integrated machine works independently and cannot cooperate with each other. Therefore, it is not convenient to flexibly control the personnel entrance channels in some special cases. For example, when it is required to maintain a safe distance, some personnel entrance channels need to be closed. Summary of the invention
[0004] Based on the above-mentioned background technology, the face temperature measurement and recognition integrated machines work independently and cannot cooperate with each other, and cannot flexibly control the personnel entrance channels. The present application provides a channel control method, device, equipment, storage medium and system, which integrate the face recognition systems corresponding to multiple personnel entrance channels into one, and flexibly control the multiple personnel entrance channels according to the number of people in the target detection areas of the multiple personnel entrance channels.
[0005] In a first aspect, the present application provides a channel control method, which is applied to a first electronic device, and the first electronic device is connected to M personnel entrance channels, where M is an integer greater than 1; the method includes: the first electronic device obtains the number of personnel in a target detection area of the M personnel entrance channels; the target detection area is an area within a preset range with the entrance positions of the M personnel entrance channels as boundaries; the first electronic device determines the target passage mode based on the correspondence between the number of personnel in the target detection area and the temperature measurement mode, and the correspondence between the temperature measurement mode and the passage mode; the first electronic device controls the M personnel entrance channels to be opened or closed according to the target passage mode.
[0006] In a possible implementation, the first electronic device obtains the number of people in the target detection area of M personnel entrance channels, including: the first electronic device obtains an image of the target detection area; the first electronic device determines the number of people in the target detection area according to the image of the target detection area.
[0007] Optionally, the temperature measurement mode includes a single-person temperature measurement mode, a multi-person temperature measurement mode and a full-channel temperature measurement mode. The correspondence between the temperature measurement mode and the pass mode includes: in the single-person temperature measurement mode, the pass mode is a single-channel pass mode, and one of the M channels is open; in the multi-person temperature measurement mode, the pass mode is a multi-channel pass mode, and N of the M channels are open, N is an integer, and 1<N<M; in the full-channel temperature measurement mode, the pass mode is a full-channel pass mode, and all M channels are open.
[0008] Optionally, the first electronic device includes a preset threshold. Before the first electronic device determines the target passage mode based on the correspondence between the number of people in the target detection area and the temperature measurement mode, and the correspondence between the temperature measurement mode and the passage mode, the method also includes: the first electronic device determines the temperature measurement mode based on the correspondence between the number of people in the target detection area and the preset threshold.
[0009] In one possible implementation, the first electronic device determines the temperature measurement mode based on the correspondence between the number of people in the target detection area and a preset threshold, including: when the number of people in the target detection area is greater than the first threshold, the first electronic device determines that the temperature measurement mode is a full-channel temperature measurement mode; when the number of people in the detection area is less than the second threshold, the first electronic device determines that the temperature measurement mode is a single-person temperature measurement mode; when the number of people in the detection area is greater than the second threshold and less than the first threshold, the first electronic device determines that the temperature measurement mode is a multi-person temperature measurement mode; the first threshold is greater than the second threshold.
[0010] Optionally, after the first electronic device determines the target passage mode based on the correspondence between the number of people in the target detection area and the temperature measurement mode, and the correspondence between the temperature measurement mode and the passage mode, the method also includes: the first electronic device issues a first prompt message; the first prompt message is used to indicate a personnel entrance channel that is open under the target passage mode.
[0011] In the channel control method provided in the present application, the first electronic device can obtain the number of personnel in the target detection area of M personnel entrance channels, and select and determine the target passage mode from multiple preset passage modes based on the correspondence between the number of personnel in the target detection area and the temperature measurement mode, and the correspondence between the temperature measurement mode and the passage mode, and control the opening or closing of the M personnel entrance channels according to the target passage mode, thereby realizing flexible control of multiple personnel entrance channels according to the number of personnel.
[0012] In addition, by using the channel control method provided in the present application, multiple facial temperature measurement and recognition integrated machines corresponding to multiple personnel entrance channels can be integrated into a first electronic device, thereby reducing management costs.
[0013] In a second aspect, the present application provides a channel control device, which includes various modules used for the method described in the first aspect or any possible implementation of the first aspect.
[0014] In a third aspect, the present application provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the steps of the related method described in the first aspect above to implement the method described in the first aspect above.
[0015] In a fourth aspect, the present application provides an electronic device, comprising: a processor and a memory; the memory stores instructions executable by the processor; when the processor is configured to execute the instructions, the electronic device implements the method described in the first aspect above.
[0016] In a fifth aspect, the present application provides a computer-readable storage medium, which includes: computer software instructions; when the computer software instructions are executed in an electronic device, the electronic device implements the method described in the first aspect above.
[0017] In a sixth aspect, the present application provides a channel control system, which includes: a first electronic device and multiple personnel entrance channels; the first electronic device is connected to the multiple personnel entrance channels; the first electronic device is used to execute the method described in the first aspect above to control the opening or closing of multiple personnel entrance channels.
[0018] The beneficial effects of the second to sixth aspects mentioned above can be referred to the first aspect and will not be elaborated on again. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is a schematic diagram of the gate channel;
[0020] Figure 2 A schematic diagram of an application scenario of the personnel entrance channel method provided in an embodiment of the present application;
[0021] Figure 3 A schematic diagram of the composition of a first electronic device provided in an embodiment of the present application;
[0022] Figure 4 A schematic diagram of a flow chart of a channel control method provided in an embodiment of the present application;
[0023] Figure 5 A schematic diagram of a traffic mode provided in an embodiment of the present application;
[0024] Figure 6 A schematic diagram of another traffic mode provided in an embodiment of the present application;
[0025] Figure 7 A schematic diagram of another traffic mode provided in an embodiment of the present application;
[0026] Figure 8 A schematic diagram of another traffic mode provided in an embodiment of the present application;
[0027] Fig. 9 A schematic diagram of the composition of a channel control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] In the following, the terms "first", "second", "third", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", or "third", etc. may explicitly or implicitly include one or more of the features.
[0029] At present, there are usually multiple integrated facial temperature measurement and recognition machines used in public places such as companies, schools, railways, airports, and the personnel entrance passages where the integrated facial temperature measurement and recognition machines are located.
[0030] The personnel entrance channel may be a gate channel or a door access channel, etc. The embodiment of the present application does not limit the specific form of the personnel entrance channel.
[0031] Figure 1 This is a schematic diagram of the gate channel. Figure 1 As shown, the gate machine channel can include 5, each gate machine channel can correspond to the left and right gate machine bodies. Each gate machine channel corresponds one-to-one with a rectangular parallelepiped terminal device (face temperature measurement and recognition integrated machine) arranged on the gate machine body.
[0032] However, each facial temperature measurement and recognition integrated machine works independently and cannot cooperate with each other, which makes it inconvenient to flexibly control the personnel entrance channel in some special cases. For example, when it is required to maintain a safe distance, some personnel entrance channels need to be closed.
[0033] Against this background technology, an embodiment of the present application provides a channel control method, which can integrate the facial temperature measurement and recognition integrated devices corresponding to multiple personnel entrance channels into one electronic device. The integrated electronic device can obtain the number of people in the target detection area of the multiple personnel entrance channels, and select the target passage mode according to the number of people in the target detection area, and control the multiple personnel entrance channels to open or close according to the target passage mode, thereby realizing flexible control of multiple personnel entrance channels.
[0034] Figure 2 Schematic diagram of the application scenario of the personnel entrance channel method provided in the embodiment of the present application. Figure 2 As shown, the scene may include multiple personnel entrance channels ( Figure 2The gate channel is shown as an example), the multiple personnel entrance channels such as the personnel entrance channel Figure 2 There are five personnel entrance channels shown. Each of the five personnel entrance channels can be connected to the same face temperature measurement and recognition system ( Figure 2 In the figure, the facial temperature measurement and recognition system is shown as an example of a rectangular device installed outside the gate body) connected through a wired network or a wireless network.
[0035] The embodiment of the present application also provides a channel control device, which can be used to execute the channel control method provided in the embodiment of the present application. The channel control device may include an information acquisition module, a display module, and a calculation and processing module. The information acquisition module and the display module can be connected to the calculation and processing module through a wired network or a wireless network. The information acquisition module can be used to collect image information and temperature information of passers-by. The display module can be used to display images. The calculation and processing module can be used to control the opening or closing of the personnel entrance channel according to the image information and temperature information collected by the information acquisition module.
[0036] Optionally, the above-mentioned information collection module, display module and calculation processing module can be independent devices, or functional modules in independent devices, which is not limited in the embodiments of the present application. In this case, the information collection and display device can be set at the personnel entrance passage to collect image information and temperature information of passers-by. The calculation processing device can be set at the personnel entrance passage, or in the rear server room, to control the opening or closing of the personnel entrance passage according to the image information and temperature information of the passers-by.
[0037] Optionally, the above-mentioned information acquisition module, display module and calculation processing module can be deployed in different devices, or integrated in the same device, and the embodiments of the present application are not limited to this. Taking the example of the information acquisition module, display module and calculation processing module integrated in the first electronic device, the first electronic device can be understood as a device with functions such as collecting facial images, performing facial recognition on the collected facial images, multi-person temperature measurement, image display and voice broadcast.
[0038] Optionally, the channel control device may be implemented by an application (APP) with a channel control function in the first electronic device.
[0039] For the sake of simplicity, the embodiments of the present application are introduced below by taking the case where the channel control device is the first electronic device as an example.
[0040] Figure 3 This is a schematic diagram of the composition of the first electronic device provided in the embodiment of the present application. Figure 3As shown, the first electronic device may include a processor 10 , a memory 20 , a communication line 30 , a communication interface 40 , and an input / output interface 50 .
[0041] The processor 10 , the memory 20 and the communication interface 40 may be connected via a communication line 30 .
[0042] The processor 10 is used to execute the instructions stored in the memory 20 to implement the channel control method provided in the following embodiments of the present application. The processor 10 can be a central processing unit (CPU), a general-purpose processor network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 10 can also be any other device with processing functions, such as a circuit, a device, or a software module, which is not limited in the embodiments of the present application. In one example, the processor 10 may include one or more CPUs, such as Figure 3 As an optional implementation, the first electronic device may include multiple processors, for example, in addition to the processor 10, it may also include a processor 60.
[0043] The memory 20 is used to store instructions. The instructions may be computer programs. The memory 20 may be a read-only memory (ROM) or other types of static storage devices that can store static information and / or instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and / or instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage devices, etc., without limitation.
[0044] It should be noted that the memory 20 may exist independently of the processor 10, or may be integrated with the processor 10. The memory 20 may be located inside the first electronic device, or may be located outside the first electronic device, which is not limited in the embodiment of the present application.
[0045] The communication line 30 is used to transmit information between the components included in the first electronic device.
[0046] The communication interface 40 is used to communicate with other devices (such as the aforementioned personnel entrance channel) or other communication networks. The other communication networks may be Ethernet, radio access networks (RAN), wireless local area networks (WLAN), etc. The communication interface 40 may be a module, a circuit, a transceiver or any device capable of achieving communication.
[0047] The input / output interface 50 is used to implement human-computer interaction between the user and the first electronic device, such as displaying action interaction, text interaction, or voice interaction between the user and the first electronic device.
[0048] Exemplarily, the input / output interface 50 may be a touch screen, a keyboard, a mouse, etc., and action interaction or text interaction between the user and the first electronic device may be realized through the touch screen, the keyboard, or the mouse.
[0049] Exemplarily, the input-output interface 50 may also be an audio module, which may include a speaker and a microphone, etc., and voice interaction between the user and the first electronic device may be achieved through the audio module.
[0050] Exemplarily, the input and output interface 50 can also be a long-distance infrared temperature measurement module, which can include a dual-spectrum temperature measurement camera of infrared thermal imaging and visible light imaging. The long-distance infrared temperature measurement module can measure the energy of infrared radiation of the human body at a long distance, and determine the body temperature of the human body based on the correspondence between the radiation energy and temperature. Through the long-distance infrared temperature measurement module, the first electronic device can realize long-distance body temperature measurement of personnel at multiple personnel entrance channels at the same time.
[0051] It should be noted that Figure 3 The structure shown in the figure does not constitute a limitation on the first electronic device, except Figure 3 In addition to the components shown, the first electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0052] The method provided in the embodiment of the present application is described below with reference to the accompanying drawings.
[0053] Figure 4 Schematic diagram of a flow chart of a channel control method provided in an embodiment of the present application. Optionally, the method may be performed by Figure 3 The first electronic device of the hardware structure shown in the figure is executed, and the first electronic device can be connected to M personnel entrance channels, where M is an integer greater than 1, such as Figure 4As shown, the method may include S101 to S103. S101, the first electronic device obtains the number of personnel in the target detection area of M personnel entrance channels.
[0054] As described above, the first electronic device may be connected to M personnel entrance passages. The target detection area is an area within a preset range bounded by the entrance positions of the M personnel entrance passages. The preset range may be preset by a manager. For example, the preset range is 10 square meters, 50 square meters, or 100 square meters, etc. This embodiment of the application is not limited to this.
[0055] For example, the target detection area may be a rectangular area with an area of 10 square meters and a rectangular boundary with M personnel entrance passages.
[0056] In one possible implementation, the first electronic device may receive the number of people in the target detection area input by the manager. For example, the first electronic device may include a touch screen display, and the touch screen display may display a variety of options for the number of people. The first electronic device may determine the current traffic scene in response to the manager's touch operation on the various options for the number of people displayed on the touch screen of the first electronic device. For another example, the first electronic device may be connected to a control device (such as a mobile phone or tablet computer, etc.) via a wired network or a wireless network. The control device may include a touch screen display, and the touch screen display may display a variety of traffic scene options. The control device may send the first information to the first electronic device in response to the manager's touch operation on the various traffic scene options displayed on the control device. The first electronic device may determine the number of people in the target detection area based on the first information, and the embodiments of the present application are not limited to this.
[0057] In another possible implementation, the first electronic device may first obtain images of the target detection areas of the M personnel entrance passages, and determine the number of personnel in the target detection areas based on the images of the target detection areas.
[0058] For example, the first electronic device may include a camera, and the first electronic device may capture images of target detection areas of M personnel entrance passages through the camera.
[0059] Optionally, the first electronic device may use a multi-target detection algorithm to identify images of the target detection area, obtain face images of the target detection area, and determine the number of people in the target detection area based on the number of face images.
[0060] Optionally, the first electronic device determines the number of people in the target detection area based on the image of the target detection area, which may include: the first electronic device determines the number of people to pass based on the image of the target detection area; the first electronic device uses the number of people to pass as the number of people in the target detection area.
[0061] For example, the first electronic device may use a multi-target detection algorithm to determine a facial image in the target detection area, and the facial image may include one or more. For each facial image, the first electronic device may determine the facial angle according to the facial image, and when the facial angle meets a preset condition, determine that the person corresponding to the facial image is a person to be passed. The first electronic device may use this to screen and count the number of people to be passed.
[0062] S102: The first electronic device determines a target passage mode according to a correspondence between the number of people in the target detection area and the temperature measurement mode, and a correspondence between the temperature measurement mode and the passage mode.
[0063] Among them, the temperature measurement mode and the passage mode correspond one to one.
[0064] Optionally, the temperature measurement mode may include a single-person temperature measurement mode, a multi-person temperature measurement mode, and a full-channel temperature measurement mode. The passage mode may include a single-channel passage mode, a multi-channel passage mode, and a full-channel passage mode. The correspondence between the temperature measurement mode and the passage mode may include:
[0065] In the single-person temperature measurement mode, the access mode is the single-channel access mode, and one of the M channels is open;
[0066] In the multi-person temperature measurement mode, the access mode is the multi-channel access mode, N channels out of M channels are open, N is an integer, and 1<N<M;
[0067] In the full-channel temperature measurement mode, the access mode is the full-channel access mode, and all M channels are open.
[0068] For example, Figure 5 Schematic diagram of the traffic mode provided in the embodiment of the present application. Figure 5 As shown, the personnel entrance passage may include 5, namely Figure 5 Channel 1, channel 2, channel 3, channel 4 and channel 5 are shown as personnel entrance channels. When the number of people in the target detection area is 1, the first electronic device can determine that the current temperature measurement mode is a single-person temperature measurement mode, and the current target access mode is a single-channel access mode. In the single-channel access mode, only one personnel entrance channel is open ( Figure 5 In the example, channel 1 is used as an example), and other personnel entrance channels are not open (or it can be said that other personnel entrance channels are normally closed). Figure 6 Another traffic mode schematic diagram provided in the embodiment of the present application. Figure 6 As shown, the personnel entrance passage may include 5, for example Figure 6Channel 1, channel 2, channel 3, channel 4 and channel 5 are shown. When the number of people in the target detection area is 6, the first electronic device can determine that the current temperature measurement mode is the two-person temperature measurement mode, and the current target passage mode is the dual-channel passage mode. In the dual-channel passage mode, channel 1 and channel 5 are open, and channel 2, channel 3 and channel 4 are not open.
[0069] For example, Figure 7 This is another schematic diagram of a traffic mode provided in an embodiment of the present application. Figure 7 As shown, the personnel entrance passage may include 5, for example Figure 7 Channel 1, channel 2, channel 3, channel 4 and channel 5 are shown. When the number of people in the target detection area is 9, the first electronic device can determine that the current temperature measurement mode is a three-person temperature measurement mode, and the current target passage mode is a three-channel passage mode. In the three-channel passage mode, channels 1, 3 and 5 are open, and channels 2 and 4 are not open.
[0070] It should be noted that Figure 6 The two-person temperature measurement mode shown and Figure 7 The three-person temperature measurement mode shown is also the multi-person temperature measurement mode mentioned above. Figure 6 The dual channel mode shown and Figure 7 The three-channel mode shown is also the multi-channel traffic mode described above.
[0071] For example, Figure 8 This is another schematic diagram of a traffic mode provided in the embodiment of the present application. Figure 8 As shown, the personnel entrance passage may include 5, for example Figure 8 Channel 1, channel 2, channel 3, channel 4 and channel 5 are shown. When the number of people in the target detection area is 19, the first electronic device can determine that the current temperature measurement mode is the full-channel temperature measurement mode, and the current target access mode is the full-channel access mode. In the full-channel access mode, all personnel entrance channels are open, that is, channel 1, channel 2, channel 3, channel 4 and channel 5 are open.
[0072] In some possible embodiments, the first electronic device may include a preset threshold. Before the above S102, the method may further include: the first electronic device determines the temperature measurement mode according to the correspondence between the number of people in the target detection area and the preset threshold.
[0073] Optionally, the preset threshold may include a first threshold and a second threshold, and the first threshold is greater than the second threshold. In this case, the first electronic device determines the temperature measurement mode according to the corresponding relationship between the number of people in the target detection area and the preset threshold, which may include:
[0074] When the number of people in the target detection area is greater than a first threshold, the first electronic device determines that the temperature measurement mode is a full-channel temperature measurement mode;
[0075] When the number of people in the detection area is less than the second threshold, the first electronic device determines that the temperature measurement mode is a single-person temperature measurement mode;
[0076] When the number of people in the detection area is greater than the second threshold and less than the first threshold, the first electronic device determines that the temperature measurement mode is a multi-person temperature measurement mode.
[0077] Exemplarily, taking the first threshold as 12 and the second threshold as 3 as an example, when the number of people in the target detection area is greater than 12, the number of people is large at this time, and the first electronic device can determine that the temperature measurement mode is the full-channel temperature measurement mode. When the number of people in the target detection area is less than 3, the number of people is small at this time, and the first electronic device can determine that the temperature measurement mode is the single-person temperature measurement mode. When the number of people in the target detection area is greater than 3 and less than 12, the first electronic device can determine that the temperature measurement mode is the multi-person temperature measurement mode.
[0078] S103: The first electronic device controls M personnel entrance channels to be opened or closed according to a target passage mode.
[0079] Optionally, the first electronic device may control the M personnel entrance channels to be opened or closed according to a target traffic mode based on the face recognition result.
[0080] As described above, the first electronic device can use a multi-target detection algorithm to obtain a facial image in the target detection area. After obtaining one or more facial images, the first electronic device can perform facial recognition on each facial image. The results of facial recognition may include pass and fail. For example, the first electronic device can perform facial recognition on each facial image to determine the identity of the person corresponding to the facial image. When the person identity has the authority to pass through the personnel entrance channel, the result of facial recognition can be determined to be pass; when the person identity does not have the authority to pass through the personnel entrance channel, the result of facial recognition can be determined to be fail. In this case, the above S103 may specifically include: the first electronic device controls M personnel entrance channels according to the target passage mode, and opens or closes them according to the facial recognition results of the facial images.
[0081] For example, the face recognition result of the face image may include pass or fail. The target access mode may open multiple personnel entrance channels, and correspondingly, may not open multiple personnel entrance channels and open one or more of the above-mentioned M channels (it can also be understood as keeping one or more of the above-mentioned M personnel entrance channels normally closed). For any of the open personnel entrance channels, when the face recognition result of the face image of the person entering the entrance of any of the personnel entrance channels is pass, the first electronic device may control the opening of any of the personnel entrance channels; when the face recognition result of the face image of the person entering the entrance of any of the personnel entrance channels is fail, the first electronic device may control the closing of any of the personnel entrance channels.
[0082] Among them, the specific process of the first electronic device performing face recognition can refer to the face recognition algorithm, which will not be repeated here.
[0083] Optionally, the first electronic device may control the M personnel entrance channels to be opened or closed according to the target passage mode according to the body temperature detection result. In this case, the above S103 may specifically include: the first electronic device controls the M personnel entrance channels to be opened or closed according to the target passage mode according to the body temperature of the personnel in the target detection area.
[0084] For example, the target access mode may open multiple personnel entrance channels, and correspondingly, may not open multiple personnel entrance channels (which may also be understood as keeping multiple personnel entrance channels normally closed). For each of the multiple open personnel entrance channels, the electronic device may obtain the body temperature of the person entering the personnel entrance channel; when the body temperature of the person entering the entrance of the personnel entrance channel is less than or equal to a preset temperature threshold, the first electronic device may control the personnel entrance channel to be opened; when the body temperature of the person entering the entrance of the personnel entrance channel is greater than the preset temperature threshold, the first electronic device may control the personnel entrance channel to be closed.
[0085] The temperature threshold can be preset by the management personnel. For example, the temperature threshold is 37 degrees Celsius or 37.2 degrees Celsius. The embodiment of the present application does not limit the specific value of the temperature threshold. The specific process of the first electronic device obtaining the body temperature of the person in the target detection area can refer to the infrared thermal imaging temperature measurement technology, which will not be repeated here.
[0086] In the channel control method provided in the embodiment of the present application, the first electronic device can obtain the number of personnel in the target detection area of M personnel entrance channels, and select and determine the target passage mode from multiple preset passage modes based on the correspondence between the number of personnel in the target detection area and the temperature measurement mode, and the correspondence between the temperature measurement mode and the passage mode, and control the opening or closing of the M personnel entrance channels according to the target passage mode, thereby realizing flexible control of multiple personnel entrance channels according to the number of personnel.
[0087] In addition, by using the channel control method provided in the embodiment of the present application, multiple face temperature measurement and recognition integrated devices corresponding to multiple personnel entrance channels can be integrated into a first electronic device, reducing management costs. In some possible embodiments, the first electronic device can also issue a first prompt message after determining the target passage mode based on the correspondence between the preset number of personnel and the passage mode, and the number of personnel in the target detection area.
[0088] The first prompt information is used to indicate the identification of the personnel entrance channel opened in the target traffic mode. For example, as described above, the first electronic device may be a device having functions such as displaying images and voice broadcasting. In this case, the first prompt information may include any one or a combination of a schematic diagram, a demonstration animation, and a voice prompt. This embodiment of the application is not limited to this.
[0089] As an example, when the number of people in the target detection area is 1, that is, there is only one person (such as person 1) in the target detection area, the above-mentioned first prompt information can be used to prompt person 1 that the first channel is open. Among them, the first channel can be the personnel entrance channel closest to person 1 among multiple personnel entrance channels. Optionally, the first electronic device can obtain an image of the target detection area, determine the position of person 1 according to the image of the target detection area, and determine the personnel entrance channel closest to person 1 according to the position of person 1 as the first channel. Among them, the algorithm for determining the position of person 1 can refer to the prior art, which will not be repeated here. The above mainly introduces the scheme provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. The technical goals in this field should be easily realized that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional technical goals can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0090] In an exemplary embodiment, the embodiment of the present application further provides a channel control device, which can be applied to the above-mentioned first electronic device, where the first electronic device is connected to M personnel entrance channels. Fig. 9 This is a schematic diagram of the composition of the channel control device provided in the embodiment of the present application. Fig. 9 As shown, the device may include an acquisition module 901 and a processing module 902. The acquisition module 901 is connected to the processing module 902. The acquisition module 901 is used to acquire the number of personnel in the target detection area of the M personnel entrance channels; the target detection area is an area within a preset range with the entrance positions of the M personnel entrance channels as boundaries. The processing module 902 is used to determine the target passage mode according to the correspondence between the number of personnel in the target detection area and the temperature measurement mode, and the correspondence between the temperature measurement mode and the passage mode; and control the M personnel entrance channels to be opened or closed according to the target passage mode.
[0091] In some possible embodiments, the temperature measurement mode includes a single-person temperature measurement mode, a multi-person temperature measurement mode and a full-channel temperature measurement mode. The correspondence between the temperature measurement mode and the pass mode includes: in the single-person temperature measurement mode, the pass mode is a single-channel pass mode, and one of the M channels is open; in the multi-person temperature measurement mode, the pass mode is a multi-channel pass mode, and N of the M channels are open, N is an integer, and 1<N<M; in the full-channel temperature measurement mode, the pass mode is a full-channel pass mode, and all M channels are open.
[0092] In some other possible embodiments, the processing module 902 further includes a preset threshold. The processing module 902 is further configured to determine the temperature measurement mode according to the correspondence between the number of people in the target detection area and the preset threshold before determining the target passage mode according to the correspondence between the number of people in the target detection area and the temperature measurement mode and the correspondence between the temperature measurement mode and the passage mode.
[0093] In some other possible embodiments, the processing module 902 is specifically used to determine that the temperature measurement mode is a full-channel temperature measurement mode when the number of people in the target detection area is greater than a first threshold; when the number of people in the detection area is less than a second threshold, determine that the temperature measurement mode is a single-person temperature measurement mode; when the number of people in the detection area is greater than the second threshold and less than the first threshold, determine that the temperature measurement mode is a multi-person temperature measurement mode; the first threshold is greater than the second threshold.
[0094] In some other possible embodiments, the acquisition module 901 is specifically configured to acquire an image of the target detection area; and determine the number of people in the target detection area according to the image of the target detection area.
[0095] In some other possible embodiments, the processing module 902 is further used to issue a first prompt message after determining the target passage mode according to the correspondence between the number of people in the target detection area and the temperature measurement mode, and the correspondence between the temperature measurement mode and the passage mode; the first prompt message is used to indicate the personnel entrance channel that is open under the target passage mode. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0096] It should be noted that Fig. 9 The division of modules in the example is schematic and is only a logical function division. There may be other division methods in actual implementation. For example, two or more functions may be integrated into one processing module. The above integrated modules may be implemented in the form of hardware or software function modules.
[0097] An embodiment of the present application also provides a computer-readable storage medium, including computer-executable instructions, which, when executed on an electronic device, enables the electronic device to execute any one of the methods provided in the above embodiments.
[0098] The embodiment of the present application also provides a computer program product including computer-executable instructions, which, when executed on an electronic device, enables the electronic device to execute any one of the methods provided in the above embodiments.
[0099] An embodiment of the present application also provides a chip, including: a processor and an interface, wherein the processor is coupled to a memory via the interface, and when the processor executes a computer program in the memory or an electronic device executes instructions, any one of the methods provided in the above embodiments is executed.
[0100] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer-executable instructions. When the computer-executable instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer-executable instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer-executable instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more servers that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).
[0101] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other changes to the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit can implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0102] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
[0103] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A channel control method, characterized in that: The method is applied to a first electronic device, the first electronic device is connected to M personnel entrance channels, M is an integer greater than 1; the method comprises: The first electronic device acquires the number of people in the target detection area of the M personnel entrance passages; the target detection area is an area within a preset range with the entrance positions of the M personnel entrance passages as the boundary; The first electronic device determines the temperature measurement mode according to the correspondence between the number of people in the target detection area and the temperature measurement mode; the temperature measurement mode includes a single-person temperature measurement mode, a multi-person temperature measurement mode and a full-channel temperature measurement mode; When the number of people in the target detection area is greater than a first threshold, the first electronic device determines that the temperature measurement mode is a full-channel temperature measurement mode; When the number of people in the detection area is less than a second threshold, the first electronic device determines that the temperature measurement mode is a single-person temperature measurement mode; When the number of people in the detection area is greater than the second threshold and less than the first threshold, the first electronic device determines that the temperature measurement mode is a multi-person temperature measurement mode; and the first threshold is greater than the second threshold; The first electronic device determines a target passage mode according to the correspondence between the temperature measurement mode and the passage mode; the first electronic device controls the M personnel entrance channels to be opened or closed according to the target passage mode; Wherein, in the single-person temperature measurement mode, the passage mode is a single-channel passage mode, and one of the M channels is open; In the multi-person temperature measurement mode, N people are supported to measure temperature at the same time. The passage mode is a multi-channel passage mode, and N channels among the M channels are open, where N is an integer and 1<N<M; In the full-channel temperature measurement mode, M people are supported to measure temperature at the same time. The access mode is the full-channel access mode, and all the M channels are open.
2. The method according to claim 1, characterized in that The first electronic device obtains the number of personnel in the target detection area of the M personnel entrance channels, including: The first electronic device acquires an image of the target detection area; The first electronic device determines the number of people in the target detection area according to the image of the target detection area.
3. The method according to claim 1, characterized in that After the first electronic device determines the target traffic mode according to the correspondence between the number of people in the target detection area and the temperature measurement mode, and the correspondence between the temperature measurement mode and the traffic mode, the method further includes: The first electronic device sends out a first prompt message; the first prompt message is used to indicate an open personnel entrance channel in the target traffic mode.
4. A channel control device, characterized in that: The device is applied to a first electronic device, the first electronic device is connected to M personnel entrance channels, M is an integer greater than 1; the device comprises: an acquisition module and a processing module; The acquisition module is used to acquire the number of personnel in the target detection area of the M personnel entrance passages; the target detection area is an area within a preset range with the entrance positions of the M personnel entrance passages as the boundary; The processing module is used to determine the temperature measurement mode according to the correspondence between the number of people in the target detection area and the temperature measurement mode; the temperature measurement mode includes a single-person temperature measurement mode, a multi-person temperature measurement mode and a full-channel temperature measurement mode; when the number of people in the target detection area is greater than a first threshold, the first electronic device determines that the temperature measurement mode is a full-channel temperature measurement mode; when the number of people in the detection area is less than a second threshold, the first electronic device determines that the temperature measurement mode is a single-person temperature measurement mode; when the number of people in the detection area is greater than the second threshold and less than the first threshold, the first electronic device determines that the temperature measurement mode is a multi-person temperature measurement mode; the first threshold is greater than the second threshold; determine the target passage mode according to the correspondence between the temperature measurement mode and the passage mode; control the M personnel entrance channels to be opened or closed according to the target passage mode; Wherein, in the single-person temperature measurement mode, the passage mode is a single-channel passage mode, and one of the M channels is open; In the multi-person temperature measurement mode, N people are supported to measure temperature at the same time. The passage mode is a multi-channel passage mode, and N channels among the M channels are open, where N is an integer and 1<N<M; In the full-channel temperature measurement mode, M people are supported to measure temperature at the same time. The access mode is the full-channel access mode, and all the M channels are open.
5. An electronic device, characterized in that: The electronic device comprises: a processor and a memory; The memory stores instructions executable by the processor; When the processor is configured to execute the instructions, the electronic device implements the method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes: computer software instructions; When the computer software instructions are executed in an electronic device, the electronic device implements the method according to any one of claims 1 to 3.
7. A channel control system, characterized in that: The system includes: a first electronic device and M personnel entrance channels, M is an integer greater than 1; the first electronic device is connected to the M personnel entrance channels; the first electronic device is used to execute the method described in any one of claims 1 to 3 to control the M personnel entrance channels to be opened or closed.
