A covered socket control method, system, storage medium and intelligent terminal

By real-time identification of user location and socket status, the opening and closing of the cover is automatically controlled, solving the problems of inconvenience in using covered sockets and dust accumulation, and achieving the convenience and dust-proof effect of the sockets.

CN116315831BActive Publication Date: 2025-09-16ZHEJIANG VACIN BIO PHARMA LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310094749.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-14
Publication Date
2025-09-16
Estimated Expiration
2043-01-14

AI Technical Summary

Technical Problem

Existing covered sockets require workers to manually operate the cover, which is inconvenient to use and easily accumulates dust.

Method used

By real-time identification of the status information of the identification area, the opening and closing of the cover is automatically controlled, and intelligent switching is performed according to the user's location and socket status to reduce dust accumulation.

Benefits of technology

The convenience of using the socket and the dust-proof effect are improved, and the automatic operation of the cover plate reduces the user's operation steps and enhances the practicality of the socket.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116315831B_ABST
    Figure CN116315831B_ABST
Patent Text Reader

Abstract

The present application relates to a method, system, storage medium, and intelligent terminal for controlling a covered socket, and relates to the field of power socket technology. The method includes obtaining recognition status information of a preset recognition area in real time; defining the recognition status information before a preset unit time as initial status information; determining whether the state corresponding to the current recognition status information is consistent with the state corresponding to the initial status information; if consistent, maintaining the original state; if inconsistent, outputting a state switching signal, obtaining the operating position of the cover plate, and determining whether the operating position is consistent with the preset blocking position; if the operating position is consistent with the blocking position, controlling the cover plate to switch to the preset open position; if the operating position is inconsistent with the blocking position, controlling the cover plate to switch to the blocking position. The present application has the effect of improving the convenience of using the socket.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power socket technology, and in particular to a method, system, storage medium and intelligent terminal for controlling a covered socket. Background Art

[0002] A socket is a receptacle that accepts one or more circuit wires. Various wires can be inserted into it to power external devices and ensure normal operation. When the socket is not in use, dust tends to migrate toward the socket and adhere to it, causing dust accumulation over time. To address this issue, various dust-resistant sockets have been designed.

[0003] In the related art, there is a dust-proof socket which is a covered socket. The socket is designed to be built into the wall, and a corresponding cover is provided at the opening of the wall. The cover is provided with a hole for the power cord to extend out. When the staff needs to insert an external plug into the socket, the staff manually slides the cover upwards to expose the socket to the outside. At this time, the plug can be inserted into the socket. After the plug is inserted or the plug is no longer needed, the staff slides the cover downwards to cover the wall opening, so that the entire socket can be hidden in the wall, making it difficult for external dust to adhere to the socket.

[0004] With respect to the above-mentioned related technologies, the inventor believes that the staff needs to manually move the cover when the staff needs to use the socket and when the use is completed, which makes the overall convenience of using the socket less convenient and there is still room for improvement. Summary of the Invention

[0005] In order to improve the convenience of using the socket, the present application provides a cover-type socket control method, system, storage medium and intelligent terminal.

[0006] In a first aspect, the present application provides a method for controlling a covered socket, which adopts the following technical solution:

[0007] A method for controlling a covered socket, comprising:

[0008] Acquire recognition status information of a preset recognition area in real time, where the recognition area is the ground area in front of the wall where the socket is located; define the recognition status information before a preset unit time as initial state information;

[0009] Determine whether the state corresponding to the current recognition state information is consistent with the state corresponding to the initial state information;

[0010] If the state corresponding to the current recognition state information is consistent with the state corresponding to the initial state information, the original state is maintained;

[0011] If the state corresponding to the current recognition state information is inconsistent with the state corresponding to the initial state information, a state switching signal is output, and the operating position of the cover plate is obtained, and it is determined whether the operating position is consistent with the preset blocking position;

[0012] If the working position is consistent with the blocking position, the cover plate is controlled to switch to the preset open position;

[0013] If the operating station is inconsistent with the blocking station, the cover plate is controlled to switch to the blocking station.

[0014] By adopting the above technical solution, the recognition status of the recognition area is first obtained to determine whether there is a staff member entering or leaving the area. When the status changes, the work station of the socket is switched so that when the staff enters the recognition area, the cover on the socket can be opened for normal use by the staff. At the same time, when the staff leaves the recognition area, the cover can be controlled to block the opening to reduce external dust from adhering to the socket, thereby improving the convenience of using the socket.

[0015] Optionally, if the operating station is consistent with the shielding station, the shielding socket control method further includes:

[0016] After the state switching signal is output, the user's initial position information in the recognition area is obtained, and a preset fixed time countdown is controlled;

[0017] When the fixed timer reaches zero, the user's final position in the identification area is obtained;

[0018] Determine the target path based on the initial location information and the preset socket location, and determine the actual path based on the initial location information and the end location information;

[0019] Determine the deviation angle information based on the target path and the actual path;

[0020] Determine whether the angle corresponding to the deviation angle information is greater than a preset deviation upper limit angle;

[0021] If the angle corresponding to the deviation angle information is greater than the deviation upper limit angle, the cover plate is controlled to maintain at the blocking position;

[0022] If the angle corresponding to the deviation angle information is not greater than the deviation upper limit angle, the cover plate is controlled to switch to the open station.

[0023] By adopting the above technical solution, the movement of the user entering the identification area is identified and analyzed to determine whether the user needs to use the socket. When the user does not approach the socket, the cover can be controlled not to open to ensure the stability of the socket when not in use.

[0024] Optionally, if the angle corresponding to the deviation angle information is not greater than the deviation upper limit angle, the method for switching the cover plate to the open station includes:

[0025] Determine the moving distance information based on the actual path;

