[go: up one dir, main page]

CN115473094A - Intelligent socket control system, method and device and electronic equipment - Google Patents

Intelligent socket control system, method and device and electronic equipment Download PDF

Info

Publication number
CN115473094A
CN115473094A CN202211255576.3A CN202211255576A CN115473094A CN 115473094 A CN115473094 A CN 115473094A CN 202211255576 A CN202211255576 A CN 202211255576A CN 115473094 A CN115473094 A CN 115473094A
Authority
CN
China
Prior art keywords
adapter
sensor
connecting plate
user
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211255576.3A
Other languages
Chinese (zh)
Inventor
奉强
刘金鑫
首召兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Time Yaa Electronic Technology Co ltd
Original Assignee
Shenzhen Time Yaa Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Time Yaa Electronic Technology Co ltd filed Critical Shenzhen Time Yaa Electronic Technology Co ltd
Priority to CN202211255576.3A priority Critical patent/CN115473094A/en
Publication of CN115473094A publication Critical patent/CN115473094A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R29/00Coupling parts for selective co-operation with a counterpart in different ways to establish different circuits, e.g. for voltage selection, for series-parallel selection, programmable connectors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/6608Structural association with built-in electrical component with built-in single component
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • H01R13/6683Structural association with built-in electrical component with built-in electronic circuit with built-in sensor
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/70Structural association with built-in electrical component with built-in switch
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R43/00Apparatus or processes specially adapted for manufacturing, assembling, maintaining, or repairing of line connectors or current collectors or for joining electric conductors

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

The application provides an intelligent socket control system, method, device and electronic equipment, wherein the system comprises a socket body, a circuit board, a connecting plate and a driving assembly, the socket body comprises an upper cover and a base connected with the upper cover, the upper cover is provided with a jack, and the base is fixedly connected with a wall; the circuit board is arranged close to the base and provided with a conductive block; the connecting plate is arranged between the circuit board and the upper cover, the connecting plate is provided with a fixing groove, an internal gear is embedded in the fixing groove, and the connecting plate is provided with a plurality of conductive contacts; the connecting plate is inserted with adapters, the adapters correspond to the conductive contacts one by one, and the two adapters are symmetrically arranged relative to the fixing groove; the driving and rotating assembly comprises a driving and rotating motor and a straight gear, the straight gear is sleeved on an output shaft of the driving and rotating motor and is meshed with the internal gear, and the straight gear can slide up and down relative to the internal gear so as to facilitate the rotation switching of the two adapters. Make the adapter can rotate in this application, be convenient for the user and change the adapter of installing in the socket in the wall.

Description

一种智能插座控制系统、方法、装置及电子设备A smart socket control system, method, device and electronic equipment

技术领域technical field

本申请涉及插座的技术领域,具体涉及一种智能插座控制系统、方法、装置及电子设备。The present application relates to the technical field of sockets, in particular to an intelligent socket control system, method, device and electronic equipment.

背景技术Background technique

随着科技的发展,越来越多的家庭会在墙壁上安装USB接口或Type-c接口的插座,用来给不同接口的移动终端进行充电。With the development of science and technology, more and more families will install sockets with USB interfaces or Type-c interfaces on the wall to charge mobile terminals with different interfaces.

目前,大部分插座内部都会安装适配器,用来匹配合适的充电功率,以保护电池的性能,提高充电速度。At present, adapters are installed inside most sockets to match the appropriate charging power to protect battery performance and increase charging speed.

但是,由于不同移动终端的充电功率不同,当适配器不满足功率要求时,就需要专业人员将插座从墙壁上拆卸下来,以更换符合功率要求的适配器。例如,现在的适配器最大功率为10W(受内部芯片、成本以及输出口限制),而最新推出的电子产品支持20W,如果用户想要实现快充,往往需要专业人员将插座内的适配器取出更换,操作过程较为繁琐。However, since the charging power of different mobile terminals is different, when the adapter does not meet the power requirement, professionals are required to remove the socket from the wall to replace the adapter that meets the power requirement. For example, the maximum power of the current adapter is 10W (limited by the internal chip, cost and output port), while the latest electronic products support 20W. If the user wants to achieve fast charging, it often requires professionals to take out the adapter in the socket and replace it. The operation process is more complicated.

发明内容Contents of the invention

本申请提供一种智能插座控制系统、方法、装置及电子设备,本申请不再需要专业人员将插座从墙壁上拆卸下来后更换适配器,简化了适配器更换操作,提升了用户的体验感。The present application provides a smart socket control system, method, device and electronic equipment. This application does not require professionals to remove the socket from the wall and then replace the adapter, which simplifies the adapter replacement operation and improves the user experience.

在本申请的第一方面提供了一种智能插座控制系统,所述系统包括插座本体、电路板、连接板以及驱转组件,其中,In the first aspect of the present application, a smart socket control system is provided, the system includes a socket body, a circuit board, a connecting board, and a drive assembly, wherein,

所述插座本体包括上盖和底座,所述上盖与所述底座活动连接,所述上盖设置一个插孔,所述底座与墙壁固定连接;The socket body includes an upper cover and a base, the upper cover is movably connected to the base, the upper cover is provided with a jack, and the base is fixedly connected to the wall;

所述电路板紧贴于所述底座设置,且与所述底座的周向侧壁固定连接,所述电路板背离所述底座的一侧设置有导电块,所述电路板与电源线电性连接;The circuit board is arranged close to the base and is fixedly connected to the circumferential side wall of the base. A conductive block is provided on the side of the circuit board away from the base, and the circuit board is electrically connected to the power line. connect;

所述连接板为圆形板,所述连接板设置于所述上盖与所述电路板之间,所述连接板靠近所述电路板的一侧开设有固定槽,所述固定槽内嵌设有内齿轮,所述连接板靠近所述电路板的一侧设置多个导电触点,所述多个导电触点包括第一导电触点和第二导电触点;The connecting plate is a circular plate, the connecting plate is arranged between the upper cover and the circuit board, a fixing groove is opened on the side of the connecting plate close to the circuit board, and the fixing groove is embedded with An internal gear is provided, and a plurality of conductive contacts are arranged on a side of the connecting plate close to the circuit board, and the plurality of conductive contacts include a first conductive contact and a second conductive contact;

所述连接板背离所述电路板的一侧设置适配器,所述适配器与所述导电触点一一对应,所述适配器包括第一适配器和第二适配器,所述第一适配器与所述第二适配器均插接于所述连接板,所述第一适配器与所述第二适配器相对所述固定槽对称设置,充电线接口穿过所述插孔与所述第一适配器或所述第二适配器插接;An adapter is arranged on the side of the connection board away from the circuit board, and the adapters correspond to the conductive contacts one by one, and the adapters include a first adapter and a second adapter, and the first adapter and the second The adapters are all plugged into the connecting plate, the first adapter and the second adapter are symmetrically arranged relative to the fixing slot, and the charging line interface passes through the jack and the first adapter or the second adapter plugging;

所述驱转组件包括驱转电机和直齿轮,所述电路板靠近所述连接板的一侧开设有电机槽,所述驱转电机位于所述电机槽内,所述直齿轮套设于所述驱转电机的输出轴上,所述直齿轮与所述内齿轮啮合,且所述直齿轮能够相对所述内齿轮上下滑动,以便于所述驱转组件驱动所述连接板旋转,进而实现所述第一适配器与所述第二适配器旋转切换。The driving assembly includes a driving motor and a spur gear, and a motor slot is provided on the side of the circuit board close to the connecting plate, the driving motor is located in the motor slot, and the spur gear is sleeved on the On the output shaft of the drive-rotating motor, the spur gear meshes with the internal gear, and the spur gear can slide up and down relative to the internal gear, so that the drive-rotating assembly drives the connecting plate to rotate, thereby realizing The first adapter and the second adapter are rotated and switched.

通过采用上述技术方案,当适配器不满足功率要求时,通过驱转电机驱动连接板转动,从而使位于连接板上的第一适配器和第二适配器旋转,使第一适配器或者第二适配器与插孔对齐,进而实现了更换适配器的目的,不再需要专业人员将插座从墙壁上拆卸下来,简化了操作,提升了用户的体验感。By adopting the above technical solution, when the adapter does not meet the power requirements, the connecting plate is driven to rotate by the driving motor, so that the first adapter and the second adapter on the connecting plate are rotated, and the first adapter or the second adapter is connected to the jack Alignment, thereby achieving the purpose of replacing the adapter, no need for professionals to disassemble the socket from the wall, simplifying the operation, and improving the user experience.

可选的,所述系统还包括磁吸组件,所述磁吸组件包括电磁铁、铁块以及弹簧,其中,Optionally, the system further includes a magnetic attraction assembly, the magnetic attraction assembly includes an electromagnet, an iron block, and a spring, wherein,

所述磁吸组件与所述适配器配合设置,所述电磁铁通电与所述铁块吸合,所述电磁铁断电与所述铁块分离,所述磁吸组件与所述适配器一一对应设置;The magnetic assembly is set in cooperation with the adapter, the electromagnet is powered on and the iron block is attracted, the electromagnet is de-energized and separated from the iron block, and the magnetic assembly is in one-to-one correspondence with the adapter set up;

