Control method and device, electronic equipment and storage medium

By realizing NFC channels on electronic devices to obtain and verify user identity information, automatically log in to the target software and synchronize files, the cumbersome login process in the existing technology is solved, and office efficiency and data synchronization consistency are improved.

CN119071779APending Publication Date: 2024-12-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310638369.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

When existing laptops and other electronic devices log in to their account through NFC, they cannot log in to other software at the same time, resulting in cumbersome login process and prone to input errors or forgetting passwords, which reduces office efficiency.

Method used

By implementing near field communication (NFC) channels on electronic devices, obtain user identity information and software login information stored on data storage cards, automatically log in to the target software client after verification, and create user work documents when logging in for the first time. Generate file synchronization requests to synchronize files on electronic devices and servers.

Benefits of technology

It realizes fast and convenient login of software clients, improves office efficiency, and ensures data consistency and security through synchronization functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071779A_ABST
    Figure CN119071779A_ABST
Patent Text Reader

Abstract

The invention provides a control method and device, electronic equipment and a storage medium, and the method comprises the steps: forming a near field communication channel with a data storage card when a preset distance is close to the data storage card; acquiring user identity information stored on the data storage card and user software login information corresponding to the user identity information based on the near field communication channel; and verifying the identity information of the login personnel according to a pre-stored legal user identity information list, and if the verification is passed, logging in a client of the target software installed on the electronic equipment according to the software login information after a login request for the target software input by the user on the electronic equipment is obtained. According to the method, login of the client of the software can be conveniently and quickly realized, and the office efficiency can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of electronic equipment, and in particular to a control method, device, electronic equipment and storage medium. Background Art

[0002] Currently, laptops and other electronic devices can log in to laptop accounts through NFC (near field communication), but cannot log in to other software at the same time. However, for many employees, after turning on and logging in to their laptops, they usually need to log in to various office accounts of the company first. The process is cumbersome and prone to input errors or forgetting passwords, which invisibly reduces office efficiency. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a control method, an apparatus, an electronic device and a storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a control method is provided, which is applied to an electronic device. The control method includes:

[0005] When approaching the data storage card at a predetermined distance, a near field communication channel is formed between the data storage card and the data storage card;

[0006] Based on the near field communication channel, obtain the user identity information stored on the data storage card and the user software login information corresponding to the user identity information, wherein the user identity information includes a user unique identification number, and the user software login information includes a user account and a password;

[0007] The identity information of the login person is verified according to a pre-stored list of legal user identity information. If the verification is successful, after obtaining the login request for the target software input by the user on the electronic device, the client of the target software installed on the electronic device is logged in according to the software login information.

[0008] Optionally, after determining that the user identity information is verified, the control method includes:

[0009] Log in to the electronic device according to the user identity information.

[0010] Optionally, the control method includes:

[0011] If the user identity information is the first login on the electronic device, a user work document corresponding to the user identity information is created; wherein the user work document is a document generated by the user using the target software after logging into the target software on the electronic device, and the document includes any one or more forms of pictures, texts, and videos.

[0012] Optionally, after creating the user work document corresponding to the user identity information, the control method further includes:

[0013] When it is detected that the electronic device is connected to a local area network, a file synchronization request is generated and sent to the server of the target software; wherein the file synchronization request is used to synchronize the user work documents stored on the electronic device with the user work documents stored on the server.

[0014] Optionally, the file synchronization request is used to synchronize the user work document stored on the electronic device with the user work document stored on the server based on a remote difference file algorithm.

[0015] Optionally, the control method includes:

[0016] After determining that the user identity information logs out of the electronic device, the user software login information stored on the electronic device is deleted.

[0017] According to a second aspect of an embodiment of the present disclosure, a control device is provided, which is applied to an electronic device, and the control device includes:

[0018] A near field communication module, used to form a near field communication channel with the data storage card when approaching the data storage card at a predetermined distance;

[0019] an acquisition module, configured to acquire user identity information stored on the data storage card and user software login information corresponding to the user identity information based on the near field communication channel, wherein the user identity information includes a user unique identification number, and the user software login information includes a user account and a password;