[0026] Determine the moving speed information based on the moving distance information and the fixed time length;

[0027] Determine the required distance information based on the termination location information and the socket location, and calculate the shortest duration information based on the required distance information and the moving speed information;

[0028] Determine whether the duration value corresponding to the shortest duration information is greater than a preset reference duration value;

[0029] If the duration value corresponding to the shortest duration information is greater than the reference duration value, the cover plate is controlled to switch to the open station at a preset reference speed;

[0030] If the duration value corresponding to the shortest duration information is not greater than the reference duration value, the transformation speed is determined according to the preset transformation distance value and the shortest duration information, and the cover plate is controlled to switch to the open workstation at the transformation speed.

[0031] By adopting the above technical solution, the speed of switching the cover plate can be controlled according to the user's movement speed, so that the user can complete the position switching when the cover plate moves in front of the socket, thereby facilitating subsequent use by the user.

[0032] Optionally, a method for determining movement speed information is further included, the method comprising:

[0033] Divide the fixed duration into a preset fixed number of detection durations, and obtain the detection location information of the user at the endpoint of each detection duration within the detection area;

[0034] The detection speed is determined by calculating the detection time and the corresponding two detection position information;

[0035] Determine whether the detection speed of the detection time at the back end of two adjacent detection time periods is greater than the detection speed of the detection time at the front end;

[0036] If the detection speed of the back-end detection time is not greater than the detection speed of the front-end detection time, the back-end detection time is defined as an invalid time.

[0037] If the detection speed of the back-end detection time is greater than the detection speed of the front-end detection time of two adjacent detection time periods, the back-end detection time period is defined as the effective time period;

[0038] Counting forward from the last detection duration to determine the continuous number of consecutive valid durations;

[0039] Determine whether the quantity value corresponding to the continuous quantity information is greater than a preset reference quantity value;

[0040] If the quantity value corresponding to the continuous quantity information is not greater than the reference quantity value, the average speed is calculated based on the moving distance information and the fixed time to determine the moving speed information;

[0041] If the quantity value corresponding to the continuous quantity information is greater than the reference quantity value, the preset maximum speed is determined as the speed corresponding to the moving speed information.

[0042] By adopting the above technical solution, the user's movement situation can be analyzed to determine whether the user is in a state of continuous acceleration. When the user is moving in the direction of the socket at a continuous acceleration, the user's movement speed is determined at the fastest speed, so that the subsequent movement of the cover plate can better meet the user's needs.

[0043] Optionally, if the operating station is inconsistent with the shielding station, the shielding socket control method further includes:

[0044] Get the power supply status information of the socket;

[0045] Determine whether the state corresponding to the power supply state information is consistent with the preset power output state;

[0046] If the state corresponding to the power supply state information is inconsistent with the power output state, the cover plate is controlled to switch to the blocking position;

[0047] If the state corresponding to the power supply state information is consistent with the power output state, then the socket image information is obtained, and feature recognition is performed in the image corresponding to the socket image information to determine the wire feature information;

[0048] Determine wire radius information according to features corresponding to wire feature information;

[0049] Perform difference calculation based on the preset closing distance and wire radius information to determine the difference distance;

[0050] The extrusion plates preset on both sides of the wall opening are controlled to move relative to each other by a difference distance so that the wires move to the center, and then the covering plate is controlled to switch to the blocking position.

[0051] By adopting the above technical solution, the power supply situation of the socket is first analyzed to determine whether there is a plug connected to the socket. When a plug is in use, the thickness of the wire is analyzed to control the extrusion plates on both sides to squeeze the wire and move the wire to the center. At this time, when the cover plate switches to the blocking position, the wire can be exposed from the corresponding hole.

[0052] Optionally, a method for moving the extrusion plate is further included, the method comprising:

[0053] Determine the position information of the wire according to the image corresponding to the socket image information;

[0054] Determine the spacing distance information based on the wire position information and each extrusion plate, and determine the spacing distance information with the smaller corresponding distance value among the two spacing distance information according to a preset sorting rule, and define the distance value corresponding to the spacing distance information as the nearest distance, and define the corresponding extrusion plate as the nearest plate;

[0055] Determine the pushing distance by performing difference calculation based on the difference distance and the closest distance;

[0056] The neutral speed is determined by calculating based on the pushing distance, the nearest distance, the preset moving time and the preset pushing speed; the standard speed is determined by calculating based on the difference distance and the moving time;

[0057] The nearest plate is controlled to move the nearest distance at the neutral speed and then move the pushing distance at the pushing speed, and the other extrusion plate is controlled to move the difference distance at the standard speed.

[0058] By adopting the above technical solution, the extrusion plate that needs to push the wire to move can be determined, so that when the extrusion plate pushes the wire to move synchronously, the corresponding movement speed can be slowed down, thereby reducing the occurrence of large wear caused by the wire moving too fast.

[0059] Optionally, the method for controlling the cover plate to switch to the blocking position includes:

[0060] Determine wire diameter information based on wire radius information;

[0061] The actual downward distance is determined by performing a difference calculation based on the preset lowering distance and the diameter length corresponding to the wire diameter information; the cover plate is controlled to move the actual downward distance along the preset switching direction to realize the switching of the cover plate to the shielding station.

[0062] By adopting the above technical solution, the cover plate can be controlled to switch to the blocking position according to the thickness of the wire, so that the wire can be exposed from the corresponding hole without flowing out of the hole that is too large, thereby reducing the occurrence of external dust entering the socket through the holes where the wire is exposed.

[0063] In a second aspect, the present application provides a covered socket control system, which adopts the following technical solution:

[0064] A covered socket control system, comprising:

[0065] An acquisition module is used to obtain recognition status information of a preset recognition area in real time, where the recognition area is the ground area in front of the wall where the socket is located;

[0066] A processing module, connected to the acquisition module and the judgment module, for storing and processing information;

[0067] The judgment module is connected with the acquisition module and the processing module and is used for judging the information;

[0068] The processing module defines the recognition state information before the preset unit time as the initial state information;

[0069] The judgment module judges whether the state corresponding to the current recognition state information is consistent with the state corresponding to the initial state information;

[0070] If the judging module determines that the state corresponding to the current recognition state information is consistent with the state corresponding to the initial state information, the processing module maintains the original state;

[0071] If the judgment module determines that the state corresponding to the current recognition state information is inconsistent with the state corresponding to the initial state information, the processing module outputs a state switching signal, and causes the acquisition module to obtain the working position of the cover plate, and causes the judgment module to determine whether the working position is consistent with the preset blocking position;

[0072] If the judgment module determines that the working station is consistent with the blocking station, the processing module controls the cover plate to switch to the preset open station; if the judgment module determines that the working station is inconsistent with the blocking station, the processing module controls the cover plate to switch to the blocking station.

[0073] By adopting the above technical solution, the acquisition module first obtains the recognition status of the recognition area, so that the judgment module can judge whether there is a staff member entering or leaving the area. When the judgment module determines that a state change occurs, the processing module controls the socket's work station to switch, so that when the staff enters the recognition area, the cover on the socket can be opened for normal use by the staff. At the same time, when the staff leaves the recognition area, the cover can be controlled to cover the opening to reduce external dust adhering to the socket, thereby improving the convenience of using the socket.

[0074] In a third aspect, the present application provides a smart terminal that adopts the following technical solution:

[0075] An intelligent terminal comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and execute any one of the above-mentioned methods for controlling a covered socket.

[0076] By adopting the above technical solution, through the use of smart terminals, the recognition status of the recognition area is first obtained to determine whether there is a staff member entering or leaving the area. When the status changes, the work station of the socket is switched so that when the staff enters the recognition area, the cover on the socket can be opened for normal use by the staff. At the same time, when the staff leaves the recognition area, the cover can be controlled to block the opening to reduce external dust adhering to the socket, thereby improving the convenience of using the socket.

[0077] In a fourth aspect, the present application provides a computer storage medium capable of storing corresponding programs, which has the feature of improving the convenience of using the socket, and adopts the following technical solutions:

[0078] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any of the above-mentioned methods for controlling a covered socket.

[0079] By adopting the above technical solution, a computer program of a covered socket control method is stored in a storage medium, which first obtains the recognition status of the recognition area to determine whether a staff member has entered or left the area. When a status change occurs, the work station of the socket is switched so that when the staff member enters the recognition area, the cover on the socket can be opened for normal use by the staff member. At the same time, when the staff member leaves the recognition area, the cover can be controlled to block the opening to reduce external dust from adhering to the socket, thereby improving the convenience of using the socket.

[0080] In summary, this application includes at least one of the following beneficial technical effects:

[0081] 1. It can identify the user's location so that when the user needs to use the socket or has finished using the socket, the cover on the socket can automatically open or close to improve the convenience of socket use;

[0082] 2. When the cover is opening, the speed of opening is controlled according to the user's movement, so that the cover can complete the position switching when the user moves to the front of the cover, so as to facilitate normal use of the user;

[0083] 3. During the closing process of the cover plate, the position and thickness of the wires can be identified so that the wires can be better exposed from the holes in the cover plate. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] Figure 1 It is a flow chart of the covered socket control method.

[0085] Figure 2 This is a schematic diagram of the identification area and the wall.

[0086] Figure 3This is a diagram of the socket and cover.

[0087] Figure 4 Flowchart of a method for determining user movement status.

[0088] Figure 5 It is a flow chart of the method for determining the opening speed of the cover plate.

[0089] Figure 6 is a flow chart of a method for determining movement speed.

[0090] Figure 7 This is a flow chart of a method for adjusting the position of electric wires.

[0091] Figure 8 This is a schematic diagram showing the placement of wires.

[0092] Figure 9 It is a flow chart of the extrusion plate movement control method.

[0093] Figure 10 It is a flow chart of the cover plate closing control method.

[0094] Figure 11 It is a module flow chart of the covered socket control method. DETAILED DESCRIPTION

[0095] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-11 It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.

[0096] The embodiments of the present application are described in further detail below with reference to the accompanying drawings.

[0097] An embodiment of the present application discloses a method for controlling a covered socket, which performs status recognition on an identification area. When a user is detected and approaches the socket, the cover on the socket can be opened at an appropriate speed according to the user's movement speed, so that the user can use the socket normally when moving to the location of the socket; when the user leaves the corresponding identification area, the wire inserted into the socket can be identified, and the wire can be controlled to move to the corresponding position, so that the cover can better close the socket opening to reduce the occurrence of external dust entering the socket.

[0098] Reference Figure 1 The method flow of the covered socket control method includes the following steps:

[0099] Step S100: Acquire recognition status information of a preset recognition area in real time.

[0100] Reference Figure 2 The identification area is the ground area in front of the wall where the socket is located. The size of this area is set by the staff according to the actual situation. The area is paved with RFID identification equipment to identify the RFID chip. The state corresponding to the identification status information is the identification state of the RFID identification device. The states include whether the RFID chip is identified or not. The corresponding RFID chip can be installed on the bottom of the user's shoes to facilitate signal collection.

[0101] Step S101: defining recognition state information before a preset unit time length as initial state information.

[0102] The unit duration is a fixed value set by the staff. Generally, it is the duration for the user to move one step or so. The corresponding recognition state information is defined as the initial state information for identification, so as to distinguish different recognition state information and facilitate subsequent analysis.