所述电磁铁嵌设于所述电路板靠近所述连接板的一侧,所述铁块嵌设于所述连接板靠近所述电路板的一侧,且所述磁吸组件靠近于所述驱转电机设置;The electromagnet is embedded on the side of the circuit board close to the connecting plate, the iron block is embedded on the side of the connecting plate close to the circuit board, and the magnetic attraction assembly is close to the Drive motor setting;

所述电路板上还开设弹簧槽,所述弹簧位于所述弹簧槽内,所述弹簧的底部与所述弹簧槽的槽底固定连接,所述弹簧的顶部与所述连接板靠近所述电路板的一侧抵接。A spring slot is also provided on the circuit board, the spring is located in the spring slot, the bottom of the spring is fixedly connected to the bottom of the spring slot, and the top of the spring is close to the connecting plate to the circuit one side of the board abuts.

通过采用上述技术方案,通过设置电磁铁和铁块,当对电磁铁断电时,电磁铁与铁块分离,弹簧发生形变将弹起连接板,使得导电触点与导电块断开,便于驱转组件驱动连接板转动;当对电磁铁通电时,电磁铁与铁块吸合,弹簧被压缩,导电触点与导电块连接,使适配器通电,便于用户使用。By adopting the above technical scheme, by setting the electromagnet and the iron block, when the electromagnet is powered off, the electromagnet will be separated from the iron block, and the deformation of the spring will pop up the connecting plate, so that the conductive contact is disconnected from the conductive block, which is convenient for driving. The rotating assembly drives the connecting plate to rotate; when the electromagnet is energized, the electromagnet is attracted to the iron block, the spring is compressed, the conductive contact is connected to the conductive block, and the adapter is energized, which is convenient for users to use.

可选的,所述系统还包括传感器和用户设备,其中,Optionally, the system further includes sensors and user equipment, wherein,

所述传感器与所述适配器配合设置,所述传感器包括第一传感器、第二传感器、第三传感器以及第四传感器,所述第一传感器、第二传感器、第三传感器以及第四传感器均嵌设于所述连接板周向侧壁,所述第一传感器用于检测所述第一导电触点与所述导电块是否连接,所述第二传感器用于检测所述第二导电触点与所述导电块是否连接,所述第三传感器用于检测所述第一适配器与所述充电线接口是否连接,所述第四传感器用于检测所述第二适配器与所述充电线接口是否连接;The sensor is set in cooperation with the adapter, the sensor includes a first sensor, a second sensor, a third sensor and a fourth sensor, and the first sensor, the second sensor, the third sensor and the fourth sensor are all embedded On the circumferential side wall of the connecting plate, the first sensor is used to detect whether the first conductive contact is connected to the conductive block, and the second sensor is used to detect whether the second conductive contact is connected to the conductive block. Whether the conductive block is connected, the third sensor is used to detect whether the first adapter is connected to the charging line interface, and the fourth sensor is used to detect whether the second adapter is connected to the charging line interface;

所述用户设备用于接收所述传感器发送的检测信号,并显示所述传感器的检测信号。The user equipment is configured to receive the detection signal sent by the sensor, and display the detection signal of the sensor.

通过采用上述技术方案,传感器嵌设在连接板的周向侧壁,便于后续拆卸;传感器能够检测导电触点与导电块的连接关系,以及适配器与充电线接口的连接关系,并且能够将带有连接关系的信号发送至用户设备,以供用户根据用户设备显示的检测信号作出相应操作,实现了通过用户设备就能够切换适配器的目的,操作简便。By adopting the above technical solution, the sensor is embedded in the circumferential side wall of the connecting plate, which is convenient for subsequent disassembly; the sensor can detect the connection relationship between the conductive contact and the conductive block, as well as the connection relationship between the adapter and the charging line interface, and can connect the The signal of the connection relationship is sent to the user equipment for the user to perform corresponding operations according to the detection signal displayed by the user equipment, so that the purpose of switching adapters through the user equipment is realized, and the operation is simple.

可选的,所述驱转组件还包括旋转编码器,所述电路板上开设有让位槽,所述旋转编码器位于所述让位槽内,所述旋转编码器与所述驱转电机电性连接。Optionally, the drive-rotation assembly further includes a rotary encoder, a relief slot is opened on the circuit board, the rotary encoder is located in the relief slot, and the rotary encoder is connected to the drive-rotation circuit. Electromechanical connection.

通过采用上述技术方案,旋转编码器能够控制驱转电机转动的速度和方向,使驱转电机带动连接板转动一定角度,从而实现更换适配器的目的。By adopting the above technical solution, the rotary encoder can control the rotation speed and direction of the driving motor, so that the driving motor drives the connecting plate to rotate at a certain angle, thereby achieving the purpose of replacing the adapter.

可选的,所述插孔能够适用USB充电线接口或Type-c充电线接口。Optionally, the jack can be adapted to a USB charging cable interface or a Type-c charging cable interface.

通过采用上述技术方案,USB接口和Type-c接口为通用的两个接口,插孔能够适用USB充电线接口和Type-c充电线接口其中的一种,便于用户和使用。By adopting the above-mentioned technical solution, the USB interface and the Type-c interface are two common interfaces, and the jack can be applied to one of the USB charging line interface and the Type-c charging line interface, which is convenient for users and use.

在本申请的第二方面提供了一种智能插座控制方法,应用于上述智能插座控制系统中,所述方法包括:In the second aspect of the present application, a smart socket control method is provided, which is applied to the above-mentioned smart socket control system, and the method includes:

所述用户设备接收所述第一传感器发送的触点断开信号,所述触点断开信号用于表示所述第一导电触点与所述导电块断开;The user equipment receives a contact disconnection signal sent by the first sensor, where the contact disconnection signal is used to indicate that the first conductive contact is disconnected from the conductive block;

展示所述触点断开信号给用户,且响应于用户输入的切换操作;presenting the contact opening signal to a user, and responding to a switching operation input by the user;

向所述旋转编码器发送工作信号,以便于所述旋转编码器控制所述驱转电机带动所述连接板转动,使得所述第二适配器旋转切换至所述第一适配器的位置。A working signal is sent to the rotary encoder, so that the rotary encoder controls the driving motor to drive the connecting plate to rotate, so that the second adapter rotates to switch to the position of the first adapter.

在本申请的第三方面提供了一种智能插座控制装置,应用于上述智能插座控制系统中,所述装置为用户设备,所述装置包括接收模块、处理模块以及发送模块,其中,In the third aspect of the present application, a smart socket control device is provided, which is applied in the above-mentioned smart socket control system, the device is a user equipment, and the device includes a receiving module, a processing module and a sending module, wherein,

所述接收模块,用于接收所述第一传感器发送的触点断开信号,所述触点断开信号用于表示所述第一导电触点与所述导电块断开;The receiving module is configured to receive a contact disconnection signal sent by the first sensor, and the contact disconnection signal is used to indicate that the first conductive contact is disconnected from the conductive block;

所述处理模块,用于展示所述触点断开信号给用户,且响应于用户输入的切换操作;The processing module is configured to display the contact opening signal to the user, and respond to a switching operation input by the user;

所述发送模块,用于向所述旋转编码器发送工作信号,以便于所述旋转编码器控制所述驱转电机带动所述连接板转动,使得所述第二适配器旋转切换至所述第一适配器的位置。The sending module is configured to send a working signal to the rotary encoder, so that the rotary encoder can control the driving motor to drive the connecting plate to rotate, so that the rotation of the second adapter can be switched to that of the first adapter. The location of the adapter.

通过采用上述技术方案,接收模块接收来自第一传感器的触点断开信号,此时,第一导电触点与导电块断开,用户通过操作用户设备控制旋转编码器工作,以使旋转编码器控制驱转电机带动连接板转动,则位于连接板上的第一适配器和第二适配器开始旋转一定角度,使得第二适配器移动至与插孔对齐,相比于传统专业人员将插座从墙壁上拆卸下来,具有操作简单的效果,提升了用户体验感。By adopting the above technical solution, the receiving module receives the contact disconnection signal from the first sensor. At this time, the first conductive contact is disconnected from the conductive block, and the user controls the operation of the rotary encoder by operating the user equipment, so that the rotary encoder Control the driving motor to drive the connecting plate to rotate, then the first adapter and the second adapter on the connecting plate start to rotate at a certain angle, so that the second adapter moves to align with the socket, compared to the traditional professional who removes the socket from the wall Down, it has the effect of simple operation and improves the user experience.

可选的,在所述接收模块接收所述第一传感器发送的触点断开信号之前,具体还包括:Optionally, before the receiving module receives the contact opening signal sent by the first sensor, it specifically further includes:

所述接收模块接收所述第三传感器发送的接口断开信号,所述接口断开信号用于表示所述第一适配器与所述充电线接口断开;The receiving module receives an interface disconnection signal sent by the third sensor, and the interface disconnection signal is used to indicate that the first adapter is disconnected from the interface of the charging line;

所述处理模块展示所述接口断开信号给用户,且响应于用户输入的针对所述电磁铁的断电操作;the processing module presents the interface disconnect signal to a user, and responds to a user-input power down operation for the electromagnet;

所述发送模块向所述电磁铁发送断电信号,以使所述电磁铁与所述铁块分离,从而使所述弹簧形变弹起所述连接板,以便于所述第一导电触点与所述导电块断开。The sending module sends a power-off signal to the electromagnet, so that the electromagnet is separated from the iron block, so that the spring deforms and pops up the connecting plate, so that the first conductive contact is in contact with the iron block. The conductive block is disconnected.