[0020] The login module is used to verify the identity information of the login person according to a pre-stored list of legal user identity information. If the verification is successful, after obtaining the login request for the target software input by the user on the electronic device, the client of the target software installed on the electronic device is logged in according to the software login information.

[0021] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:

[0022] processor;

[0023] a memory for storing instructions executable by the processor;

[0024] Wherein, the processor is configured to execute the control method as described in the first aspect.

[0025] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the control method described in the first aspect.

[0026] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: In the present disclosure, after the electronic device verifies the user identity information obtained through the near-field communication channel, the electronic device logs in to the client of the target software installed on the electronic device according to the software login information after obtaining the login request for the target software input by the user on the electronic device, thereby conveniently and quickly realizing the login of the software client, and effectively improving office efficiency.

[0027] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0029] Figure 1 is a flow chart of a control method according to an exemplary embodiment.

[0030] Figure 2 is a flow chart of a control method according to an exemplary embodiment.

[0031] Figure 3 is a flow chart of a control method according to an exemplary embodiment.

[0032] Figure 4 is a flow chart of a control method according to an exemplary embodiment.

[0033] Figure 5 is a flow chart of a control method according to an exemplary embodiment.

[0034] Figure 6 is a block diagram of a control device according to an exemplary embodiment.

[0035] Figure 7 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0036] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are only examples of devices and methods of some embodiments of the present disclosure.

[0037] The disclosed embodiment provides a control method, which is applied to an electronic device. In the method, after the electronic device passes the verification of the user identity information obtained through the near field communication channel, after the electronic device obtains the login request for the target software input by the user on the electronic device, the electronic device logs in to the client of the target software installed on the electronic device according to the software login information, so that the login of the client of the software can be realized conveniently and quickly, and the office efficiency can be effectively improved.

[0038] In an exemplary embodiment, a control method is provided, which is applied to an electronic device. Figure 1 As shown, the method may include:

[0039] S110, when approaching the data storage card at a predetermined distance, forming a near field communication channel with the data storage card;

[0040] S120, acquiring user identity information stored on the data storage card and user software login information corresponding to the user identity information based on the near field communication channel, wherein the user identity information includes a user unique identification number, and the user software login information includes a user account and password;

[0041] S130, verifying the identity information of the login person according to the pre-stored legal user identity information list, if the verification is successful, after obtaining the login request for the target software input by the user on the electronic device, log in to the client of the target software installed on the electronic device according to the software login information.

[0042] In step S110, the predetermined distance may be determined according to actual needs, and its specific value may not be limited. After the predetermined distance is set, it may be modified later to better meet different needs of users.

[0043] The data storage card refers to a card used to store data. When an electronic device is close to the data storage card at a predetermined distance, the electronic device can form a near field communication (NFC) channel with the data storage card to facilitate data transmission between the electronic device and the data storage card.

[0044] In step S120, after a near field communication channel is formed between the electronic device and the data storage card, the electronic device can obtain user identity information and user software login information corresponding to the user identity information from the data storage card based on the near field communication channel. The user identity information may include a user unique identification number. The user software login information may include a user account and password.

[0045] In some embodiments,

[0046] The electronic device may be a computer, and a laptop computer may have a built-in near field communication function. The data storage card may be a work card, and the work card may have a built-in near field communication function. When the user's work card is close to the computer, a near field communication channel may be formed between the computer and the work card. The computer may read the user's unique identification number and the user account and password corresponding to the user's unique identification number from the work card based on the near field communication method.

[0047] In step S130, a legal user identity information list may be pre-stored in the electronic device, and the legal user identity information list includes verification information of at least one user who can legally use the electronic device.

[0048] In this step, after the electronic device obtains the user identity information from the data storage card, it can use the legal user identity information list to verify the obtained user identity information.

[0049] If the verification is successful, after obtaining the login request for the target software input by the user on the electronic device, the client of the target software installed on the electronic device is logged in according to the software login information corresponding to the user identity information. The target software refers to the software corresponding to the software login information.

[0050] In this method, after the electronic device has verified the user identity information obtained through the near-field communication channel, the electronic device, after obtaining the login request for the target software input by the user on the electronic device, logs in to the client of the target software installed on the electronic device according to the software login information. This can conveniently and quickly implement the login of the software client, and can effectively improve office efficiency.