[0103] Step S102: Determine whether the state corresponding to the current recognition state information is consistent with the state corresponding to the initial state information.

[0104] The purpose of the judgment is to know whether the recognition situation in the recognition area has changed.

[0105] Step S1021: If the state corresponding to the current recognition state information is consistent with the state corresponding to the initial state information, the original state is maintained.

[0106] When the state corresponding to the current recognition state information is consistent with the state corresponding to the initial state information, it means that the recognition situation in the recognition area has not changed, that is, no corresponding user enters the recognition area or no corresponding user leaves the recognition area. At this time, no additional operation is required to maintain the original state.

[0107] Step S1022: If the state corresponding to the current recognition state information is inconsistent with the state corresponding to the initial state information, a state switching signal is output, and the operating position of the cover plate is obtained, and it is determined whether the operating position is consistent with the preset blocking position.

[0108] When the state corresponding to the current recognition state information is inconsistent with the state corresponding to the initial state information, it indicates that the recognition situation on the recognition area has changed, that is, the corresponding user has entered the recognition area or the corresponding user has left the recognition area. At this time, the person needs to use the socket or has finished using the socket and needs to control the socket; the state switching signal is output to identify the situation for subsequent control analysis; refer to Figure 3The cover plate is a component set at the opening of the wall where the socket is located to cover the wall opening. The cover plate can be moved in the height direction, and the movement of the cover plate can be driven by a motor. A hole for exposing the power line is opened on the cover plate, so that when the plug is connected to the socket, the wire can extend out of the wall for normal use; the working station is the station where the cover plate is located, and the blocking station is a station set by the staff to completely cover the wall opening. The purpose of the judgment is to know whether the current socket is in an open state for normal use by the user.

[0109] Step S10221: If the working station is consistent with the shielding station, the shielding plate is controlled to switch to the preset open station.

[0110] When the working station is consistent with the blocking station, it means that the current cover plate is in the state of covering the wall opening, that is, the socket cannot be inserted and used normally at this time. The open station is a station where the cover plate does not cover the wall opening so that the socket can be used normally. The cover plate is controlled to switch to the open station so that the cover plate can realize station switching to meet usage needs.

[0111] Step S10222: If the working station is not consistent with the shielding station, the shielding plate is controlled to switch to the shielding station.

[0112] When the working station is inconsistent with the blocking station, it means that the current socket is in the open state, which means that the user has finished using the socket and left the recognition area. At this time, the cover is controlled to switch to the blocking station to realize station switching to meet the usage needs.

[0113] Reference Figure 4 If the operating station is consistent with the shielding station, the shielding socket control method further includes:

[0114] Step S200: After the state switching signal is output, the initial position information of the user in the identification area is obtained, and a preset fixed time countdown is controlled.

[0115] The position corresponding to the initial position information is the position of the user in the identification area after the state switching signal is output. The position can be determined by the position identified by the RFID signal, and the fixed time length is the fixed time length set by the staff.

[0116] Step S201: obtaining the user's end position information in the identification area when the fixed timer returns to zero.

[0117] The location corresponding to the end location information is the location of the user after entering the identification area for a fixed period of time.

[0118] Step S202: determining a target path according to the initial position information and the preset socket position, and determining an actual path according to the initial position information and the end position information.

[0119] Reference Figure 2 , the socket position is the projection position of the socket on the recognition area, the target path is the moving path of the user from the initial position to the socket position, and the actual path is the moving path of the user from the initial position to the end position.

[0120] Step S203: Determine deviation angle information according to the target path and the actual path.

[0121] The angle corresponding to the deviation angle information is the angle formed by the target path and the actual path.

[0122] Step S204: determining whether the angle corresponding to the deviation angle information is greater than a preset deviation upper limit angle.

[0123] The upper limit of the deviation angle is the maximum deviation angle allowed when the staff determines that the user is moving toward the socket. The purpose of the judgment is to know whether the user is moving toward the socket, so as to determine whether the user needs to use the socket.

[0124] Step S2041: If the angle corresponding to the deviation angle information is greater than the deviation upper limit angle, the shielding plate is controlled to remain at the shielding position.

[0125] When the angle corresponding to the deviation angle information is greater than the deviation upper limit angle, it means that the user is not approaching the socket, that is, the user does not need to use the socket. At this time, the cover plate can be controlled to maintain the blocking position.

[0126] Step S2042: If the angle corresponding to the deviation angle information is not greater than the deviation upper limit angle, the cover plate is controlled to switch to the open station.

[0127] When the angle corresponding to the deviation angle information is not greater than the deviation upper limit angle, it means that the user is approaching the socket. At this time, the user needs to use the socket and switches the cover plate to the open station so that the user can use the socket normally later.

[0128] Reference Figure 5 If the angle corresponding to the deviation angle information is not greater than the deviation upper limit angle, the method for switching the cover plate to the open station includes:

[0129] Step S300: Determine the moving distance information according to the actual path.

[0130] The distance value corresponding to the moving distance information is the path length of the actual path, which can be determined by the coordinate points corresponding to the initial position and the end position.

[0131] Step S301: Determine moving speed information according to moving distance information and fixed time duration.

[0132] The speed value corresponding to the moving speed information is the speed value of the user moving within a fixed time period after entering the recognition area, and is determined by dividing the distance value corresponding to the moving distance information by the fixed time period.

[0133] Step S302: Determine required distance information according to the termination location information and the socket location, and perform calculations based on the required distance information and the moving speed information to determine the shortest duration information.