通过采用上述技术方案,当第一适配器与充电线接口断开时,接收模块将接收到第三传感器发送的接口断开信号,此时,用户能够看到用户设备上显示的接口断开信号,处理模块响应用户对电磁铁进行断电的操作,使发送模块向电磁铁发送断电信号,使得电磁铁与铁块分离,从而使弹簧弹起连接板,进而使第一导电触点与导电块断开,降低了第一导电触点与导电块连接而影响连接板转动的概率。By adopting the above technical solution, when the first adapter is disconnected from the interface of the charging line, the receiving module will receive the interface disconnection signal sent by the third sensor. At this time, the user can see the interface disconnection signal displayed on the user equipment, The processing module responds to the user's power-off operation on the electromagnet, so that the sending module sends a power-off signal to the electromagnet, so that the electromagnet is separated from the iron block, so that the spring bounces the connecting plate, and then the first conductive contact and the conductive block Disconnection reduces the probability that the first conductive contact is connected to the conductive block and affects the rotation of the connecting plate.

可选的,在所述第二适配器旋转切换至所述第一适配器的位置之后,具体还包括:Optionally, after the second adapter is rotated to switch to the position of the first adapter, it specifically further includes:

所述接收模块接收所述第四传感器发送的接口连接信号,所述接口连接信号用于表示所述第二适配器与所述充电线接口连接;The receiving module receives an interface connection signal sent by the fourth sensor, and the interface connection signal is used to indicate that the second adapter is connected to the interface of the charging line;

所述处理模块展示所述接口连接信号给用户,且响应于用户输入的针对所述电磁铁的通电操作;the processing module presents the interfacing signal to a user and is responsive to user input for energizing the electromagnet;

所述发送模块向所述电磁铁发送通电信号,以使所述电磁铁与所述铁块吸合,从而使所述弹簧压缩,以便于所述第二导电触点与所述导电块连接。The sending module sends an energization signal to the electromagnet, so that the electromagnet is attracted to the iron block, so that the spring is compressed, so that the second conductive contact is connected to the conductive block.

通过采用上述技术方案,当第二适配器切换到第一适配器的位置后,接收模块将接收到第四传感器发送的接口连接信号,此时,用户能够看到用户设备上显示的接口连接信号,处理模块响应用户对电磁铁进行通电的操作,使发送模块向电磁铁发送通电信号,使得电磁铁与铁块吸合,弹簧被压缩,连接板与电路板相互靠近,从而使第二导电触点与充电线接口连接通电,便于用户使用第二适配器进行充电。By adopting the above technical solution, when the second adapter is switched to the position of the first adapter, the receiving module will receive the interface connection signal sent by the fourth sensor. At this time, the user can see the interface connection signal displayed on the user equipment, and process the The module responds to the operation of electrifying the electromagnet by the user, so that the sending module sends an electrifying signal to the electromagnet, so that the electromagnet and the iron block are attracted, the spring is compressed, and the connecting plate and the circuit board are close to each other, so that the second conductive contact and the The charging cable interface is connected to power, which is convenient for the user to use the second adapter for charging.

在本申请的第四方面提供了一种电子设备,包括处理器、存储器、用户接口以及网络接口,所述存储器用于存储指令,所述用户接口和网络接口用于给其他设备通信,所述处理器用于执行所述存储器中存储的指令,以使所述电子设备执行如上述任意一项所述的方法。In the fourth aspect of the present application, an electronic device is provided, including a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, the The processor is configured to execute instructions stored in the memory, so that the electronic device executes the method described in any one of the above.

综上所述,本申请包括以下至少一种有益技术效果:In summary, the present application includes at least one of the following beneficial technical effects:

1.当适配器不满足功率要求时,用户通过用户设备控制驱转电机带动连接板转动,从而使位于连接板上的适配器旋转,进而实现了更换适配器的目的,不再需要专业人员将插座从墙壁上拆卸下来后更换适配器,简化了操作,提升了用户的体验感;1. When the adapter does not meet the power requirements, the user controls the drive motor to drive the connection plate to rotate through the user equipment, so that the adapter on the connection plate rotates, thereby realizing the purpose of replacing the adapter, and no longer requires professionals to remove the socket from the wall After the adapter is disassembled, the adapter is replaced, which simplifies the operation and improves the user experience;

2.当长时间不使用适配器充电时,用户设备将自动控制电磁铁断电,使电磁铁与铁块分离,从而使导电触点与导电块断开,进而使适配器断电,降低了安全隐患。2. When the adapter is not used for charging for a long time, the user equipment will automatically control the power-off of the electromagnet, so that the electromagnet is separated from the iron block, so that the conductive contact is disconnected from the conductive block, and then the adapter is powered off, reducing safety hazards .

附图说明Description of drawings

图1是本申请实施例的一种智能插座控制系统的结构示意图。FIG. 1 is a schematic structural diagram of a smart socket control system according to an embodiment of the present application.

图2是本申请实施例的一种智能插座控制系统的结构示意图。Fig. 2 is a schematic structural diagram of a smart socket control system according to an embodiment of the present application.

图3是本申请实施例的一种智能插座控制系统的结构示意图。Fig. 3 is a schematic structural diagram of a smart socket control system according to an embodiment of the present application.

图4是本申请实施例的一种智能插座控制方法的流程示意图。Fig. 4 is a schematic flowchart of a smart socket control method according to an embodiment of the present application.

图5是本申请实施例的一种智能插座控制方法的流程示意图。Fig. 5 is a schematic flowchart of a smart socket control method according to an embodiment of the present application.

图6是本申请实施例的一种智能插座控制方法的流程示意图。Fig. 6 is a schematic flowchart of a smart socket control method according to an embodiment of the present application.

图7是本申请实施例的一种智能插座控制装置的模块示意图。Fig. 7 is a block diagram of a smart socket control device according to an embodiment of the present application.

图8是本申请实施例的一种电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

附图标记说明:11、上盖;12、底座;13、插孔;21、电路板;22、导电块;23、驱转电机;24、连接板;25、适配器;26、电磁铁;27、铁块;28、弹簧;29、直齿轮;30、内齿轮;71、接收模块;72、处理模块;73、发送模块;81、处理器;82、存储器;83、用户接口;84、网络接口;85、通信总线。Description of reference signs: 11, upper cover; 12, base; 13, jack; 21, circuit board; 22, conductive block; 23, driving motor; 24, connecting plate; 25, adapter; 26, electromagnet; 27 , iron block; 28, spring; 29, spur gear; 30, internal gear; 71, receiving module; 72, processing module; 73, sending module; 81, processor; 82, memory; 83, user interface; 84, network Interface; 85. Communication bus.

具体实施方式detailed description

为了使本技术领域的人员更好地理解本说明书中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them.

在本申请实施例的描述中,“示性的”、“例如”或者“举例来说”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示性的”、“例如”或者“举例来说”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示性的”、“例如”或者“举例来说”等词旨在以具体方式呈现相关概念。In the description of the embodiments of the present application, words such as "exemplary", "for example" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design solution described as "exemplary", "for example" or "for example" in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as "exemplary", "for example" or "for example" is intended to present the relevant concepts in a concrete manner.

在本申请实施例的描述中,除非另有说明,术语“多个”的含义是指两个或两个以上。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。In the description of the embodiments of the present application, unless otherwise specified, the term "plurality" means two or more. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. The terms "including", "comprising", "having" and variations thereof mean "including but not limited to", unless specifically stated otherwise.

在对本申请实施例进行介绍之前,首先对本申请实施例中涉及的一些名词进行定义和说明。Before introducing the embodiments of the present application, some terms involved in the embodiments of the present application are firstly defined and described.

适配器:是一个接口转换器,它可以是一个独立的硬件接口设备,允许硬件或电子接口与其它硬件或电子接口相连,也可以是信息接口。Adapter: is an interface converter, which can be an independent hardware interface device that allows a hardware or electronic interface to be connected to another hardware or electronic interface, or an information interface.

电磁铁:是通电产生电磁的一种装置。通过在铁芯的外部缠绕与其功率相匹配的导电绕组,在通电之后,使其像磁铁一样具有磁性。Electromagnet: It is a device that generates electromagnetism when electrified. By winding a conductive winding matching its power on the outside of the core, it becomes magnetic like a magnet when energized.

USB接口:是英文Universal Serial Bus(通用串行总线)的缩写,是一个外部总线标准,用于规范终端设备与外部设备的连接和通讯,是应用极为广泛的接口技术。USB interface: It is the abbreviation of Universal Serial Bus (Universal Serial Bus) in English. It is an external bus standard used to standardize the connection and communication between terminal equipment and external equipment. It is an extremely widely used interface technology.

Type-c接口:是一种通用串行总线的硬件接口形式,其规范由USB开发者论坛发布。它的特点在于更加纤薄的设计、更快的传输速度以及更强悍的电力传输,更重要的是Type-C接口支持双面插入。Type-c interface: It is a hardware interface form of Universal Serial Bus, and its specification is released by the USB Developer Forum. It is characterized by a slimmer design, faster transmission speed and stronger power transmission, and more importantly, the Type-C interface supports double-sided insertion.

