Universal charging method and device for workshop equipment and electronic equipment
By setting cards on the plugs of workshop equipment for identity recognition and parameter matching, the problem of diversified charging needs of equipment in the workshop is solved, and efficient and safe charging and data management are achieved.
Patent Information
- Application Number
- CN202410943268.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-09-17
AI Technical Summary
In the workshop, various equipment have different socket shapes and charging current requirements, making it difficult for dedicated charging devices to meet diverse needs, complicated management, and poor charging results.
By setting the card on the plug of the workshop equipment, it receives the information of the object to be charged sent by the server, builds the corresponding relationship between the equipment and the charging device, performs identity recognition and parameter matching, ensures the safe charging current and duration, and realizes charging efficiency and data collection management. .
It realizes universal charging of equipment from different manufacturers, ensures charging effect, avoids equipment damage, realizes control, data collection and monitoring of workshop equipment, and improves charging efficiency and safety.
Smart Images

Figure CN118659502A
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent charging technology, and more specifically, to a universal charging method, device and electronic equipment for workshop equipment. Background Art
[0002] In the production workshop, for safety reasons, sockets that are directly exposed to the outside cannot be set up anywhere in the workshop. Therefore, there is generally a dedicated charging area. When a device needs to be charged, the device is transported to the charging area and inserted into a dedicated charging device for charging. However, the various devices in the workshop come from different manufacturers, and the shapes of the sockets they are adapted to are different, and the current required for charging is also different. Dedicated charging devices are difficult to meet different charging needs, and the management of various different devices involves the collection and monitoring of device data, which makes it very troublesome to charge the equipment in the workshop and the charging effect is not good. Summary of the invention
[0003] In order to solve the above problems, the embodiments of the present application provide a universal charging method, device and electronic device for workshop equipment.
[0004] In a first aspect, an embodiment of the present application provides a universal charging method for workshop equipment, the method comprising: Receiving information of an object to be charged sent by a server, and establishing a corresponding relationship between the information of the object to be charged and the connected workshop equipment, wherein the information of the object to be charged includes charging parameter information and identity identification information; After detecting that the charging device is connected, performing identity recognition interaction with the charging device based on the identity recognition information; When the identity recognition interaction result is characterized as success, the workshop equipment is charged based on the charging parameter information.
[0005] Preferably, the step of constructing a correspondence between the information of the object to be charged and the connected workshop equipment includes: Obtaining a unique identification code of a connected workshop device, and comparing the unique identification code with the identity identification information; When the unique identification code matches the identity identification information, a corresponding relationship between the information of the object to be charged and the connected workshop equipment is established; When the unique identification code does not match the identity identification information, a first warning message is sent to the server, where the first warning message is used to indicate that the identity of the connected workshop device is abnormal.
[0006] Preferably, the method further comprises: When a change in the connected workshop equipment is detected, obtaining the unique identification code of the new workshop equipment; The unique identification code is queried in a history database, and when the unique identification code exists in the history database, a current charging plan is obtained from a server, and the corresponding relationship corresponding to the unique identification code is updated based on the current charging plan.
[0007] Preferably, after detecting that the connection with the charging device is established, performing identity identification interaction with the charging device based on the identity identification information includes: After detecting that the charging device is connected, sending the identity information to the charging device, so that the charging device searches for the identity information in a preset identity database of the object to be charged; Receive the identity recognition interaction result sent by the charging device.
[0008] Preferably, the charging parameter information includes charging time period, charging duration, and charging safety current; The charging the workshop equipment based on the charging parameter information includes: Determine the current moment; When the current moment is within the charging time period, the workshop equipment is continuously charged for the charging time period based on the charging safety current.
[0009] Preferably, after determining the current time, the method further includes: When the current moment is not within the charging time period, a second warning message is sent to the server, where the second warning message is used to indicate that the charging time period of the workshop equipment is abnormal.
[0010] Preferably, the method further comprises: When the identity recognition interaction result is characterized as a failure, a third warning message is sent to the server, where the third warning message is used to indicate that the identity recognition of the workshop equipment has failed.
[0011] In a second aspect, an embodiment of the present application provides a universal charging device for workshop equipment, the device comprising: A receiving module, used to receive information of an object to be charged sent by a server, and to establish a corresponding relationship between the information of the object to be charged and the connected workshop equipment, wherein the information of the object to be charged includes charging parameter information and identity identification information; A detection module, configured to perform identity recognition interaction with the charging device based on the identity recognition information after detecting that the charging device is connected; A processing module is used to charge the workshop equipment based on the charging parameter information when the identity recognition interaction result is characterized as successful.
[0012] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method provided in the first aspect or any possible implementation of the first aspect are implemented.
[0013] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method provided in the first aspect or any possible implementation manner of the first aspect.
[0014] The beneficial effects of the present invention are: 1. A card matching the charging device is set on the plug of the workshop equipment, so that the card can obtain the information of the object to be charged corresponding to the workshop equipment from the server, and then determine the safe current and charging time required for charging and charge it, so as to ensure the charging effect of the equipment.
[0015] 2. Identity identification is required before charging to confirm whether the workshop equipment can be charged, which avoids the situation where workshop workers use workshop equipment without authorization and realizes the control of all workshop equipment in the workshop.
[0016] 3. It can effectively collect data from devices of different models from various manufacturers, and the data transmission channel of this application can also be used to upload data from each device and send business operation data and management data, so as to realize data collection, aggregation, monitoring and analysis of each device.
[0017] 4. It can provide charging data collection function and even data transmission capability for all devices, so that the device side can collect various data during charging. In this way, the fixed device can act as a data storage and forwarding device to transmit the data of all devices to a centralized database. If the number of devices is small, the data can also be integrated into the fixed charging device. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A schematic diagram of a general charging method for workshop equipment provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of a universal charging device for workshop equipment provided in an embodiment of the present application; Figure 3A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0020] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0021] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.
[0022] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.
[0023] See also Figure 1 , Figure 1 : is a flow chart of a universal charging method for workshop equipment provided in an embodiment of the present application. In an embodiment of the present application, the method includes: S101. Receive information of an object to be charged sent by a server, and establish a corresponding relationship between the information of the object to be charged and connected workshop equipment, wherein the information of the object to be charged includes charging parameter information and identity recognition information.
[0024] The execution subject of this application may be a control chip in the card. One end of the card may be provided with a socket connected to the plug of the workshop equipment, or may be directly integrated into the equipment that needs to be charged, and provide a data interface for the transmission of equipment data, and the other end may be provided with a connector that can match and connect with the charging device.
[0025] In the embodiment of the present application, a card for connecting to the workshop equipment will be provided, and the workshop equipment needs to install the card on the plug to successfully insert it into the charging device to realize the charging process. Since the card is not directly connected to the wire line like a socket, it is not easy to have safety problems, so a plurality of different sockets can be provided on the card for different workshop equipment plugs to be installed, and different sockets can be provided on different cards based on different workshop equipment. After the card is physically connected to the device, the relative relationship between the two should remain fixed, and the necessary information such as parameter information and management information of the device to be charged can be written into the control chip on the card at the same time. Through the setting of the card, it not only solves the problem that different workshop equipment cannot be matched with the charging device at the same time, and the charging device cannot be set with multiple socket holes directly exposed to the outside for workshop safety considerations, but also can perform identity authentication and parameter identification of the workshop equipment before charging, so as to regulate the charging current passed into the workshop equipment, ensure charging efficiency, and avoid the problem of unmatched current damaging the workshop equipment.
[0026] Specifically, the management personnel will set the information of the object to be charged in the server through mobile phones, computers and other terminals, which includes the charging parameter information and identity information of the workshop equipment to be charged. After receiving the information of the object to be charged sent by the server, the control chip will build a corresponding relationship based on the information and the connected workshop equipment, and bind the information of the object to be charged to the workshop equipment.
[0027] In one possible implementation, the constructing of the correspondence between the information of the object to be charged and the connected workshop equipment includes: Obtaining a unique identification code of a connected workshop device, and comparing the unique identification code with the identity identification information; When the unique identification code matches the identity identification information, a corresponding relationship between the information of the object to be charged and the connected workshop equipment is established; When the unique identification code does not match the identity identification information, a first warning message is sent to the server, where the first warning message is used to indicate that the identity of the connected workshop device is abnormal.
[0028] In the embodiment of the present application, in addition to the subsequent identity recognition with the charging device, the control chip also needs to confirm whether the workshop equipment currently connected to the card is the correct workshop equipment. Specifically, each workshop equipment in the workshop will be pre-set with a unique identification code. When the card detects the access of the workshop equipment, it will obtain the unique identification code and compare it with the identity identification information. Since the identity identification information is set by the manager in the server according to actual needs for a certain workshop equipment that needs to perform a charging task, the identity identification information and the correct unique identification code should match. When the two match, the corresponding relationship between the information of the object to be charged and the workshop equipment will be constructed, so that after the subsequent identity recognition is successful, the charging parameter information can be directly determined based on the corresponding relationship to charge the workshop equipment. When the two do not match, the control chip will send a first warning message to the server to characterize the abnormal identity of the workshop equipment connected to the card, that is, the workshop equipment currently connected to the card is not the charging object to be controlled by the information of the object to be charged stored in the control chip, and the manager needs to confirm the on-site situation in time.
[0029] In one embodiment, the method further comprises: When a change in the connected workshop equipment is detected, obtaining the unique identification code of the new workshop equipment; The unique identification code is queried in a history database, and when the unique identification code exists in the history database, a current charging plan is obtained from a server, and the corresponding relationship corresponding to the unique identification code is updated based on the current charging plan.
[0030] In the embodiment of the present application, for the consideration of production efficiency in the workshop, a charging plan will be pre-planned for different workshop equipment, so as to plan the charging time and charging order between different workshop equipment, that is, let the workshop equipment be charged in sequence. Therefore, during the long-term use of the card, it may be connected to different workshop equipment respectively, that is, the control chip will obtain the information of the objects to be charged corresponding to the different workshop equipment. For these information of objects to be charged, after the corresponding charging work is completed, the control chip will store it in the historical database. When the card detects that the connected workshop equipment has changed, it will actively obtain the unique identification code of the workshop equipment and query the unique identification code in the historical database. If the unique identification code can be queried, it means that the charging control work has been performed on the workshop equipment. In this case, the control chip has stored the identity identification information corresponding to the workshop equipment and basic information such as charging current. When the workshop equipment needs to be charged, it only needs to update the charging time, charging time period and other information in the charging parameter information. Therefore, the control chip can directly and actively confirm whether the workshop equipment is in the current charging plan based on the current charging plan, and update the stored corresponding relationship accordingly, eliminating the repeated redundant process of obtaining complete information of the object to be charged again and constructing the corresponding relationship, thereby improving the efficiency of information interaction and further improving the charging efficiency of the workshop equipment.
[0031] S102: After detecting that the device is connected to the charging device, perform identity recognition interaction with the charging device based on the identity recognition information.
[0032] In an embodiment of the present application, when the card component is connected to the charging device, the control chip will detect that the two are connected. At this time, it will first interact with the charging device through identity identification information to allow the charging device to confirm whether the workshop equipment is an object that can be charged, thereby preventing staff in the workshop from charging and using the workshop equipment without authorization.
[0033] In one possible implementation, step S102 includes: After detecting that the charging device is connected, sending the identity information to the charging device, so that the charging device searches for the identity information in a preset identity database of the object to be charged; Receive the identity recognition interaction result sent by the charging device.
[0034] In an embodiment of the present application, whenever the charging plan in the server changes, in addition to sending the information of the object to be charged to the control chip, the server will also update the identity database of the object to be charged set in the charging device. When the card is connected to the charging device, the control chip will send the identity information to the charging device, and the charging device will query the identity information in the database to determine the identity of the connected workshop equipment, and feedback the identity interaction result to the control chip. At the beginning, the charging device can only interact with the card in data to realize the identity authentication process. Only after the identity authentication is successful, the charging device will be fully connected to the card, and the card can charge the workshop equipment at this time.
[0035] S103: When the identity recognition interaction result is characterized as success, charging the workshop equipment based on the charging parameter information.
[0036] In the embodiment of the present application, after the identity recognition interaction is completed, the charging device will feedback the identity recognition interaction result. If the control chip determines that the identity recognition is successful based on the identity recognition interaction result, the charging parameters (such as current size, charging time) will be controlled and adjusted based on the charging parameter information, and the workshop equipment will be charged to ensure the charging efficiency and prevent the damage to the workshop equipment caused by excessive current.
[0037] In one possible implementation, the charging parameter information includes a charging time period, a charging duration, and a safe charging current; The charging the workshop equipment based on the charging parameter information includes: Determine the current moment; When the current moment is within the charging time period, the workshop equipment is continuously charged for the charging time period based on the charging safety current.
[0038] In the embodiment of the present application, in addition to the charging safety current matched by the normal charging of the workshop equipment, the charging parameter information also sets the charging time period and charging duration according to the charging plan. Even after the identity verification is successful, the workshop equipment can only be charged in the time period planned by the charging plan, so as to achieve the management personnel's control over the charging process of the workshop equipment in the workshop. Specifically, the current moment will be obtained and determined. Only when the current moment is within the charging time period set in the charging parameter information, the control chip will charge the workshop equipment based on the charging safety current, so that it can continue to charge within the charging duration.
[0039] In one possible implementation, after determining the current time, the method further includes: When the current moment is not within the charging time period, a second warning message is sent to the server, where the second warning message is used to indicate that the charging time period of the workshop equipment is abnormal.
[0040] In an embodiment of the present application, if the current time is not within the corresponding charging time period, the control chip will send a second warning message to the server to alert the management personnel, telling them that the corresponding workshop equipment is attempting to charge during a time period outside the charging plan, and they are required to confirm the situation with the workshop staff.
[0041] In one embodiment, the method further comprises: When the identity recognition interaction result is characterized as a failure, a third warning message is sent to the server, where the third warning message is used to indicate that the identity recognition of the workshop equipment has failed.
[0042] In the embodiment of the present application, the identity recognition interaction result is characterized as failure, which means that the corresponding identity recognition information is not stored in the identity database of the object to be charged in the charging device. In this case, the information of the object to be charged received by the control chip may be illegally tampered with, so it will send a third warning message to the server to warn the management personnel and notify the management personnel to go for investigation, so as to avoid safety hazards in the workshop.
[0043] The following will be combined with the attached Figure 2 , the universal charging device for workshop equipment provided in the embodiment of the present application is introduced in detail. It should be noted that the attached Figure 2 The universal charging device of the workshop equipment shown is used to implement the present application Figure 1 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 1 The embodiment shown.
[0044] See also Figure 2 , Figure 2 Schematic diagram of a universal charging device for workshop equipment provided in an embodiment of the present application. Figure 2 As shown, the device comprises: The receiving module 201 is used to receive the information of the object to be charged sent by the server, and to establish a corresponding relationship between the information of the object to be charged and the connected workshop equipment, wherein the information of the object to be charged includes charging parameter information and identity identification information; A detection module 202, configured to perform identity recognition interaction with the charging device based on the identity recognition information after detecting that the charging device is connected; The processing module 203 is configured to charge the workshop equipment based on the charging parameter information when the identity recognition interaction result is characterized as successful.
[0045] In one possible implementation, the receiving module 201 includes: A first acquisition unit, used to acquire a unique identification code of a connected workshop device, and compare the unique identification code with the identity information; A first judgment unit, configured to establish a correspondence between the information of the object to be charged and the connected workshop equipment when the unique identification code matches the identity identification information; The second judgment unit is used to send a first warning message to the server when the unique identification code does not match the identity identification information, wherein the first warning message is used to indicate that the identity of the connected workshop device is abnormal.
[0046] In one embodiment, the device further comprises: An acquisition module, used for acquiring the unique identification code of the new workshop equipment when a change of the connected workshop equipment is detected; The query module is used to query the unique identification code in the historical database, and when the unique identification code exists in the historical database, obtain the current charging plan from the server, and update the corresponding relationship corresponding to the unique identification code based on the current charging plan.
[0047] In one possible implementation, the detection module 202 includes: a detection unit, configured to send the identity identification information to the charging device after detecting that the charging device is connected, so that the charging device can query the identity identification information in a preset identity database of the object to be charged; The receiving unit is used to receive the identity recognition interaction result sent by the charging device.
[0048] In one possible implementation, the processing module 203 includes: A time determination unit, used to determine the current time; A continuous charging unit is used to continuously charge the workshop equipment for the charging time period based on the charging safety current when the current moment is within the charging time period.
[0049] In one possible implementation, the processing module 203 further includes: The sending unit is used to send a second warning message to the server when the current moment is not within the charging time period, wherein the second warning message is used to indicate that the charging time period of the workshop equipment is abnormal.
[0050] In one possible implementation, the device further comprises: The sending module is used to send a third warning message to the server when the identity recognition interaction result is characterized as a failure, wherein the third warning message is used to indicate that the identity recognition of the workshop equipment has failed.
[0051] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.
[0052] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.
[0053] See also Figure 3 , which shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present application, the electronic device can be used to implement Figure 1 The method in the embodiment shown. Figure 3 As shown, the electronic device 300 may include: at least one central processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .
[0054] The communication bus 302 is used to realize the connection and communication between these components.
[0055] The user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0056] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0057] Among them, the central processing unit 301 may include one or more processing cores. The central processing unit 301 uses various interfaces and lines to connect various parts of the entire electronic device 300, and executes various functions and processes data of the terminal 300 by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the central processing unit 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The central processing unit 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the central processing unit 301, but implemented separately through a chip.
[0058] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 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 for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may optionally be at least one storage device located away from the aforementioned central processor 301. As Figure 3 As shown, the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.
[0059] exist Figure 3In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the central processor 301 can be used to call the universal charging application of the workshop equipment stored in the memory 305, and specifically perform the following operations: Receiving information of an object to be charged sent by a server, and establishing a corresponding relationship between the information of the object to be charged and the connected workshop equipment, wherein the information of the object to be charged includes charging parameter information and identity identification information; After detecting that the charging device is connected, performing identity recognition interaction with the charging device based on the identity recognition information; When the identity recognition interaction result is characterized as success, the workshop equipment is charged based on the charging parameter information.
[0060] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0061] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0062] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0063] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0064] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0065] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0066] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.
[0067] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0068] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A universal charging method for workshop equipment, characterized in that: The method comprises: Receiving information of an object to be charged sent by a server, and establishing a corresponding relationship between the information of the object to be charged and the connected workshop equipment, wherein the information of the object to be charged includes charging parameter information and identity identification information; After detecting that the charging device is connected, performing identity recognition interaction with the charging device based on the identity recognition information; When the identity recognition interaction result is characterized as success, the workshop equipment is charged based on the charging parameter information.
2. The method according to claim 1, characterized in that The constructing the corresponding relationship between the information of the object to be charged and the connected workshop equipment includes: Obtaining a unique identification code of a connected workshop device, and comparing the unique identification code with the identity identification information; When the unique identification code matches the identity identification information, a corresponding relationship between the information of the object to be charged and the connected workshop equipment is established; When the unique identification code does not match the identity identification information, a first warning message is sent to the server, where the first warning message is used to indicate that the identity of the connected workshop device is abnormal.
3. The method according to claim 2, characterized in that The method further comprises: When a change in the connected workshop equipment is detected, obtaining the unique identification code of the new workshop equipment; The unique identification code is queried in a history database, and when the unique identification code exists in the history database, a current charging plan is obtained from a server, and the corresponding relationship corresponding to the unique identification code is updated based on the current charging plan.
4. The method according to claim 1, characterized in that: After detecting that the connection with the charging device is established, performing identity identification interaction with the charging device based on the identity identification information includes: After detecting that the charging device is connected, sending the identity information to the charging device, so that the charging device searches for the identity information in a preset identity database of the object to be charged; Receive the identity recognition interaction result sent by the charging device.
5. The method according to claim 1, characterized in that The charging parameter information includes charging time period, charging duration, and charging safety current; The charging the workshop equipment based on the charging parameter information includes: Determine the current moment; When the current moment is within the charging time period, the workshop equipment is continuously charged for the charging time period based on the charging safety current.
6. The method according to claim 5, characterized in that After determining the current time, the method further includes: When the current moment is not within the charging time period, a second warning message is sent to the server, where the second warning message is used to indicate that the charging time period of the workshop equipment is abnormal.
7. The method according to claim 1, characterized in that The method further comprises: When the identity recognition interaction result is characterized as a failure, a third warning message is sent to the server, where the third warning message is used to indicate that the identity recognition of the workshop equipment has failed.
8. A universal charging device for workshop equipment, characterized in that: The device comprises: A receiving module, used to receive information of an object to be charged sent by a server, and to establish a corresponding relationship between the information of the object to be charged and the connected workshop equipment, wherein the information of the object to be charged includes charging parameter information and identity identification information; A detection module, configured to perform identity recognition interaction with the charging device based on the identity recognition information after detecting that the charging device is connected; A processing module is used to charge the workshop equipment based on the charging parameter information when the identity recognition interaction result is characterized as successful.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