[0134] The distance value corresponding to the required distance information is the distance the user needs to move from the end position to the socket position, and the duration value corresponding to the shortest duration information is the duration value required for the user to move the distance corresponding to the required distance information at the speed value corresponding to the moving speed information, which is determined by dividing the distance value corresponding to the required distance information by the speed value corresponding to the moving speed information.

[0135] Step S303: Determine whether the duration value corresponding to the shortest duration information is greater than a preset reference duration value.

[0136] The benchmark duration value is the duration that the cover plate can move at the slowest speed set by the staff and can move from the blocked workstation to the open workstation. The purpose of the judgment is to know whether the duration value for the current user to move to the socket is sufficient for the cover plate to move at the slowest speed.

[0137] Step S3031: If the duration value corresponding to the shortest duration information is greater than the reference duration value, the cover plate is controlled to switch to the open workstation at a preset reference speed.

[0138] When the duration value corresponding to the shortest duration information is greater than the reference duration value, it means that the current cover plate can move at the slowest speed. The cover plate is then controlled to switch to the open workstation at the reference speed to make the cover plate move more stably and reduce the occurrence of unexpected failures caused by the cover plate moving too fast. The reference speed is the slowest speed set by the staff.

[0139] Step S3032: If the duration value corresponding to the shortest duration information is not greater than the reference duration value, the transformation speed is determined according to the preset transformation distance value and the shortest duration information, and the cover plate is controlled to switch to the open station at the transformation speed.

[0140] When the duration value corresponding to the shortest duration information is not greater than the reference duration value, it means that the cover cannot move at the slowest speed. At this time, it is necessary to further analyze and determine the speed of the cover movement; the transformation distance value is the distance the cover needs to travel from the blocking station to the open station, and the transformation speed is the speed required for the current cover movement, which is determined by dividing the transformation distance value by the duration value corresponding to the shortest duration information.

[0141] Reference Figure 6 , further comprising a method for determining movement speed information, the method comprising:

[0142] Step S400: Divide the fixed duration into a preset fixed number of detection durations, and obtain detection position information of the user at the endpoint of each detection duration within the detection area.

[0143] The fixed number is a fixed value number set by the staff based on actual conditions. The fixed duration is evenly divided into multiple detection durations, and each detection duration can be analyzed. The location corresponding to the detection position information is the user's location in the detection area at the time point of each detection duration endpoint.

[0144] Step S401: performing calculation based on the same detection duration and two corresponding detection position information to determine the detection speed.

[0145] The detection speed is the average speed of the user's movement during the detection time. It is calculated by the detection positions of the front and back endpoints of the same detection time to determine the distance traveled during the detection time, and then divided by the detection time to determine the speed.

[0146] Step S402: determining whether the detection speed of the detection duration at the rear end of two adjacent detection durations is greater than the detection speed of the detection duration at the front end.

[0147] The purpose of the judgment is to find out whether the user has accelerated during the adjacent detection time.

[0148] Step S4021: If the detection speed of the detection time at the back end of two adjacent detection time periods is not greater than the detection speed of the detection time at the front end, the detection time at the back end is defined as an invalid time period.

[0149] When the detection speed of the detection time at the back end of two adjacent detection times is not greater than the detection speed of the detection time at the front end, it means that the user has not accelerated. At this time, the detection time at the back end is defined as an invalid time for identification, so as to distinguish different detection times and facilitate further analysis later.

[0150] Step S4022: If the detection speed of the detection time at the back end of two adjacent detection time periods is greater than the detection speed of the detection time at the front end, the detection time at the back end is defined as the effective time period.

[0151] When the detection speed of the detection time at the back end of two adjacent detection times is greater than the detection speed of the detection time at the front end, it indicates that the user has accelerated. At this time, the detection time at the back end is defined as the effective time for identification, so as to distinguish different detection times and facilitate further analysis later.

[0152] Step S403: Count forward from the last detection duration to determine the number of consecutive valid durations.

[0153] The quantity value corresponding to the continuous quantity information is the quantity value of the continuous valid duration counted forward along the time axis starting from the last detection duration.

[0154] Step S404: determining whether the quantity value corresponding to the continuous quantity information is greater than a preset reference quantity value.

[0155] The benchmark number value is the minimum continuous number set by the staff to determine whether the user is moving towards the socket in a hurry. The purpose of the judgment is to find out whether the user is accelerating continuously to determine whether the user is moving towards the socket in a hurry.

[0156] Step S4041: If the quantity value corresponding to the continuous quantity information is not greater than the reference quantity value, average speed calculation is performed according to the moving distance information and the fixed time length to determine the moving speed information.

[0157] When the quantity value corresponding to the continuous quantity information is not greater than the benchmark quantity value, it means that the user is not in a continuous acceleration situation, that is, the user is not in a hurry to move to the socket. At this time, the cover can move normally. At this time, the user calculates the corresponding average speed based on the moving distance information and the fixed time length as the speed corresponding to the moving speed information.

[0158] Step S4042: If the quantity value corresponding to the continuous quantity information is greater than the reference quantity value, the preset maximum speed is determined as the speed corresponding to the moving speed information.

[0159] When the quantity value corresponding to the continuous quantity information is greater than the benchmark quantity value, it indicates that the user is continuously accelerating. At this time, the fastest speed is determined as the speed corresponding to the movement speed information, so that the subsequent movement of the cover plate is relatively normal. The fastest speed is the maximum movement speed that can be achieved by an average user set by the staff.

[0160] Reference Figure 7 If the operating station is inconsistent with the shielding station, the shielding socket control method further includes:

[0161] Step S500: Acquire power supply status information of the socket.

[0162] The state corresponding to the power supply state information is the usage state of the socket, including whether a plug is connected. The corresponding state can be obtained by monitoring the current output.

[0163] Step S501: Determine whether the state corresponding to the power supply state information is consistent with the preset power output state.