旋转编码器:是用来测量转速并配合PWM(Pulse width modulation,脉冲宽度调制)技术可以实现快速调速的装置,光电式旋转编码器通过光电转换,可将输出轴的角位移、角速度等机械量转换成相应的电脉冲以数字量输出。Rotary encoder: It is a device used to measure the speed and cooperate with PWM (Pulse width modulation, pulse width modulation) technology to achieve fast speed regulation. The photoelectric rotary encoder can convert the angular displacement and angular velocity of the output shaft through photoelectric conversion. The quantity is converted into the corresponding electrical pulse and output as a digital quantity.

本申请提供一种智能插座控制系统,系统包括插座本体、电路板、连接板、驱转组件、磁吸组件、传感器以及用户设备。The present application provides an intelligent socket control system. The system includes a socket body, a circuit board, a connection board, a driving and rotating assembly, a magnetic attraction assembly, a sensor and user equipment.

参照图1,插座本体包括上盖11和底座12,上盖11和底座12均为PC材质,上盖11与底座12之间为卡扣式连接。上盖11的上表面开设有一个插孔13,插孔13可以插接USB接口的充电线,也可以插接Type-c接口的充电线,具体形式根据具体情况而设定,这里不再赘述,本实施例优选为可以插接USB接口充电线的插孔13。底座12为槽形底座,底座12与墙壁通过螺钉连接,底座12可以嵌入墙壁,也可以安装在墙壁的表面,具体方式根据具体情况而设定,这里不再赘述。Referring to Fig. 1 , the socket body includes an upper cover 11 and a base 12, both of which are made of PC, and the upper cover 11 and the base 12 are snap-fitted. There is a jack 13 on the upper surface of the upper cover 11, and the jack 13 can be plugged with a charging cable of a USB interface or a charging cable of a Type-c interface. The specific form is set according to the specific situation and will not be repeated here. , this embodiment is preferably a jack 13 that can be plugged into a USB interface charging cable. The base 12 is a grooved base, and the base 12 is connected with the wall by screws. The base 12 can be embedded in the wall, or can be installed on the surface of the wall.

参照图2和图3,电路板21安装于底座12内,电路板21的周向侧壁与底座12的周向侧壁抵接。电路板21与电源线电性连接,电路板21的上表面设置有导电块22,导电块22位于插孔13的正下方,导电块22为黄铜导电块,具有良好的导电性能。驱转组件包括驱转电机23、直齿轮29以及旋转编码器,电路板21的上表面还开设电机槽,电机槽为方形槽,驱转电机23位于电机槽内,且驱转电机23外壳的底部与电机槽的槽底通过螺钉连接,驱转电机23外壳的顶部与电路板21的上表面平齐,驱转电机23的输出轴滑动插接于固定槽内。直齿轮29套设于驱转电机23的输出轴上。电路板21的上表面还开设让位槽,让位槽为圆形槽,旋转编码器位于让位槽内,且旋转编码器与驱转电机23电性连接。Referring to FIG. 2 and FIG. 3 , the circuit board 21 is installed in the base 12 , and the circumferential side wall of the circuit board 21 abuts against the circumferential side wall of the base 12 . The circuit board 21 is electrically connected to the power line. The upper surface of the circuit board 21 is provided with a conductive block 22 located directly below the jack 13. The conductive block 22 is a brass conductive block with good electrical conductivity. Drive and rotate assembly comprises drive and rotate motor 23, spur gear 29 and rotary encoder, the upper surface of circuit board 21 also offers motor groove, and motor groove is a square groove, drives and rotates motor 23 and is positioned at motor groove, and drives and rotates motor 23 shells The bottom of the bottom of the motor groove is connected by screws, the top of the casing of the driving motor 23 is flush with the upper surface of the circuit board 21, and the output shaft of the driving motor 23 is slidably inserted in the fixed groove. The spur gear 29 is sheathed on the output shaft of the driving motor 23 . The upper surface of the circuit board 21 is also provided with a relief groove, which is a circular groove, and the rotary encoder is located in the relief groove, and the rotary encoder is electrically connected with the driving motor 23 .

连接板24可以为圆形板,连接板24安装在上盖11与电路板21之间。连接板24的下表面设置多个导电触点。连接板24的下表面还开设有固定槽,固定槽为圆形槽,固定槽内嵌设有内齿轮30,内齿轮30的长度与固定槽的槽深一致,内齿轮30与直齿轮29啮合,且内齿轮30与直齿轮29能够相对上下滑动,以便于驱转组件驱动连接板24旋转。连接板24的上表面插接有多个适配器25,多个适配器25通过引脚插接于连接板24,并与连接板24下表面的多个导电触点一一对应连接,多个适配器25以固定槽的中心线为对称轴对称设置,且多个适配器25均匀地分布于连接板24的上表面。适配器25的个数可以为2个,也可以为4个,具体数量根据具体情况设定,这里不再赘述。本实施例优选为4个适配器25,4个适配器可以其中1个为第一适配器,其他3个为第二适配器。其中,多个适配器25与多个导电触点一一对应设置,例如,4个适配器25对应设置有4个导电触点和1个导电块22,1个导电块22位于插孔13的正下方,并且4个导电触点均能够与导电块22接触后通电。The connection plate 24 may be a circular plate, and the connection plate 24 is installed between the upper cover 11 and the circuit board 21 . A plurality of conductive contacts are provided on the lower surface of the connecting board 24 . The lower surface of the connecting plate 24 is also provided with a fixed groove, the fixed groove is a circular groove, the fixed groove is embedded with an internal gear 30, the length of the internal gear 30 is consistent with the groove depth of the fixed groove, and the internal gear 30 meshes with the spur gear 29 , and the internal gear 30 and the spur gear 29 can slide up and down relative to each other, so that the drive-rotating assembly can drive the connecting plate 24 to rotate. The upper surface of the connection board 24 is plugged with a plurality of adapters 25, and the plurality of adapters 25 are inserted into the connection board 24 through pins, and are connected with a plurality of conductive contacts on the lower surface of the connection board 24 in one-to-one correspondence. The central line of the fixing slot is symmetrically arranged, and a plurality of adapters 25 are evenly distributed on the upper surface of the connecting plate 24 . The number of adapters 25 can be 2 or 4, and the specific number is set according to the specific situation, and will not be repeated here. In this embodiment, there are preferably four adapters 25, one of which may be the first adapter, and the other three may be the second adapter. Wherein, a plurality of adapters 25 are provided in one-to-one correspondence with a plurality of conductive contacts, for example, four adapters 25 are correspondingly provided with four conductive contacts and one conductive block 22, and one conductive block 22 is located directly below the socket 13 , and all four conductive contacts can be energized after being in contact with the conductive block 22 .

在一种可能的实施方式中,连接板24还可以为矩形板,圆形板相比于矩形板易旋转,且在插座本体内占用空间较小,由此本实施例优选为圆形板。In a possible implementation manner, the connecting plate 24 may also be a rectangular plate, and the circular plate is easier to rotate than the rectangular plate, and occupies less space in the socket body, so this embodiment is preferably a circular plate.

参照图2和图3,磁吸组件靠近于驱转电机23安装,磁吸组件包括电磁铁26、铁块27以及弹簧28,电路板21的上表面围绕固定槽开设有环形槽,环形槽的中心线与固定槽的中心线重合,电磁铁26固定安装于环形槽内,电磁铁26为矩形柱状电磁铁,其中,电磁铁26也可以为环形电磁铁且铺设于环形槽内;连接板24的下表面还开设用于固定铁块27的插接槽,铁块27为矩形柱状铁块;电路板21的上表面还开设有弹簧槽,弹簧28位于弹簧槽内,弹簧28的底部与弹簧槽的槽底固定连接,弹簧28的顶部端面与连接板24的下表面抵接,并且弹簧28的顶部端面为平滑面,以便于驱转电机23带动连接板24转动时,减小弹簧28顶部与连接板24的摩擦力。Referring to Fig. 2 and Fig. 3, the magnetic attraction assembly is installed close to the driving motor 23, the magnetic attraction assembly includes an electromagnet 26, an iron block 27 and a spring 28, and the upper surface of the circuit board 21 is provided with an annular groove around the fixed groove, and the annular groove The central line coincides with the central line of the fixed groove, and the electromagnet 26 is fixedly installed in the annular groove. The electromagnet 26 is a rectangular columnar electromagnet, wherein the electromagnet 26 can also be an annular electromagnet and be laid in the annular groove; the connecting plate 24 The lower surface of the circuit board 21 is also provided with a slot for fixing the iron block 27, and the iron block 27 is a rectangular columnar iron block; the upper surface of the circuit board 21 is also provided with a spring groove, and the spring 28 is positioned in the spring groove, and the bottom of the spring 28 and the spring The groove bottom of the groove is fixedly connected, and the top end surface of the spring 28 abuts against the lower surface of the connecting plate 24, and the top end surface of the spring 28 is a smooth surface, so that when the driving motor 23 drives the connecting plate 24 to rotate, the top surface of the spring 28 is reduced. Friction with the connecting plate 24.

具体地,磁吸组件与适配器25一一对应设置。例如,4个适配器25对应有4个电磁铁26、4个铁块27以及4个弹簧28,4个电磁铁26、4个铁块27以及4个弹簧28都以固定槽中心线为对称轴对称设置,插接槽和弹簧槽也各自对应设置4个。其中,4个适配器25只保证1个适配器25配合1个插孔13进行充电,另外,4个适配器25的功率大小各不相同,以满足用户不同的充电需求。Specifically, the magnetic attraction components are provided in one-to-one correspondence with the adapters 25 . For example, 4 adapters 25 correspond to 4 electromagnets 26, 4 iron blocks 27 and 4 springs 28, and the 4 electromagnets 26, 4 iron blocks 27 and 4 springs 28 all take the center line of the fixing groove as the axis of symmetry Symmetrically arranged, there are 4 socket slots and spring slots corresponding to each other. Among them, the four adapters 25 only guarantee that one adapter 25 cooperates with one socket 13 for charging. In addition, the power of the four adapters 25 is different to meet different charging needs of users.