[0051] In an exemplary embodiment, a control method is provided, which is applied to an electronic device. Figure 2 As shown, in this method, after determining that the user identity information verification is passed, the control method may include:

[0052] S210: Log in to the electronic device according to the user identity information.

[0053] It should be noted that at least one user's electronic device account may be set in the electronic device, and the corresponding user may log in and use the electronic device through the corresponding electronic device account.

[0054] In some embodiments,

[0055] The electronic device may be a computer, which has a list of legal user identity information stored in it. After the computer obtains the user identity information of employee A from the employee A's work card based on the near field communication channel, the user identity information of employee A can be verified based on the list of legal user identity information. After the computer determines that the user identity information of employee A has been verified, it can log in to the computer account of employee A so that employee A can use the computer.

[0056] It should be noted that in addition to the above-mentioned methods, electronic device account login can also be achieved through other methods, which are not limited to this.

[0057] In this method, after the user identity information is verified, the corresponding electronic device can be logged in according to the user identity information. This not only makes it convenient for employees with login authority to log in to the company's office electronic equipment, but also effectively prevents other users who do not have login authority from logging in to the company's office electronic equipment, thereby avoiding the leakage of some confidential information of the company to a certain extent and improving security.

[0058] In an exemplary embodiment, a control method is provided, which is applied to an electronic device. Figure 3 As shown, the method may include:

[0059] S310. If the user identity information is the first time logging in on the electronic device, create a user work document corresponding to the user identity information; wherein the user work document is a document generated by the user using the target software after logging in to the target software on the electronic device, and the document includes any one or more forms of pictures, texts, and videos.

[0060] In some embodiments,

[0061] The electronic device may be an office computer. The target software may be a company office software. If the user identity information of employee A is the first login to the office computer, the office computer creates a user work document corresponding to the user identity information of employee A. The user work document is a document generated by the user using the company office software after logging into the company office software on the office computer. The document may include pictures, videos, text, or the above pictures, videos, and text at the same time, without limitation.

[0062] When employee A logs into the office computer again with his user identity information, since employee A's user work document has been set up in the office computer, employee A can directly search for the required information from the corresponding user work document to improve office efficiency.

[0063] It should be noted that after logging into an electronic device based on user identity information, it can be set to not be able to view user work documents corresponding to other user identity information to improve security. For example, the viewing permission of user work documents can be set to the corresponding user identity information. For example, after employee A logs into an electronic device based on his user identity information, employee A can only view the user work documents corresponding to this employee A, but cannot view the user work documents corresponding to other employees.

[0064] In this method, when the user identity information is logged in for the first time on an electronic device, a user work document corresponding to the user identity information can be created for subsequent use, which can further facilitate the user's use of the electronic device and further improve office efficiency.

[0065] In an exemplary embodiment, a control method is provided, which is applied to an electronic device. Figure 4 As shown, in this method, after creating a user work document corresponding to the user identity information, the control method further includes:

[0066] S410. When it is detected that the electronic device is connected to a local area network, a file synchronization request is generated and sent to a server of the target software; wherein the file synchronization request is used to synchronize user work documents stored on the electronic device with user work documents stored on the server.

[0067] It should be noted that "connecting to the local area network" in this step means that the electronic device and the server are in a connected state, and both the electronic device and the server are in the company's intranet. That is, when file information can be transferred between the electronic device and the server. For example, the electronic device can be an office computer, and the office computer being in a state of connecting to the company's intranet means that the office computer is connected to the company's intranet and is connected to the company's server.

[0068] In this step, when the electronic device is connected to a local area network, the electronic device can generate a file synchronization request and send the file synchronization request to the server of the target software to synchronize the user work documents stored on the electronic device with the user work documents stored on the server.

[0069] Among them, "synchronization" means that if the file information in the user work document of the electronic device is updated relative to the user work document in the server, the updated corresponding file information is transmitted to the server so that the server updates the corresponding file information in its user work document; if the file information of the user work document stored in the server is updated relative to the user work document in the electronic device, the corresponding file information in the server is transmitted to the electronic device so that the electronic device updates the corresponding file information in its user work document. In other words, by synchronizing the user work document corresponding to the user identity information in the server and the electronic device, it can better ensure that the user can view the latest file information through the electronic device to improve work efficiency.