[0164] The power output state is the state when a plug is inserted into the socket set by the staff. The purpose of the judgment is to know whether a plug is inserted into the socket, so as to determine whether the wire of the plug needs to be extended from the wall where the socket is located.

[0165] Step S5011: If the state corresponding to the power supply state information is inconsistent with the power output state, the shielding plate is controlled to switch to the shielding position.

[0166] When the state corresponding to the power supply status information is inconsistent with the power output state, it means that there is no plug inserted in the socket. At this time, there is no need to consider the situation of the wire extending. The cover plate can be switched to the blocking position normally so that the wall opening can be completely covered.

[0167] Step S5012: If the state corresponding to the power supply state information is consistent with the power output state, then the socket image information is obtained, and feature recognition is performed in the image corresponding to the socket image information to determine the wire feature information.

[0168] When the state corresponding to the power supply status information is consistent with the power output state, it means that a plug is in use in the socket. At this time, a wire needs to be extended and further analysis is required; the image corresponding to the socket image information is the wall opening side wall image obtained downward at the upper side wall of the socket opening. The image is obtained by a shooting component installed on the upper side wall of the socket opening with the probe facing downward. The feature corresponding to the wire feature information is the wire feature in the image. The method for feature recognition in the image can be a deep learning resume corresponding database, and analysis can be performed in the database. It is a conventional technical means for those skilled in the art and will not be elaborated on.

[0169] Step S502: determining wire radius information according to the features corresponding to the wire feature information.

[0170] The radius length corresponding to the wire radius information is the radius length of the circle formed by the wire cross section.

[0171] Step S503: performing difference calculation according to the preset closing distance and the wire radius information to determine the difference distance.

[0172] The closing distance is the distance that the extruded plates on both sides of the wall need to move when they are in contact. Figure 8Under normal circumstances, the extruded plates are located on both sides of the wall and can be extended and retracted within the wall. The difference distance is the distance the two extruded plates need to move to reserve space for current exposure. It is determined by subtracting the radius length corresponding to the wire radius information from the closing distance. The extruded plates fit together with the cover plate to fill the holes on the cover plate.

[0173] Step S504: Control the extrusion plates preset on both sides of the wall opening to move relative to each other by a difference distance so that the wires move to the center, and then control the covering plate to switch to the shielding position.

[0174] Control the relative movement of the extrusion plate on the wall so that the wires can move to the center. At this time, the wires correspond to the holes on the cover plate. When the cover plate moves toward the covering station, the wires can extend out of the holes on the cover plate to reduce the situation where the wires are misplaced and squeezed by the cover plate, resulting in damage to the wires or the cover plate cannot be moved.

[0175] Reference Figure 9 , also including a method for moving the extrusion plate, the method comprising:

[0176] Step S600: determining the position information of the wires according to the image corresponding to the socket image information.

[0177] The position corresponding to the wire position information is the position of the wire on the width of the socket opening, which is the position of the center of the wire cross section.

[0178] Step S601: Determine the spacing distance information based on the wire position information and each extrusion plate, and determine the spacing distance information with the smaller corresponding distance value among the two spacing distance information based on the preset sorting rules, and define the distance value corresponding to the spacing distance information as the nearest distance, and define the corresponding extrusion plate as the nearest plate.

[0179] The distance value corresponding to the spacing distance information is the distance value between the wire position and the extrusion plate. Under normal circumstances, the end of the extrusion plate facing the wire is aligned with the inner wall of the wall opening. The sorting rule is a method set by the staff to sort the size of the values, such as the bubble method. The sorting rule can be used to determine the smaller of the two spacing distances, so that the extrusion plate closer to the wire can be determined. At this time, the corresponding distance is defined as the nearest distance, and the corresponding extrusion plate is defined as the nearest plate for identification, so as to achieve the distinction between the two distances and the two extrusion plates, which is convenient for subsequent analysis and control.

[0180] Step S602: performing a difference calculation based on the difference distance and the closest distance to determine the pushing distance.

[0181] The pushing distance is the distance that the nearest board needs to push the wire to travel, which is determined by subtracting the nearest distance from the difference distance.

[0182] Step S603: performing calculations based on the pushing distance, the nearest distance, the preset moving time, and the preset pushing speed to determine the neutral speed.

[0183] The moving time is the time for the extrusion plate to move set by the staff. The pushing speed is the maximum speed value set by the staff when the extrusion plate pushes the wire to move so that the wire wear is low. The neutral speed is the speed value required when the nearest plate does not push the wire to move. The calculation formula is Among them, S1 is the pushing distance, v1 is the pushing speed, S2 is the nearest distance, v2 is the neutral speed, and t is the moving time.

[0184] Step S604: Calculate the standard speed based on the difference distance and the moving time.

[0185] The standard speed is the speed required for the extrusion plate to move the difference distance within the moving time, which is determined by dividing the difference distance by the moving time.

[0186] Step S605: Control the proximity plate to move at a neutral speed for a proximity distance and then at a pushing speed for a pushing distance, and control the other extrusion plate to move at a standard speed for a difference distance.

[0187] The nearest plate and another extrusion plate are controlled to move at different speeds so that they can reach the designated position synchronously while the wire movement speed is not too fast to reduce wire wear.

[0188] Reference Figure 10 , the method for controlling the cover plate to switch to the blocking station includes:

[0189] Step S700: Determine wire diameter information according to wire radius information.

[0190] The diameter length corresponding to the wire diameter information is the diameter length of the wire cross section, which is twice the radius length corresponding to the wire radius information.

[0191] Step S701: performing a difference calculation based on a preset lowering distance and a diameter length corresponding to the wire diameter information to determine an actual lowering distance.