传感器为电流传感器,当有电流经过时,能够将被测电流的信息变换成为电信号或其他所需形式的信息输出,以供用户设备显示。电流传感器包括第一传感器、第二传感器、第三传感器以及第四传感器,第一传感器、第二传感器、第三传感器以及第四传感器均嵌设于连接板24的周向侧壁,其中,周向侧壁指的是连接板24的四周外侧壁,便于后续拆卸。当导电触点与导电块22连接通电后,第一传感器和第二传感器便能工作,并将检测信号发送至用户设备,反之导电触点与导电块22断开断电时,第一传感器和第二传感器不工作;当适配器25与充电线接口连接时,第三传感器和第四传感器便将接口连接信号发送至用户设备,反之适配器25与充电线接口断开时,第三传感器和第四传感器不工作。另外,传感器可以安装在任意能够检测到相应被测信号的位置,被测信号可以包括导电触点与导电块22的连接或断开信号、充电线接口与适配器25的连接或断开信号。The sensor is a current sensor, which can convert the information of the measured current into an electrical signal or other required form of information output when a current passes through, for display by the user equipment. The current sensor includes a first sensor, a second sensor, a third sensor and a fourth sensor, and the first sensor, the second sensor, the third sensor and the fourth sensor are all embedded in the circumferential side wall of the connecting plate 24, wherein the circumferential The side wall refers to the outer side wall around the connecting plate 24, which is convenient for subsequent disassembly. When the conductive contact is connected to the conductive block 22 and energized, the first sensor and the second sensor can work and send a detection signal to the user equipment; otherwise, when the conductive contact is disconnected from the conductive block 22, the first sensor and the second sensor The second sensor does not work; when the adapter 25 is connected to the charging line interface, the third sensor and the fourth sensor will send the interface connection signal to the user equipment, otherwise when the adapter 25 is disconnected from the charging line interface, the third sensor and the fourth sensor will The sensor is not working. In addition, the sensor can be installed at any position capable of detecting the corresponding measured signal, and the measured signal can include a connection or disconnection signal between the conductive contact and the conductive block 22 , and a connection or disconnection signal between the charging line interface and the adapter 25 .

用户设备可以为手机,也可以为电脑,还可以为其他移动终端,具体类型根据具体情况设定,这里不再赘述。用户设备用于接收传感器发送的检测信号,并显示传感器的检测信号,以供用户输入操作。The user equipment can be a mobile phone, a computer, or other mobile terminals. The specific type is set according to the specific situation, and will not be repeated here. The user equipment is configured to receive the detection signal sent by the sensor, and display the detection signal of the sensor for the user to input and operate.

本申请实施例提供的一种智能插座控制系统的实施原理为:The implementation principle of a smart socket control system provided in the embodiment of the present application is as follows:

由于连接板24上安装有第一适配器和第二适配器,当位于插孔13正下方的第一适配器不满足功率要求时,首先,用户设备接收到第三传感器发送的第一适配器与充电线接口的接口断开信号后,用户可以通过用户设备所显示的接口断开信号,向电磁铁26发送断电信号,以使电磁铁26与铁块27分离,弹簧28将弹起连接板24;接下来,用户设备接受到第一传感器发送的第一导电触点与导电块22的触点断开信号后,用户可以通过用户设备控制旋转编码器工作,以使旋转编码器控制驱转电机23带动连接板24转动,则第二适配器被旋转切换至第一适配器的位置,此时,第二适配器位于插孔13的正下方,用户便可以将充电线接口穿过插孔13与第二适配器连接,以实现满足功率要求的充电操作。从而实现了快捷更换适配器25的目的,不再需要专业人员将插座从墙壁上拆卸下来后更换适配器25,简化了操作,提升了用户的体验感。Since the first adapter and the second adapter are installed on the connection board 24, when the first adapter directly below the jack 13 does not meet the power requirement, first, the user equipment receives the first adapter and charging line interface information sent by the third sensor. After the interface disconnects the signal, the user can disconnect the signal through the interface displayed by the user equipment, and send a power-off signal to the electromagnet 26, so that the electromagnet 26 is separated from the iron block 27, and the spring 28 will bounce the connecting plate 24; Next, after the user equipment receives the contact disconnection signal between the first conductive contact and the conductive block 22 sent by the first sensor, the user can control the rotary encoder to work through the user equipment, so that the rotary encoder controls the drive motor 23 to drive When the connecting plate 24 rotates, the second adapter is rotated to switch to the position of the first adapter. At this time, the second adapter is located directly below the jack 13, and the user can connect the charging cable interface to the second adapter through the jack 13. , to achieve a charging operation that meets the power requirements. Thus, the purpose of quickly replacing the adapter 25 is achieved, and it is no longer necessary for professionals to dismantle the socket from the wall to replace the adapter 25, which simplifies the operation and improves the user experience.

本申请还提供一种智能插座控制方法,应用于上述智能插座控制系统中,其中,The present application also provides a smart socket control method, which is applied to the above smart socket control system, wherein,

参照图4,智能插座控制方法包括步骤S410至步骤S430,上述步骤如下:Referring to Figure 4, the smart socket control method includes steps S410 to S430, the above steps are as follows:

S410、用户设备接收第一传感器发送的触点断开信号,触点断开信号用于表示第一导电触点与导电块22断开;S410. The user equipment receives a contact disconnection signal sent by the first sensor, where the contact disconnection signal is used to indicate that the first conductive contact is disconnected from the conductive block 22;

S420、展示触点断开信号给用户,且响应于用户输入的切换操作;S420. Display a contact disconnection signal to the user, and respond to a switching operation input by the user;

S430、向旋转编码器发送工作信号,以便于旋转编码器控制驱转电机23带动连接板24转动,使得第二适配器旋转切换至第一适配器的位置。S430. Send a working signal to the rotary encoder, so that the rotary encoder controls the driving motor 23 to drive the connecting plate 24 to rotate, so that the second adapter rotates and switches to the position of the first adapter.

具体地,当第一导电触点与导电块22断开后,此时,连接板24和电路板21不接触,用户根据用户设备显示的信息,通过用户设备向旋转编码器发送工作信号,使旋转编码器控制驱转电机23的输出轴转动,驱转电机23的输出轴转动带动直齿轮29转动,直齿轮29与连接板24内的内齿轮30啮合,直齿轮29转动带动内齿轮30转动,从而使连接板24转动,进而使位于连接板24上的第一适配器和第二适配器转动,最后,第二适配器旋转切换至第一适配器的位置,即插孔13的正下方,便于用户使用第二适配器进行充电。Specifically, when the first conductive contact is disconnected from the conductive block 22, the connection board 24 and the circuit board 21 are not in contact at this time, and the user sends an operating signal to the rotary encoder through the user device according to the information displayed by the user device, so that The rotary encoder controls the rotation of the output shaft of the driving motor 23. The rotation of the output shaft of the driving motor 23 drives the spur gear 29 to rotate. , so that the connection plate 24 is rotated, and then the first adapter and the second adapter located on the connection plate 24 are rotated, and finally, the second adapter is rotated to switch to the position of the first adapter, that is, directly below the jack 13, which is convenient for users to use The second adapter is used for charging.

例如,第一适配器的充电功率为12W,第二适配器的充电功率为22W,用户需要对电子产品进行快充,就需要采用功率大的第二适配器进行充电。在接收到第一传感器发送的触点断开信号后,用户可以通过用户设备控制旋转编码器工作,以使旋转编码器控制驱转电机23的输出轴转动,驱转电机23的输出轴转动带动连接板24转动,从而使位于连接板24上的第二适配器旋转切换至第一适配器的位置,便于用户后续使用第二适配器进行充电。For example, the charging power of the first adapter is 12W, and the charging power of the second adapter is 22W. If the user needs to fast charge the electronic product, he needs to use the second adapter with high power for charging. After receiving the contact opening signal sent by the first sensor, the user can control the rotary encoder to work through the user equipment, so that the rotary encoder controls the rotation of the output shaft of the drive motor 23, and the rotation of the output shaft of the drive motor 23 drives The connecting plate 24 rotates, so that the second adapter on the connecting plate 24 is rotated to switch to the position of the first adapter, which is convenient for the user to use the second adapter for charging later.

在一种可能的实施方式中,用户设备的显示屏显示的信息包括传感器的检测信号以及“是否切换适配器”的字样,用户通过选择“是”或“否”来决定是否进行切换适配器。当用户选择“是”后,用户设备响应于用户的切换操作,向旋转编码器发送工作信号,以使旋转编码器控制驱转电机23带动连接板24转动,则位于连接板24上的第一适配器和第二适配器开始旋转一定角度,使得第二适配器切换至第一适配器的位置。In a possible implementation manner, the information displayed on the display screen of the user equipment includes the detection signal of the sensor and the words "whether to switch the adapter", and the user decides whether to switch the adapter by selecting "Yes" or "No". When the user selects "Yes", the user device sends a working signal to the rotary encoder in response to the user's switching operation, so that the rotary encoder controls the drive motor 23 to drive the connecting plate 24 to rotate, and the first one located on the connecting plate 24 The adapter and the second adapter begin to rotate at an angle such that the second adapter switches to the position of the first adapter.