[0070] The file synchronization request may synchronize the user work document stored on the electronic identification with the user work document stored on the server based on a remote difference file algorithm. The remote difference file algorithm may be an Rsync algorithm. The Rsync algorithm may quickly calculate the difference data of two files on different devices (e.g., a server and an electronic device).

[0071] Among them, when the user updates the user work document in the electronic device, if the electronic device is not connected to the local area network at this time, the electronic device will not generate a file synchronization request, and the user work document stored on the electronic device will not be synchronized with the user work document stored on the server.

[0072] After the electronic device is connected to the local area network, the electronic device can generate a file synchronization request, so that the user work documents stored on the electronic device will not be synchronized with the user work documents stored on the server.

[0073] In this method, users can not only quickly log in to office electronic devices and various office software based on user identity information, but also create independent and secure local user work documents on the electronic devices. In addition, when the electronic device is connected to a local area network, the user work documents stored on the electronic device can be synchronized with the user work documents stored on the server of the target software, thereby further effectively improving office efficiency and data security.

[0074] In an exemplary embodiment, a control method is provided, which is applied to an electronic device. Figure 5 As shown, the control method may include:

[0075] S510: After confirming the user identity information and logging out of the electronic device, delete the user software login information stored on the electronic device.

[0076] In step S510, after the electronic device determines that the user identity information has exited the electronic device, the electronic device may delete the user software login information corresponding to the user identity information stored on the electronic device to avoid leakage of the user software login information.

[0077] In some embodiments,

[0078] After employee A's user identity information is logged out of the office computer, if the office computer determines that employee A's user identity information has been logged out of the office computer, it can delete employee A's user software login information to prevent other users from knowing employee A's user software login information on the office computer, thereby improving security.

[0079] In this method, after the user identity information is logged out of the electronic device, the electronic device can delete the corresponding user software login information, which can further improve security.

[0080] In an exemplary embodiment, a control device is provided, which is applied to an electronic device. The device is used to implement the above control method. For example, referring to Figure 6 As shown, the device may include a near field communication module 101, an acquisition module 102 and a login module 103. In the process of implementing the above method,

[0081] A near field communication module 101, used to form a near field communication channel with the data storage card when approaching the data storage card at a predetermined distance;

[0082] The acquisition module 102 is used to acquire the user identity information stored on the data storage card and the user software login information corresponding to the user identity information based on the near field communication channel, wherein the user identity information includes the user's unique identification number, and the user software login information includes the user account and password;

[0083] The login module 103 is used to verify the identity information of the login person according to the pre-stored legal user identity information list. If the verification is successful, after obtaining the login request for the target software input by the user on the electronic device, the client of the target software installed on the electronic device is logged in according to the software login information.

[0084] In an exemplary embodiment, a control device is provided, which is applied to an electronic device. Figure 6 As shown, in the device, the login module 102 is used to:

[0085] After confirming that the user identity information has been verified, log in to the electronic device according to the user identity information.

[0086] In an exemplary embodiment, a control device is provided, which is applied to an electronic device. Figure 6As shown, the device may include:

[0087] The creation module 104 is used to create a user work document corresponding to the user identity information if the user identity information is logged in for the first time on the electronic device; wherein the user work document is a document generated by the user using the target software after logging in to the target software on the electronic device, and the document includes any one or more forms of pictures, texts, and videos.

[0088] In an exemplary embodiment, a control device is provided, which is applied to an electronic device. Figure 6 As shown, the device may include:

[0089] The synchronization module 105 is used to generate a file synchronization request after creating a user work document corresponding to the user identity information and to send the file synchronization request to the server of the target software when it is detected that the electronic device is connected to a local area network; wherein the file synchronization request is used to synchronize the user work document stored on the electronic device with the user work document stored on the server.

[0090] In an exemplary embodiment, a control device is provided, which is applied to an electronic device. In the device, a file synchronization request is used to synchronize a user work document stored on the electronic device with a user work document stored on a server based on a remote difference file algorithm.

[0091] In an exemplary embodiment, a control device is provided, which is applied to an electronic device. Figure 6 As shown, the device may include:

[0092] The deleting module 106 is used to delete the user software login information stored on the electronic device after determining that the user identity information logs out of the electronic device.