[0192] The lowering distance is the moving distance set by the staff so that the hole can be completely retracted into the wall when the cover is lowered. The actual lowering distance is the distance when the cover is lowered to expose part of the hole for the wire to extend. It is determined by subtracting the diameter length corresponding to the wire diameter information from the lowering distance.

[0193] Step S702: controlling the shielding plate to move an actual downward distance along a preset switching direction to achieve switching of the shielding plate to the shielding station.

[0194] The switching direction is the direction in which the cover plate moves downward. The actual downward movement distance of the cover plate is controlled so that the wires can extend from the corresponding holes, so that the electrical equipment connected to the plug can be used normally while the wires will not be squeezed, thereby reducing wear and tear on the wires.

[0195] Reference Figure 11 Based on the same inventive concept, an embodiment of the present invention provides a covered socket control system, comprising: an acquisition module for acquiring recognition status information of a preset recognition area in real time, wherein the recognition area is the ground area in front of the wall where the socket is located;

[0196] A processing module, connected to the acquisition module and the judgment module, for storing and processing information;

[0197] The judgment module is connected with the acquisition module and the processing module and is used for judging the information;

[0198] The processing module defines the recognition state information before the preset unit time as the initial state information;

[0199] The judgment module judges whether the state corresponding to the current recognition state information is consistent with the state corresponding to the initial state information;

[0200] If the judging module determines that the state corresponding to the current recognition state information is consistent with the state corresponding to the initial state information, the processing module maintains the original state;

[0201] If the judgment module determines that the state corresponding to the current recognition state information is inconsistent with the state corresponding to the initial state information, the processing module outputs a state switching signal, and causes the acquisition module to obtain the working position of the cover plate, and causes the judgment module to determine whether the working position is consistent with the preset blocking position;

[0202] If the judgment module determines that the working station is consistent with the shielding station, the processing module controls the shielding plate to switch to the preset open station; if the judgment module determines that the working station is inconsistent with the shielding station, the processing module controls the shielding plate to switch to the shielding station; the proximity determination module determines whether the user needs to use the socket according to the user's movement situation, so as to facilitate the subsequent control of the socket to switch the station;

[0203] An opening speed determination module determines the speed at which the cover opens based on the speed at which the user approaches the socket, so that the socket can be used normally when the user moves to the socket;

[0204] The acceleration determination module analyzes the user's movement toward the socket to determine a more accurate movement speed of the cover;

[0205] The wire adjustment control module identifies the thickness and position of the plug wires to adjust the wire positions and facilitate subsequent position switching of the cover plate;

[0206] The extrusion plate movement control module analyzes the position of the extrusion plate and the wires to select the appropriate speed when the extrusion plate pushes the wires to move, thereby reducing wire wear;

[0207] The cover closure control module controls the cover plate to move accordingly according to the thickness of the wires, so that the wires can be exposed without leaving any extra holes, thereby reducing external dust from entering the socket through the extra holes.

[0208] Those skilled in the art will clearly understand that for the sake of convenience and brevity, the division of the above-mentioned functional modules is only used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-mentioned systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0209] An embodiment of the present invention provides a computer-readable storage medium storing a computer program capable of being loaded by a processor and executing a method for controlling a cover-type socket.

[0210] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.

[0211] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute a method for controlling a covered socket.

[0212] Those skilled in the art will clearly understand that for the sake of convenience and brevity, the division of the above-mentioned functional modules is only used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-mentioned systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0213] The above are all preferred embodiments of the present application and are not intended to limit the scope of protection of this application. Unless otherwise stated, any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features. In other words, unless otherwise stated, each feature is merely an example of a series of equivalent or similar features.

Claims

1. A method for controlling a covered socket, characterized in that: include: Obtain recognition status information of a preset recognition area in real time, where the recognition area is the ground area in front of the wall where the socket is located; Defining the recognition state information before the preset unit time as the initial state information; determining whether the state corresponding to the current recognition state information is consistent with the state corresponding to the initial state information; If the state corresponding to the current recognition state information is consistent with the state corresponding to the initial state information, the original state is maintained; if the state corresponding to the current recognition state information is inconsistent with the state corresponding to the initial state information, a state switching signal is output, and the operating position of the cover plate is obtained, and it is determined whether the operating position is consistent with the preset blocking position; if the operating position is consistent with the blocking position, the cover plate is controlled to switch to the preset open position; if the operating position is inconsistent with the blocking position, the cover plate is controlled to switch to the blocking position; If the working station is inconsistent with the shielding station, the covered socket control method also includes: obtaining the power supply status information of the socket; determining whether the state corresponding to the power supply status information is consistent with the preset power output state; if the state corresponding to the power supply status information is inconsistent with the power output state, controlling the cover plate to switch to the shielding station; if the state corresponding to the power supply status information is consistent with the power output state, obtaining the socket image information, and performing feature recognition in the image corresponding to the socket image information to determine the wire feature information; determining the wire radius information according to the features corresponding to the wire feature information; performing difference calculation according to the preset closing distance and the wire radius information to determine the difference distance; controlling the extrusion plates preset on both sides of the wall opening to move relative to each other by the difference distance so that the wire moves to the center, and then controlling the cover plate to switch to the shielding station.

2. The method for controlling a covered socket according to claim 1, wherein: If the working station is consistent with the shielding station, the covered socket control method also includes: obtaining the initial position information of the user in the identification area after the state switching signal is output, and controlling the preset fixed time countdown; obtaining the end position information of the user in the identification area when the fixed time countdown returns to zero; determining the target path according to the initial position information and the preset socket position, and determining the actual path according to the initial position information and the end position information; determining the deviation angle information according to the target path and the actual path; judging whether the angle corresponding to the deviation angle information is greater than the preset deviation upper limit angle; if the angle corresponding to the deviation angle information is greater than the deviation upper limit angle, controlling the cover plate to maintain at the shielding station; if the angle corresponding to the deviation angle information is not greater than the deviation upper limit angle, controlling the cover plate to switch to the open station.