参照图5,智能插座控制方法还包括步骤S510至步骤S530,上述步骤如下:Referring to Fig. 5, the smart socket control method further includes steps S510 to S530, the above steps are as follows:

S510、用户设备接收第三传感器发送的接口断开信号,接口断开信号用于表示第一适配器与充电线接口断开;S510. The user equipment receives an interface disconnection signal sent by the third sensor, where the interface disconnection signal is used to indicate that the first adapter is disconnected from the interface of the charging line;

S520、展示接口断开信号给用户,且响应于用户输入的针对电磁铁26的断电操作;S520. Display an interface disconnection signal to the user, and respond to a power-off operation for the electromagnet 26 input by the user;

S530、向电磁铁26发送断电信号,以使电磁铁26与铁块27分离,从而使弹簧28形变弹起连接板24,以便于第一导电触点与导电块22断开。S530 , sending a power-off signal to the electromagnet 26 , so that the electromagnet 26 is separated from the iron block 27 , so that the spring 28 is deformed and pops up the connecting plate 24 , so that the first conductive contact is disconnected from the conductive block 22 .

具体地,当用户设备接收到第三传感器发送的接口断开信号后,用户通过用户设备向电磁铁26发送断电信号,则电磁铁26失去磁性,弹簧28发生形变,连接板24被弹簧28弹起,使得连接板24与电路板21相互远离,从而使电磁铁26与铁块27分离,并且第一导电触点与导电块22断开。Specifically, when the user equipment receives the interface disconnection signal sent by the third sensor, the user sends a power-off signal to the electromagnet 26 through the user equipment, the electromagnet 26 loses its magnetism, the spring 28 deforms, and the connecting plate 24 is held by the spring 28. Bounce up, so that the connecting plate 24 and the circuit board 21 are separated from each other, so that the electromagnet 26 is separated from the iron block 27 , and the first conductive contact is disconnected from the conductive block 22 .

参照图6,智能插座控制方法还包括步骤S610至步骤S630,上述步骤如下:Referring to Fig. 6, the smart socket control method further includes steps S610 to S630, the above steps are as follows:

S610、用户设备接收第四传感器发送的接口连接信号,接口连接信号用于表示第二适配器与充电线接口连接;S610. The user equipment receives an interface connection signal sent by the fourth sensor, where the interface connection signal is used to indicate that the second adapter is connected to the interface of the charging line;

S620、展示接口连接信号给用户,且响应于用户输入的针对电磁铁26的通电操作;S620, displaying the interface connection signal to the user, and responding to the power-on operation of the electromagnet 26 input by the user;

S630、向电磁铁26发送通电信号,以使电磁铁26与铁块27吸合,从而使弹簧28压缩,以便于第二导电触点与导电块22连接。S630 , sending an energization signal to the electromagnet 26 , so that the electromagnet 26 is attracted to the iron block 27 , so that the spring 28 is compressed, so that the second conductive contact is connected to the conductive block 22 .

具体地,当用户通过用户设备将第二适配器切换至第一适配器的位置后,若用户需要使用第二适配器进行充电,用户可以通过用户设备向电磁铁26发送通电信号,使电磁铁26产生磁性而与铁块27吸合,从而使连接板24与电路板21相互靠近,直至贴合在一起,此时,第二导电触点与导电块22连接,使第二适配器通电,便于用户使用第二适配器进行充电。Specifically, after the user switches the second adapter to the position of the first adapter through the user device, if the user needs to use the second adapter for charging, the user can send a power-on signal to the electromagnet 26 through the user device to make the electromagnet 26 generate a magnetic And with the iron block 27, so that the connecting plate 24 and the circuit board 21 are close to each other until they are attached together. Two adapters for charging.

在一种可能的实施方式中,当用户设备在预设时间内未接收到第四传感器发送的接口连接信号,其中,接口连接信号用于表示第二适配器与充电线接口连接;用户设备会自动向电磁铁26发送断电信号,以使电磁铁26与铁块27分离,从而使弹簧28形变弹起连接板24,以便于第二导电触点与导电块22断开。In a possible implementation manner, when the user equipment does not receive the interface connection signal sent by the fourth sensor within a preset time, wherein the interface connection signal is used to indicate that the second adapter is connected to the interface of the charging cable; the user equipment will automatically A power-off signal is sent to the electromagnet 26 to separate the electromagnet 26 from the iron block 27 , so that the spring 28 deforms and pops up the connecting plate 24 so that the second conductive contact is disconnected from the conductive block 22 .

具体地,在一段预设时间内,用户设备未接收到第四传感器发送的接口连接信号,这表示在这一段预设时间内,没有充电线接口与第二适配器相连接,为了降低安全隐患,用户设备会自动向电磁铁26发送断电信号,以使电磁铁26失去磁性,从而使连接板24与电路板21不接触,进而使第二导电触点与导电块22断开,最后使第二适配器断电。其中,预设时间可以为1天,也可以为2天,具体时长根据具体情况设定,这里不再赘述。Specifically, within a predetermined period of time, the user equipment does not receive the interface connection signal sent by the fourth sensor, which means that within this period of preset time, no charging line interface is connected to the second adapter. In order to reduce potential safety hazards, The user equipment will automatically send a power-off signal to the electromagnet 26, so that the electromagnet 26 loses its magnetism, so that the connecting plate 24 is not in contact with the circuit board 21, and then the second conductive contact is disconnected from the conductive block 22, and finally the second conductive contact is disconnected. Two adapters are powered off. Wherein, the preset time can be 1 day or 2 days, and the specific time is set according to the specific situation, and will not be repeated here.

在一种可能的实施方式中,用户也可以通过用户设备将暂不使用的适配器25断电。例如,当用户离开家里不再使用适配器25充电时,用户可以通过用户设备向电磁铁26发送断电信号,使电磁铁26与铁块27分离,此时弹簧28将弹起连接板24,使得导电触点与导电块22断开,从而使适配器25断电,降低了安全隐患。In a possible implementation manner, the user may also power off the temporarily unused adapter 25 through the user equipment. For example, when the user leaves home and no longer uses the adapter 25 to charge, the user can send a power-off signal to the electromagnet 26 through the user equipment, so that the electromagnet 26 is separated from the iron block 27, and now the spring 28 will bounce the connecting plate 24, so that The conductive contact is disconnected from the conductive block 22, so that the adapter 25 is powered off, reducing potential safety hazards.

本申请还提供一种智能插座控制装置,参照图7,应用于上述智能插座控制系统中,智能插座控制装置为用户设备,装置包括接收模块71、处理模块72以及发送模块73,其中,The present application also provides a smart socket control device. Referring to FIG. 7, it is applied in the above-mentioned smart socket control system. The smart socket control device is a user equipment, and the device includes a receiving module 71, a processing module 72, and a sending module 73, wherein,

接收模块71,用于接收第一传感器发送的触点断开信号,触点断开信号用于表示第一导电触点与导电块断开;The receiving module 71 is configured to receive a contact disconnection signal sent by the first sensor, and the contact disconnection signal is used to indicate that the first conductive contact is disconnected from the conductive block;

处理模块72,用于展示触点断开信号给用户,且响应于用户输入的切换操作;A processing module 72, configured to display a contact disconnection signal to the user, and respond to a switching operation input by the user;

发送模块73,用于向旋转编码器发送工作信号,以便于旋转编码器控制驱转电机23带动连接板24转动,使得第二适配器旋转切换至第一适配器的位置。The sending module 73 is configured to send a working signal to the rotary encoder, so that the rotary encoder controls the driving motor 23 to drive the connecting plate 24 to rotate, so that the second adapter rotates to switch to the position of the first adapter.

在一种可能的实施方式中,接收模块71接收第三传感器发送的接口断开信号,接口断开信号用于表示第一适配器与充电线接口断开;处理模块72展示接口连接信号给用户,且响应于用户输入的针对电磁铁26的断电操作;发送模块73向电磁铁26发送断电信号,以使电磁铁26与铁块27分离,从而使弹簧28形变弹起连接板24,以便于第一导电触点与导电块22断开。In a possible implementation manner, the receiving module 71 receives the interface disconnection signal sent by the third sensor, the interface disconnection signal is used to indicate that the first adapter is disconnected from the charging line interface; the processing module 72 displays the interface connection signal to the user, And in response to the power-off operation of the electromagnet 26 input by the user; the sending module 73 sends a power-off signal to the electromagnet 26, so that the electromagnet 26 is separated from the iron block 27, so that the spring 28 is deformed and bounces the connecting plate 24, so that The first conductive contact is disconnected from the conductive block 22 .

在一种可能的实施方式中,接收模块71接收第四传感器发送的接口连接信号,接口连接信号用于表示第二适配器与充电线接口连接;处理模块72展示接口连接信号给用户,且响应于用户输入的针对电磁铁26的通电操作;发送模块73向电磁铁26发送通电信号,以使电磁铁26与铁块27吸合,从而使弹簧28压缩,以便于第二导电触点与导电块22连接。In a possible implementation manner, the receiving module 71 receives the interface connection signal sent by the fourth sensor, and the interface connection signal is used to indicate that the second adapter is connected to the interface of the charging cable; the processing module 72 presents the interface connection signal to the user, and responds to The power-on operation of the electromagnet 26 input by the user; the sending module 73 sends a power-on signal to the electromagnet 26, so that the electromagnet 26 is attracted to the iron block 27, so that the spring 28 is compressed, so that the second conductive contact and the conductive block 22 connections.