[0093] In an exemplary embodiment, an electronic device is provided, such as a mobile phone, a wearable device, a laptop computer, a desktop computer, etc., without limitation thereto.

[0094] refer to Figure 7 As shown, electronic device 400 may include one or more of the following components: processing component 402 , memory 404 , power component 406 , multimedia component 408 , audio component 410 , input / output (I / O) interface 412 , sensor component 414 , and communication component 416 .

[0095] The processing component 402 generally controls the overall operation of the device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0096] The memory 404 is configured to store various types of data to support operations on the device 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0097] The power component 406 provides power to the various components of the device 400. The power component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 400.

[0098] The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input instructions from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the electronic device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0099] The audio component 410 is configured to output and / or input audio instructions. For example, the audio component 410 includes a microphone (MIC), and when the device 400 is in an operating mode, such as a call mode, a recording mode, and a speech understanding mode, the microphone is configured to receive external audio instructions. The received audio instructions can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio instructions.

[0100] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a run button, and a lock button.

[0101] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the electronic device 400. For example, the sensor assembly 414 can receive the open / closed state of the electronic device 400, the relative positioning of the components, such as the display and keypad of the electronic device 400, and the sensor assembly 414 can also detect the position change of the device 400 or a component of the electronic device 400, the presence or absence of user contact with the device 400, the orientation or acceleration / deceleration of the device 400, and the temperature change of the device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0102] The communication component 416 is configured to facilitate wired or wireless communication between the device 400 and other devices. The device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast instruction or broadcast-related image from an external broadcast management system via a broadcast setting channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0103] In an exemplary embodiment, the device 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital instruction processors (DSPs), digital instruction processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described methods.

[0104] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the instructions can be executed by a processor 420 of the device 400 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a tape, a floppy disk, and an optical data storage device. When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to perform the method in the above embodiment.

[0105] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0106] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A control method, applied to an electronic device, characterized in that: The control method comprises: When approaching the data storage card at a predetermined distance, a near field communication channel is formed between the data storage card and the data storage card; Based on the near field communication channel, obtain the user identity information stored on the data storage card and the user software login information corresponding to the user identity information, wherein the user identity information includes a user unique identification number, and the user software login information includes a user account and a password; The identity information of the login person is verified according to a pre-stored list of legal user identity information. If the verification is successful, after obtaining the login request for the target software input by the user on the electronic device, the client of the target software installed on the electronic device is logged in according to the software login information.

2. The control method according to claim 1, characterized in that: After determining that the user identity information is verified, the control method includes: Log in to the electronic device according to the user identity information.

3. The control method according to claim 2, characterized in that: The control method comprises: If the user identity information is the first login on the electronic device, a user work document corresponding to the user identity information is created; wherein the user work document is a document generated by the user using the target software after logging into the target software on the electronic device, and the document includes any one or more forms of pictures, texts, and videos.

4. The control method according to claim 3, characterized in that: After creating the user work document corresponding to the user identity information, the control method further includes: When it is detected that the electronic device is connected to a local area network, a file synchronization request is generated and sent to the server of the target software; wherein the file synchronization request is used to synchronize the user work documents stored on the electronic device with the user work documents stored on the server.

5. The control method according to claim 4, characterized in that: The file synchronization request is used to synchronize the user work document stored on the electronic device with the user work document stored on the server based on a remote difference file algorithm.

6. The control method according to claim 2, characterized in that: The control method comprises: After determining that the user identity information logs out of the electronic device, the user software login information stored on the electronic device is deleted.

7. A control device, applied to electronic equipment, characterized in that: The control device comprises: A near field communication module, used to form a near field communication channel with the data storage card when approaching the data storage card at a predetermined distance; an acquisition module, configured to acquire user identity information stored on the data storage card and user software login information corresponding to the user identity information based on the near field communication channel, wherein the user identity information includes a user unique identification number, and the user software login information includes a user account and a password; The login module is used to verify the identity information of the login person according to a pre-stored list of legal user identity information. If the verification is successful, after obtaining the login request for the target software input by the user on the electronic device, the client of the target software installed on the electronic device is logged in according to the software login information.

8. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the control method as described in any one of claims 1-6.

9. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the control method as described in any one of claims 1 to 6.