3. The method for controlling a covered socket according to claim 2, wherein: If the angle corresponding to the deviation angle information is not greater than the deviation upper limit angle, the method for switching the cover plate to the open workstation includes: determining the moving distance information according to the actual path; determining the moving speed information according to the moving distance information and the fixed time; determining the required distance information according to the end position information and the socket position, and calculating according to the required distance information and the moving speed information to determine the shortest time information; judging whether the time value corresponding to the shortest time information is greater than a preset reference time value; if the time value corresponding to the shortest time information is greater than the reference time value, controlling the cover plate to switch to the open workstation at a preset reference speed; if the time value corresponding to the shortest time information is not greater than the reference time value, determining the transformation speed according to the preset transformation distance value and the shortest time information, and controlling the cover plate to switch to the open workstation at the transformation speed.

4. The method for controlling a covered socket according to claim 3, wherein: It also includes a method for determining moving speed information, which includes: dividing a fixed duration into a preset fixed number of detection durations, and obtaining the detection position information of the user at each detection duration endpoint within the detection area; performing calculations based on the same detection duration and the corresponding two detection position information to determine the detection speed; judging whether the detection speed of the detection duration at the rear end of the two adjacent detection durations is greater than the detection speed of the detection duration at the front end; if the detection speed of the detection duration at the rear end of the two adjacent detection durations is not greater than the detection speed of the detection duration at the front end, defining the detection duration at the rear end as an invalid duration; if the detection speed of the detection duration at the rear end of the two adjacent detection durations is greater than the detection speed of the detection duration at the front end, defining the detection duration at the rear end as a valid duration; counting forward from the last detection duration to determine the continuous quantity information of consecutive valid durations; judging whether the quantity value corresponding to the continuous quantity information is greater than a preset benchmark quantity value; if the quantity value corresponding to the continuous quantity information is not greater than the benchmark quantity value, performing average speed calculation based on the moving distance information and the fixed duration to determine the moving speed information; If the quantity value corresponding to the continuous quantity information is greater than the reference quantity value, the preset maximum speed is determined as the speed corresponding to the moving speed information.

5. The method for controlling a covered socket according to claim 1, wherein: It also includes a method for moving the extrusion plate, which includes: determining the wire position information according to the image corresponding to the socket image information; determining the interval distance information according to the wire position information and each extrusion plate, and determining the interval distance information with the smaller corresponding distance value in the two interval distance information according to a preset sorting rule, and defining the distance value corresponding to the interval distance information as the nearest distance, and defining the corresponding extrusion plate as the nearest plate; performing a difference calculation based on the difference distance and the nearest distance to determine the pushing distance; performing a calculation based on the pushing distance, the nearest distance, a preset moving time and a preset pushing speed to determine the neutral speed; performing a calculation based on the difference distance and the moving time to determine the standard speed; controlling the nearest plate to move the nearest distance at the neutral speed and then the pushing distance at the pushing speed, and controlling the other extrusion plate to move the difference distance at the standard speed.

6. The method for controlling a covered socket according to claim 1, wherein: The method for controlling the cover plate to switch to the blocking station includes: determining the wire diameter information based on the wire radius information; performing a difference calculation based on a preset lowering distance and the diameter length corresponding to the wire diameter information to determine the actual downward movement distance; and controlling the cover plate to move the actual downward movement distance along a preset switching direction to realize the switching of the cover plate to the blocking station.

7. A covered socket control system, characterized in that: include: An acquisition module is used to obtain recognition status information of a preset recognition area in real time, where the recognition area is the ground area in front of the wall where the socket is located; a processing module connected to the acquisition module and the judgment module for storing and processing information; a judgment module connected to the acquisition module and the processing module for judging information; the processing module defines the recognition state information before the preset unit time length as the initial state information; The judgment module judges whether the state corresponding to the current recognition state information is consistent with the state corresponding to the initial state information; If the judging module determines that the state corresponding to the current recognition state information is consistent with the state corresponding to the initial state information, the processing module maintains the original state; If the judgment module determines that the state corresponding to the current recognition state information is inconsistent with the state corresponding to the initial state information, the processing module outputs a state switching signal, and causes the acquisition module to obtain the working position of the cover plate, and causes the judgment module to determine whether the working position is consistent with the preset blocking position; if the judgment module determines that the working position is consistent with the blocking position, the processing module controls the cover plate to switch to the preset open position; if the judgment module determines that the working position is inconsistent with the blocking position, the processing module controls the cover plate to switch to the blocking position; If the working station is inconsistent with the shielding station, the acquisition module obtains the power supply status information of the socket; the judgment module determines whether the state corresponding to the power supply status information is consistent with the preset power output state; if the state corresponding to the power supply status information is inconsistent with the power output state, the processing module controls the shielding plate to switch to the shielding station; If the state corresponding to the power supply state information is consistent with the power output state, the acquisition module obtains the socket image information and performs feature recognition in the image corresponding to the socket image information to determine the wire feature information; the processing module determines the wire radius information based on the features corresponding to the wire feature information; the processing module performs difference calculation based on the preset closing distance and the wire radius information to determine the difference distance; the processing module controls the extrusion plates preset on both sides of the wall opening to move relative to each other by the difference distance so that the wire moves to the center, and then controls the cover plate to switch to the blocking station.

8. An intelligent terminal, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Socket with dustproof function

    CN105514677A

  • Energy-saving wall socket

    CN115275674A