需要说明的是:上述实施例提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置和方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the device provided by the above-mentioned embodiments realizes its functions, it only uses the division of the above-mentioned functional modules as an example. In practical applications, the above-mentioned function distribution can be completed by different functional modules according to needs. The internal structure of the system is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same idea, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.

本申请还提供一种电子设备,参照图8,该电子设备包括:至少一个处理器81、至少一个网络接口84、用户接口83、存储器82以及至少一个通信总线85。The present application also provides an electronic device. Referring to FIG. 8 , the electronic device includes: at least one processor 81 , at least one network interface 84 , a user interface 83 , a memory 82 and at least one communication bus 85 .

其中,通信总线85用于实现这些组件之间的连接通信。Among them, the communication bus 85 is used to realize connection and communication between these components.

其中,用户接口83可以包括显示屏(Display)、摄像头(Camera),用户接口83还可以包括标准的有线接口、无线接口。Wherein, the user interface 83 may include a display screen (Display) and a camera (Camera), and the user interface 83 may also include a standard wired interface and a wireless interface.

其中,网络接口84可以包括标准的有线接口、无线接口(如WI-FI接口)。Wherein, the network interface 84 may include a standard wired interface and a wireless interface (such as a WI-FI interface).

各个模块之间采用通信网络进行数据交换,通信网络可以是任何类型的有线和/或无线网络,有线网络可以例如是城域网、局域网、光纤网等,无线网络可以是各种类型的移动通信网络或无线局域网等。通信模块的型式及结构多种多样,例如可以是物联网、WiFi模块、3G模块、4G模块、5G模块等,其利用链接网络的资源组网,提供远程通信或遥控功能。链接网络泛指社会公用、企业内部、家庭等通用或专用网络。常用的链接网络包括有线网络、无线网络、卫星网络等,可以是三者其一构成,也可以是三者中的两者或者三者混合组网。Each module uses a communication network for data exchange. The communication network can be any type of wired and/or wireless network. The wired network can be, for example, a metropolitan area network, local area network, optical fiber network, etc., and the wireless network can be various types of mobile communication. network or wireless LAN, etc. There are various types and structures of the communication module, such as the Internet of Things, WiFi module, 3G module, 4G module, 5G module, etc., which use the resource networking of the link network to provide remote communication or remote control functions. The link network generally refers to general or private networks such as social public, enterprise internal, and family. Commonly used link networks include wired networks, wireless networks, satellite networks, etc., which can be composed of one of the three, or two of the three or a mixed network of the three.

通信模块所包含的网络接口及协议可以有:卫星网络接口及协议、无线网络接口及协议以及有线网络接口及协议等。卫星网络接口及协议有卫星定位接口及协议和卫星通信接口及协议等;无线网络接口及协议有无线定位接口及协议和无线通信接口及协议等;有线网络接口及协议有有线定位接口及协议和有线通信接口及协议等。常用卫星定位接口及协议即GNSS,包括但不限于:GPS协议、北斗协议、GLONASS协议、Galileo协议等,比较常见的有NMEA-0183标准协议等;常用无线定位接口及协议包括但不限于:LBS(基站定位)或MPS(移动定位)、道路沿线标识杆编号定位等;常用有线定位接口及协议包括但不限于IP地址定位及协议等。The network interfaces and protocols included in the communication module may include: satellite network interfaces and protocols, wireless network interfaces and protocols, and wired network interfaces and protocols. Satellite network interfaces and protocols include satellite positioning interfaces and protocols, satellite communication interfaces and protocols, etc.; wireless network interfaces and protocols include wireless positioning interfaces and protocols, wireless communication interfaces and protocols, etc.; wired network interfaces and protocols include wired positioning interfaces and protocols and Wired communication interface and protocol, etc. Commonly used satellite positioning interfaces and protocols are GNSS, including but not limited to: GPS protocol, Beidou protocol, GLONASS protocol, Galileo protocol, etc. The more common ones are NMEA-0183 standard protocols, etc. Commonly used wireless positioning interfaces and protocols include but not limited to: LBS (base station positioning) or MPS (mobile positioning), number positioning of sign poles along the road, etc. Commonly used wired positioning interfaces and protocols include but are not limited to IP address positioning and protocols.

常用卫星通信接口及协议包括但不限于:CCS-IoT、SNB-IoT、SOC、MOZIQC等;常用无线通信接口及协议包括但不限于:IoT、NB-IoT、WLAN、GPRS、SMS等;常用有线通信接口及协议包括但不限于:ADSL、LAN、FTTX+LAN、100BaseTLAN、LXI-A/B/C等。Commonly used satellite communication interfaces and protocols include but not limited to: CCS-IoT, SNB-IoT, SOC, MOZIQC, etc.; commonly used wireless communication interfaces and protocols include but not limited to: IoT, NB-IoT, WLAN, GPRS, SMS, etc.; commonly used wired Communication interfaces and protocols include but are not limited to: ADSL, LAN, FTTX+LAN, 100BaseTLAN, LXI-A/B/C, etc.

其中,处理器81可以包括一个或者多个处理核心。处理器81利用各种接口和线路连接整个服务器内的各个部分,通过运行或执行存储在存储器82内的指令、程序、代码集或指令集,以及调用存储在存储器82内的数据,执行服务器的各种功能和处理数据。处理器81可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器81可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器81中,单独通过一块芯片进行实现。Wherein, the processor 81 may include one or more processing cores. The processor 81 uses various interfaces and lines to connect various parts in the entire server, and executes the server by running or executing instructions, programs, code sets or instruction sets stored in the memory 82, and calling data stored in the memory 82. Various functions and processing data. The processor 81 can adopt at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) accomplish. The processor 81 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used to render and draw the content that needs to be displayed on the display screen; the modem is used to handle wireless communication. It can be understood that, the above modem may not be integrated into the processor 81, but may be realized by a single chip.

其中,存储器82可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。该存储器82包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器82可用于存储指令、程序、代码、代码集或指令集。存储器82可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及的数据等。存储器82还可以是至少一个位于远离前述处理器81的存储装置。Wherein, the memory 82 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory). The memory 82 includes a non-transitory computer-readable storage medium. Memory 82 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 82 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like for implementing the above method embodiments; the storage data area can store the data and the like involved in the above method embodiments. The memory 82 may also be at least one storage device located away from the aforementioned processor 81 .

在图8所示的电子设备中,用户接口83主要用于为用户提供输入的接口,获取用户输入的数据;而处理器81可以用于调用存储器82中存储一种智能插座控制方法的应用程序,当由一个或多个处理器执行时,使得电子设备执行如上述实施例中一个或多个的方法。In the electronic device shown in FIG. 8 , the user interface 83 is mainly used to provide the user with an input interface to obtain the data input by the user; and the processor 81 can be used to call an application program that stores a smart socket control method in the memory 82 , when executed by one or more processors, causing the electronic device to execute one or more methods in the foregoing embodiments.

在本申请所提供的几个实施例中,应该理解到,所披露的装置,可通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only illustrative, such as the division of units, which is only a logical function division, and there may be other division methods in actual implementation, for example, multiple components can be combined or integrated into another system, or some features may be ignored, or not implemented.

以上所述者,仅为本公开的示例性实施例,不能以此限定本公开的范围。即但凡依本公开教导所作的等效变化与修饰,皆仍属本公开涵盖的范围内。本领域技术人员在考虑说明书及实践真理的公开后,将容易想到本公开的其他实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未记载的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的范围和精神由权利要求限定。What is described above is only an exemplary embodiment of the present disclosure, and should not limit the scope of the present disclosure. That is, all equivalent changes and modifications made according to the teachings of the present disclosure still fall within the scope of the present disclosure. Other embodiments of the present disclosure will readily occur to those skilled in the art from consideration of the specification and disclosure of practical truths. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not described in the present disclosure . The specification and examples are to be considered exemplary only, with the scope and spirit of the present disclosure defined by the claims.

Claims (10)

1. An intelligent socket control system, characterized in that the system comprises a socket body, a circuit board (21), a connecting plate (24) and a driving component, wherein,
the socket body comprises an upper cover (11) and a base (12), the upper cover (11) is movably connected with the base (12), the upper cover (11) is provided with a jack (13), and the base (12) is fixedly connected with a wall;
the circuit board (21) is tightly attached to the base (12) and fixedly connected with the circumferential side wall of the base (12), a conductive block (22) is arranged on one side, away from the base (12), of the circuit board (21), and the circuit board (21) is electrically connected with a power line;
the connecting plate (24) is a circular plate, the connecting plate (24) is arranged between the upper cover (11) and the circuit board (21), a fixing groove is formed in one side, close to the circuit board (21), of the connecting plate (24), an internal gear (30) is embedded in the fixing groove, a plurality of conductive contacts are arranged on one side, close to the circuit board (21), of the connecting plate (24), and the plurality of conductive contacts comprise a first conductive contact and a second conductive contact;
an adapter (25) is arranged on one side, away from the circuit board (21), of the connecting plate (24), the adapter (25) corresponds to the conductive contacts one by one, the adapter (25) comprises a first adapter and a second adapter, the first adapter and the second adapter are both inserted into the connecting plate (24), the first adapter and the second adapter are symmetrically arranged relative to the fixing groove, and a charging wire interface penetrates through the jack (13) and is inserted into the first adapter or the second adapter;
the driving component comprises a driving motor (23) and a straight gear (29), the circuit board (21) is close to one side of the connecting plate (24) and a motor groove is formed in the one side of the connecting plate (24), the driving motor (23) is located in the motor groove, the straight gear (29) is sleeved on an output shaft of the driving motor (23), the straight gear (29) is meshed with an internal gear (30), the straight gear (29) can be opposite to the internal gear (30) to slide up and down, so that the driving component drives the connecting plate (24) to rotate and further realize the first adapter and the second adapter to rotate and switch.
2. A smart jack control system as claimed in claim 1 further comprising a magnetically attractive assembly comprising an electromagnet (26), an iron block (27) and a spring (28), wherein,
the magnetic attraction component is matched with the adapter (25), the electromagnet (26) is electrified and attracted with the iron block (27), the electromagnet (26) is powered off and separated from the iron block (27), and the magnetic attraction component and the adapter (25) are arranged in a one-to-one correspondence manner;
the electromagnet (26) is embedded at one side of the circuit board (21) close to the connecting plate (24), the iron block (27) is embedded at one side of the connecting plate (24) close to the circuit board (21), and the magnetic attraction component is arranged close to the driving and rotating motor (23);
still set up the spring groove on circuit board (21), spring (28) are located the spring inslot, the bottom of spring (28) with the tank bottom fixed connection in spring groove, the top of spring (28) with connecting plate (24) are close to one side butt of circuit board (21).
3. The smart jack control system of claim 2, further comprising a sensor and a user device, wherein,
the sensor is matched with the adapter (25) and comprises a first sensor, a second sensor, a third sensor and a fourth sensor, the first sensor, the second sensor, the third sensor and the fourth sensor are all embedded in the circumferential side wall of the connecting plate (24), the first sensor is used for detecting whether the first conductive contact is connected with the conductive block (22) or not, the second sensor is used for detecting whether the second conductive contact is connected with the conductive block (22) or not, the third sensor is used for detecting whether the first adapter is connected with the charging wire interface or not, and the fourth sensor is used for detecting whether the second adapter is connected with the charging wire interface or not;
the user equipment is used for receiving the detection signal sent by the sensor and displaying the detection signal of the sensor.
4. The smart socket control system according to claim 1, wherein the driving assembly further comprises a rotary encoder, the circuit board (21) has a slot, the rotary encoder is located in the slot, and the rotary encoder is electrically connected to the driving motor (23).
5. The smart jack control system according to claim 1, wherein the jack (13) is adaptable to a USB charging line interface or a Type-c charging line interface.
6. A smart jack control method applied to the smart jack control system according to claim 3, wherein the driving assembly further comprises a rotary encoder; the method comprises the following steps:
the user equipment receives a contact opening signal sent by the first sensor, wherein the contact opening signal is used for indicating that the first conductive contact is disconnected from the conductive block (22);
displaying the contact opening signal to a user, and responding to a switching operation input by the user;
and sending a working signal to the rotary encoder so that the rotary encoder controls the driving motor (23) to drive the connecting plate (24) to rotate, and the second adapter is switched to the position of the first adapter in a rotating mode.
7. The smart socket control method according to claim 6, wherein before the user device receives the contact opening signal transmitted by the first sensor, the method further comprises:
the user equipment receives an interface disconnection signal sent by the third sensor, wherein the interface disconnection signal is used for indicating that the first adapter is disconnected from the charging wire interface;
displaying the interface disconnection signal to a user and responding to the power-off operation of the electromagnet (26) input by the user;
-sending a de-energizing signal to the electromagnet (26) to separate the electromagnet (26) from the iron block (27), thereby deforming the spring (28) to spring the connection plate (24) so as to disconnect the first conductive contact from the conductive block (22).
8. The smart jack control method of claim 6, wherein after the second adapter is rotationally switched to the position of the first adapter, the method further comprises:
the user equipment receives an interface connection signal sent by the fourth sensor, wherein the interface connection signal is used for indicating that the second adapter is connected with the charging line interface;
presenting the interfacing signal to a user and in response to user input to power-on operation of the electromagnet (26);
sending an energizing signal to the electromagnet (26) to attract the electromagnet (26) and the iron block (27), so that the spring (28) is compressed to facilitate the connection of the second conductive contact and the conductive block (22).
9. A smart socket control apparatus, applied in the smart socket control system according to any one of claims 1 to 5, wherein the apparatus is a user device, the apparatus comprises a receiving module (71), a processing module (72) and a transmitting module (73), wherein,
the receiving module (71) is used for receiving a contact opening signal sent by the first sensor, and the contact opening signal is used for indicating that the first conductive contact is disconnected from the conductive block (22);
the processing module (72) is used for displaying the contact opening signal to a user and responding to a switching operation input by the user;
the sending module (73) sends a working signal to the rotary encoder so that the rotary encoder controls the driving motor (23) to drive the connecting plate (24) to rotate, and the second adapter is switched to the position of the first adapter in a rotating mode.
10. An electronic device, comprising a processor (81), a memory (82), a user interface (83), and a network interface (84), the memory (82) being configured to store instructions, the user interface (83) and the network interface (84) being configured to communicate with other devices, the processor (81) being configured to execute the instructions stored in the memory (82) to cause the electronic device to perform the method according to any one of claims 6 to 8.
CN202211255576.3A 2022-10-13 2022-10-13 Intelligent socket control system, method and device and electronic equipment Pending CN115473094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211255576.3A CN115473094A (en) 2022-10-13 2022-10-13 Intelligent socket control system, method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211255576.3A CN115473094A (en) 2022-10-13 2022-10-13 Intelligent socket control system, method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115473094A true CN115473094A (en) 2022-12-13

Family

ID=84336208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211255576.3A Pending CN115473094A (en) 2022-10-13 2022-10-13 Intelligent socket control system, method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115473094A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070184674A1 (en) * 2004-02-09 2007-08-09 Franz Koch Contact arrangement having a battery and an electrical line
CN103038851A (en) * 2010-07-16 2013-04-10 松下电器产业株式会社 Contact apparatus
CN208111860U (en) * 2018-04-26 2018-11-16 蚌埠学院 An interesting multifunctional socket
CN109921247A (en) * 2018-12-17 2019-06-21 蔚来汽车有限公司 Convertible charging interface components and electric vehicles
CN113612085A (en) * 2021-08-04 2021-11-05 珠海华发城市研究院有限公司 Convertible multi-standard socket
DE102021106042A1 (en) * 2021-02-08 2022-08-11 Bachmann Gmbh can housing; Method of operating a can body

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070184674A1 (en) * 2004-02-09 2007-08-09 Franz Koch Contact arrangement having a battery and an electrical line
CN103038851A (en) * 2010-07-16 2013-04-10 松下电器产业株式会社 Contact apparatus
CN208111860U (en) * 2018-04-26 2018-11-16 蚌埠学院 An interesting multifunctional socket
CN109921247A (en) * 2018-12-17 2019-06-21 蔚来汽车有限公司 Convertible charging interface components and electric vehicles
DE102021106042A1 (en) * 2021-02-08 2022-08-11 Bachmann Gmbh can housing; Method of operating a can body
CN113612085A (en) * 2021-08-04 2021-11-05 珠海华发城市研究院有限公司 Convertible multi-standard socket

Similar Documents

Publication Publication Date Title
CN112181339A (en) Data transmission method and device
CN110691275B (en) Wireless screen transmission equipment, method and computer storage medium
JP5301660B2 (en) Wireless access point
CN110895459B (en) Information processing system, device, method and storage medium
JP2019121268A (en) Electronic apparatus, control method and program
CN103475077A (en) Mobile phone wireless charging base with data sending function, wireless charging mobile phone and method for sending data to wireless charging mobile phone by base
KR20180088937A (en) Method and apparatus for identifying type of electronic device on smart socket
CN105700365A (en) Generation method and device for household electrical appliance control interface of mobile terminal
TWI814946B (en) Indicator for ac power adapter
CN101252575A (en) Systems and methods for managing boot images in a retail store environment
TW201201560A (en) Mobile phone
CN115473094A (en) Intelligent socket control system, method and device and electronic equipment
CN104346262B (en) Method, device and mobile terminal for acquiring power consumption information of application programs
CN110012527B (en) Awakening method and electronic equipment
CN111365573A (en) Rotation control structure of maglev camera and rotatable maglev camera
CN108702306A (en) Electronic device and sensor arrangement method thereof
JP2022030808A (en) Power receiving device, its control method, and program
CN107315550A (en) Information processor and information processing method
CN211152101U (en) Wireless screen transmission equipment and interaction system
KR20190069247A (en) Electronic device for communication with external electronic device
CN111726848B (en) Equipment binding method, target starting device, fixed terminal and storage medium
EP2860967A1 (en) Projector device and method for realizing projector device with network function
CN105867240B (en) A separate intelligent control system and its setting method
JP5522632B2 (en) Controller, communication method, and network system
CN104582144A (en) Intelligent Lighting Control System

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination