CN116232739A - Data multi-terminal sharing method, device, equipment and medium - Google Patents

Data multi-terminal sharing method, device, equipment and medium Download PDF

Info

Publication number
CN116232739A
CN116232739A CN202310247967.9A CN202310247967A CN116232739A CN 116232739 A CN116232739 A CN 116232739A CN 202310247967 A CN202310247967 A CN 202310247967A CN 116232739 A CN116232739 A CN 116232739A
Authority
CN
China
Prior art keywords
data
equipment
login
sharing
target account
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
CN202310247967.9A
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 Launch Technology Co Ltd
Original Assignee
Shenzhen Launch 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 Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202310247967.9A priority Critical patent/CN116232739A/en
Publication of CN116232739A publication Critical patent/CN116232739A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/16Implementing security features at a particular protocol layer
    • H04L63/168Implementing security features at a particular protocol layer above the transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a data multi-terminal sharing method, device, equipment and medium, which relate to the technical field of communication and comprise the following steps: when a login request for a target account initiated by a current equipment end is detected, judging whether the target account is logged in other equipment ends or not; if yes, checking a login operation corresponding to the login request, and responding to the login request after the login operation is checked successfully so as to allow the target account to be logged in on the current equipment side; after a data sharing instruction sent by any equipment terminal through a preset sharing button and used for sharing local data is acquired, equipment information in a login state is determined, and the local data is pushed to the equipment terminal corresponding to the equipment information. According to the method and the device, the same account can be logged in at the same time of the multi-terminal device, local data can be shared conveniently, operation time is saved, and user experience is improved.

Description

Data multi-terminal sharing method, device, equipment and medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a medium for sharing multiple data ends.
Background
At present, after an account is logged in at the diagnostic equipment, if the account is also logged in at the PC end, the logged-in account of the diagnostic equipment can be logged out, so that data synchronization cannot be well achieved, namely, the data backed up by the diagnostic equipment cannot be conveniently transmitted to the PC end or the mobile end. When a company device needs to use data in a diagnostic device, a form of USB is required for data transmission. However, many maintenance technicians cannot perform this complex operation, resulting in high learning costs for the maintenance technicians; in addition, the complicated data transmission results in poor user experience, and the workload of a service team is increased while the complaints of the user are more, so that the service cost of technical support is high.
In summary, how to realize convenient sharing of data at multiple ends to improve user experience and reduce service cost is a problem to be solved at present.
Disclosure of Invention
Accordingly, the present invention aims to provide a method, apparatus, device and medium for sharing data in multiple ends, which can realize convenient sharing of data in multiple ends, so as to improve user experience and reduce service cost. The specific scheme is as follows:
in a first aspect, the present application discloses a data multi-terminal sharing method, including:
when a login request for a target account initiated by a current equipment end is detected, judging whether the target account is logged in other equipment ends or not;
if yes, checking a login operation corresponding to the login request, and responding to the login request after the login operation is checked successfully so as to allow the target account to be logged in on the current equipment side; the method comprises the steps of carrying out a first treatment on the surface of the
After a data sharing instruction sent by any equipment terminal through a preset sharing button and used for sharing local data is acquired, equipment information in a login state is determined, and the local data is pushed to the equipment terminal corresponding to the equipment information.
Optionally, the login operation includes account password login and two-dimensional code scanning login.
Optionally, after the verification is successful, after responding to the login request, the method further includes:
and sending a login message for representing successful login of the target account number at the current equipment end to other equipment ends by using a websocket technology.
Optionally, the pushing the local data to the device side corresponding to the device information includes:
and pushing the local data to the equipment end corresponding to the equipment information by using a websocket technology.
Optionally, after pushing the local data to the device side corresponding to the device information, the method further includes:
and if the current display page of the equipment end corresponding to the equipment information is a data display page, using the local data to brush a data list corresponding to the data display page.
Optionally, after pushing the local data to the device side corresponding to the device information, the method further includes:
and if the current display page of the equipment end corresponding to the equipment information is a non-data display page, when the equipment end is positioned on the data display page, using the local data to brush a data list corresponding to the data display page.
Optionally, after determining the device information currently in the login state, the method further includes:
and determining a target equipment end which is not in a login state at present, and pushing the local data to the target equipment end after the target account number is detected to be successfully logged in at the target equipment end.
In a second aspect, the present application discloses a data multiport sharing device, including:
the judging module is used for judging whether the target account number is logged in at other equipment ends or not when a login request for the target account number initiated by the current equipment end is detected;
the verification module is used for verifying the login operation corresponding to the login request if the login operation is successful, and responding to the login request after the login operation is successful so as to allow the target account to be logged in the current equipment terminal;
the data sharing module is used for determining the equipment information in the current login state after acquiring a data sharing instruction which is sent by any equipment end through a preset sharing button and used for sharing the local data, and pushing the local data to the equipment end corresponding to the equipment information.
In a third aspect, the present application discloses an electronic device comprising:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the steps of the data multi-terminal sharing method disclosed above.
In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; the steps of the data multi-terminal sharing method disclosed above are realized when the computer program is executed by a processor.
As can be seen, when a login request for a target account initiated by a current device end is detected, the method and the device judge whether the target account is logged in at other device ends; if yes, checking a login operation corresponding to the login request, and responding to the login request after the login operation is checked successfully so as to allow the target account to be logged in on the current equipment side; after a data sharing instruction sent by any equipment terminal through a preset sharing button and used for sharing local data is acquired, equipment information in a login state is determined, and the local data is pushed to the equipment terminal corresponding to the equipment information. Therefore, in the application, when the server detects the login request initiated by the current device end and aiming at the target account, it is stated that the target account currently needs to be logged in at a certain device end, at this time, the server needs to judge whether the target account is logged in at other device ends, if the target account is detected to be logged in at other device ends, the server directly checks the corresponding login operation, and after the check is successful, responds to the login request, so as to allow the target account to be logged in at the current device end, thereby realizing that the target account is logged in at multiple ends simultaneously. Further, after the server side obtains a data sharing instruction for sharing the local data, which is sent by any device side through the preset sharing button, the device information in the current login state is determined, and then the local data is pushed to the device side corresponding to the device information, so that the data can be shared conveniently in multiple ends. Therefore, data are not required to be transmitted between different equipment ends in the traditional USB mode, user experience is improved, and service cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
Fig. 1 is a flowchart of a data multi-terminal sharing method disclosed in the present application;
FIG. 2 is a flowchart of a specific multi-terminal sharing method disclosed in the present application;
FIG. 3 is a schematic diagram of a data multi-port sharing device disclosed in the present application;
fig. 4 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
At present, after an account is logged in at the diagnostic equipment, if the account is also logged in at the PC end, the logged-in account of the diagnostic equipment can be logged out, so that data synchronization cannot be well achieved, namely, the data backed up by the diagnostic equipment cannot be conveniently transmitted to the PC end or the mobile end. When a company device needs to use data in a diagnostic device, a form of USB is required for data transmission. However, many maintenance technicians cannot perform this complex operation, resulting in high learning costs for the maintenance technicians; in addition, the complicated data transmission results in poor user experience, and the workload of a service team is increased while the complaints of the user are more, so that the service cost of technical support is high. Therefore, the embodiment of the application discloses a data multi-terminal sharing method, device, equipment and medium, which can realize convenient sharing of data at multiple terminals so as to improve user experience and reduce service cost.
Referring to fig. 1, an embodiment of the present application discloses a data multi-terminal sharing method, which includes:
step S11: when a login request for a target account initiated by a current device side is detected, judging whether the target account is logged in other device sides.
In this embodiment, it should be noted that the above method may be applied to a server, where when the server detects a login request for a target account initiated by a current device, it indicates that the current target account needs to be logged in a certain device, and at this time, the server needs to determine whether the target account has been logged in other devices. Taking a vehicle diagnosis scene as an example, the equipment end specifically can comprise a diagnosis equipment end, a PC end and a mobile end; if the target account number is required to be logged in at the PC end, the server detects whether the mobile end or the diagnostic equipment end is logged in the target account number, that is, whether the target account number is in a login state at the mobile end or the diagnostic equipment end.
Step S12: if yes, checking a login operation corresponding to the login request, and responding to the login request after the login operation is checked successfully so as to allow the target account to be logged in on the current equipment side.
In this embodiment, if it is detected that the target account number has been logged in at the other device end, the server directly checks the login operation corresponding to the login request, and after the verification is successful, the login request is corresponding to the login request, so as to allow the target account number to be logged in at the current device end, thereby implementing simultaneous login of the account number at multiple ends. In this way, the server side does not need to walk a login interface, and generates an effective token newly to enable other device sides logged in the target account to be disconnected, but the current device side can successfully log in the target account after the verification is successful through a direct verification mode.
Step S13: after a data sharing instruction sent by any equipment terminal through a preset sharing button and used for sharing local data is acquired, equipment information in a login state is determined, and the local data is pushed to the equipment terminal corresponding to the equipment information.
In this embodiment, after acquiring a data sharing instruction sent by any device side through a preset sharing button and used for sharing local data, the server side determines device information in a login state at present, and then pushes the local data to a device side corresponding to the device information, so as to realize convenient sharing of the data in multiple ends. The preset sharing button is specifically a one-key sharing button, that is, any device side can realize one-key sharing of local data through the one-key sharing button, so that data are intelligently shared to other device sides, operation time is saved, and data sharing efficiency is greatly improved. In addition, as data are not required to be transmitted between different equipment ends through the traditional USB mode, the study cost of maintenance technicians is reduced, the user experience is improved, and the product service cost is also saved. Taking the sharing data of the diagnostic equipment end as an example, after receiving the sharing instruction of the diagnostic equipment end, the server end firstly acquires the equipment ID which is online at the same time and then precisely pushes the local data of the diagnostic equipment end to the corresponding equipment end.
As can be seen, when a login request for a target account initiated by a current device end is detected, the method and the device judge whether the target account is logged in at other device ends; if yes, checking a login operation corresponding to the login request, and responding to the login request after the login operation is checked successfully so as to allow the target account to be logged in on the current equipment side; after a data sharing instruction sent by any equipment terminal through a preset sharing button and used for sharing local data is acquired, equipment information in a login state is determined, and the local data is pushed to the equipment terminal corresponding to the equipment information. Therefore, in the application, when the server detects the login request initiated by the current device end and aiming at the target account, it is indicated that the current target account needs to be logged in at a certain device end, at this time, the server needs to judge whether the target account is logged in at other device ends, if the server detects that the target account is logged in at other device ends, the server directly checks the corresponding login operation, and after the check is successful, responds to the login request to allow the target account to be logged in at the current device end, thereby realizing that the target account is logged in at multiple ends simultaneously. Further, after the server side obtains a data sharing instruction for sharing the local data, which is sent by any device side through the preset sharing button, the device information in the current login state is determined, and then the local data is pushed to the device side corresponding to the device information, so that the data can be shared conveniently in multiple ends. Therefore, data are not required to be transmitted between different equipment ends in the traditional USB mode, user experience is improved, and service cost is reduced.
Referring to fig. 2, an embodiment of the present application discloses a specific data multi-terminal sharing method, and compared with the previous embodiment, the present embodiment further describes and optimizes a technical solution. The method specifically comprises the following steps:
step S21: when a login request for a target account initiated by a current device side is detected, judging whether the target account is logged in other device sides.
Step S22: if so, checking a login operation corresponding to the login request, responding to the login request after the login operation is checked successfully to allow the target account to be logged in the current equipment end, and sending a login message for representing that the target account is successfully logged in the current equipment end to other equipment ends by using a websocket technology.
In this embodiment, the login operation of the device side may specifically include, but is not limited to, account password login and two-dimensional code scanning login, and if the mobile side logs in the target account at this time, pop-up verification may be performed at the mobile side. After the account password is used or the two-dimensional code is verified, a login request is responded to allow the target account to be logged in on the current equipment end, and a login message for representing the successful login of the target account on the current equipment end is accurately pushed to each end by utilizing a websocket communication technology so as to prompt that the target account is online on the current equipment end, so that the account can be logged in at multiple ends simultaneously. The WebSocket communication protocol is a technology that HTML5 supports multiplexed Full Duplex (Full-Duplex) communication between a browser and a server, and is a persistent protocol that allows the server to actively send information to a client. The WebSocket communication can not only reduce the pressure of the server, but also ensure the real-time transmission of data.
Step S23: after a data sharing instruction which is sent by any equipment terminal through a preset sharing button and used for sharing local data is obtained, equipment information in a login state is determined, and the local data is pushed to the equipment terminal corresponding to the equipment information by utilizing a websocket technology.
In this embodiment, when sharing data in multiple ends, a message is accurately pushed to each device end in a login state through websocket communication technology.
It should be noted that after the above-mentioned determination of the device information currently in the login state, the method further includes: and determining a target equipment end which is not in a login state at present, and pushing the local data to the target equipment end after the target account number is detected to be successfully logged in at the target equipment end. That is, for the target device end that has not logged in the target account, the server side pushes the local data to the target device end after detecting that the target account is successfully logged in the target device end, so that the data shared by the previous ends can be obtained after the target account is successfully logged in no matter which device end is logged in. For example, assuming that only the diagnostic device side and the PC side log in the target account currently, the mobile side does not log in the target account, if the diagnostic device side needs to share local data at this time, the server side accurately pushes the local data to the PC side through the websocket communication technology, and after the target account is detected to log in the mobile side, the server side also pushes the local data of the previous diagnostic device side to the mobile side.
Step S24: and if the current display page of the equipment end corresponding to the equipment information is a data display page, using the local data to brush a data list corresponding to the data display page.
In a specific embodiment, if the current display page of the device end corresponding to the device information is a data display page, the local data is used to brush a data list corresponding to the data display page. That is, after the device side receives the data pushed by the server side, if the current display page is the data display page, the device side synchronously updates the corresponding data list by refreshing, and does not need to wait for refreshing operation and then perform refreshing.
In another embodiment, after the pushing the local data to the device side corresponding to the device information, the method further includes: and if the current display page of the equipment end corresponding to the equipment information is a non-data display page, when the equipment end is positioned on the data display page, using the local data to brush a data list corresponding to the data display page. That is, if the current display page of the device side corresponding to the device information is a non-data display page, when the device side is in the data display page, the corresponding data list is refreshed by using the local data.
For more specific processing in step S21, reference may be made to the corresponding content disclosed in the foregoing embodiment, and no further description is given here.
Therefore, in the embodiment of the application, when the login message and the data are pushed to each device end, the websocket communication technology is used, so that the pressure of the server end is reduced, the real-time transmission of the data is ensured, and further, the account can log in on the multi-terminal device at the same time and share the local data through one key. After receiving the data pushed by the server, the equipment terminal synchronously updates the corresponding data list by refreshing if the current display page is the data display page, and does not need to wait for refreshing operation and then perform refreshing; if the data is the non-data display page, when the equipment end is positioned on the data display page, the corresponding data list is refreshed by utilizing the local data.
Referring to fig. 3, an embodiment of the application discloses a data multi-terminal sharing device, which includes:
the judging module 11 is configured to judge whether a target account is logged in at another device when a login request for the target account initiated by the current device is detected;
the verification module 12 is configured to, if yes, verify a login operation corresponding to the login request, and respond to the login request after the verification is successful, so as to allow the target account to be logged in on the current device side;
the data sharing module 13 is configured to determine device information currently in a login state after obtaining a data sharing instruction sent by any device end through a preset sharing button and used for sharing local data, and push the local data to a device end corresponding to the device information.
As can be seen, when a login request for a target account initiated by a current device end is detected, the method and the device judge whether the target account is logged in at other device ends; if yes, checking a login operation corresponding to the login request, and responding to the login request after the login operation is checked successfully so as to allow the target account to be logged in on the current equipment side; after a data sharing instruction sent by any equipment terminal through a preset sharing button and used for sharing local data is acquired, equipment information in a login state is determined, and the local data is pushed to the equipment terminal corresponding to the equipment information. Therefore, in the application, when the server detects the login request initiated by the current device end and aiming at the target account, it is stated that the target account currently needs to be logged in at a certain device end, at this time, the server needs to judge whether the target account is logged in at other device ends, if the target account is detected to be logged in at other device ends, the server directly checks the corresponding login operation, and after the check is successful, responds to the login request, so as to allow the target account to be logged in at the current device end, thereby realizing that the target account is logged in at multiple ends simultaneously. Further, after the server side obtains a data sharing instruction for sharing the local data, which is sent by any device side through the preset sharing button, the device information in the current login state is determined, and then the local data is pushed to the device side corresponding to the device information, so that the data can be shared conveniently in multiple ends. Therefore, data are not required to be transmitted between different equipment ends in the traditional USB mode, user experience is improved, and service cost is reduced.
In some embodiments, in the data multi-terminal sharing device, the login operation includes account password login and two-dimensional code scanning login.
In some embodiments, after the verification module 12, the method may further include:
and the login message sending unit is used for sending login messages for representing successful login of the target account number at the current equipment end to other equipment ends by utilizing a websocket technology.
In some embodiments, the data sharing module 13 may specifically include:
and the first pushing unit is used for pushing the local data to the equipment end corresponding to the equipment information by utilizing a websocket technology.
In some embodiments, the data sharing module 13 may further include:
and the first refreshing unit is used for refreshing a data list corresponding to the data display page by using the local data if the current display page of the equipment end corresponding to the equipment information is the data display page.
In some embodiments, the data sharing module 13 may further include:
and the second refreshing unit is used for refreshing a data list corresponding to the data display page by using the local data when the equipment end is in the data display page if the current display page of the equipment end corresponding to the equipment information is a non-data display page.
In some embodiments, the data multi-terminal sharing apparatus may further include:
the second pushing unit is used for determining a target equipment end which is not in a login state at present, and pushing the local data to the target equipment end after the target account number is detected to be successfully logged in the target equipment end.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Specifically, the method comprises the following steps: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. The memory 22 is configured to store a computer program, where the computer program is loaded and executed by the processor 21 to implement relevant steps in the data multi-terminal sharing method performed by the electronic device disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide an operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input/output interface 25 is used for acquiring external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application requirement, which is not limited herein.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 21 may also comprise a main processor, which is a processor for processing data in an awake state, also called CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
The memory 22 may be a carrier for storing resources, such as a read-only memory, a random access memory, a magnetic disk, or an optical disk, and the resources stored thereon include an operating system 221, a computer program 222, and data 223, and the storage may be temporary storage or permanent storage.
The operating system 221 is used for managing and controlling various hardware devices on the electronic device 20 and the computer program 222, so as to implement the operation and processing of the processor 21 on the mass data 223 in the memory 22, which may be Windows, unix, linux. The computer program 222 may further comprise a computer program capable of performing other specific tasks in addition to the computer program capable of performing the data multi-terminal sharing method performed by the electronic device 20 as disclosed in any of the previous embodiments. The data 223 may include, in addition to data received by the electronic device and transmitted by the external device, data collected by the input/output interface 25 itself, and so on.
Further, the embodiment of the application also discloses a computer readable storage medium, wherein the storage medium stores a computer program, and when the computer program is loaded and executed by a processor, the method steps executed in the multi-terminal sharing process of data disclosed in any embodiment are realized.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing has described in detail the method, apparatus, device and storage medium for multi-terminal sharing of data, in which specific examples are employed to illustrate the principles and embodiments of the present invention, and the above description of the examples is only for helping to understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. The data multi-terminal sharing method is characterized by comprising the following steps of:
when a login request for a target account initiated by a current equipment end is detected, judging whether the target account is logged in other equipment ends or not;
if yes, checking a login operation corresponding to the login request, and responding to the login request after the login operation is checked successfully so as to allow the target account to be logged in on the current equipment side;
after a data sharing instruction sent by any equipment terminal through a preset sharing button and used for sharing local data is acquired, equipment information in a login state is determined, and the local data is pushed to the equipment terminal corresponding to the equipment information.
2. The data multi-terminal sharing method according to claim 1, wherein the login operation comprises account password login and two-dimensional code scanning login.
3. The method of claim 1, wherein after the responding to the login request after the verification is successful, further comprising:
and sending a login message for representing successful login of the target account number at the current equipment end to other equipment ends by using a websocket technology.
4. The method of sharing multiple data ends according to claim 1, wherein pushing the local data to the device end corresponding to the device information includes:
and pushing the local data to the equipment end corresponding to the equipment information by using a websocket technology.
5. The method of sharing multiple data ends according to claim 1, wherein after pushing the local data to the device end corresponding to the device information, further comprises:
and if the current display page of the equipment end corresponding to the equipment information is a data display page, using the local data to brush a data list corresponding to the data display page.
6. The method of sharing multiple data ends according to claim 1, wherein after pushing the local data to the device end corresponding to the device information, further comprises:
and if the current display page of the equipment end corresponding to the equipment information is a non-data display page, when the equipment end is positioned on the data display page, using the local data to brush a data list corresponding to the data display page.
7. The method for multi-terminal sharing of data according to any one of claims 1 to 6, wherein after determining the device information currently in the login state, further comprising:
and determining a target equipment end which is not in a login state at present, and pushing the local data to the target equipment end after the target account number is detected to be successfully logged in at the target equipment end.
8. A data multiport sharing device, comprising:
the judging module is used for judging whether the target account number is logged in at other equipment ends or not when a login request for the target account number initiated by the current equipment end is detected;
the verification module is used for verifying the login operation corresponding to the login request if the login operation is successful, and responding to the login request after the login operation is successful so as to allow the target account to be logged in the current equipment terminal;
the data sharing module is used for determining the equipment information in the current login state after acquiring a data sharing instruction which is sent by any equipment end through a preset sharing button and used for sharing the local data, and pushing the local data to the equipment end corresponding to the equipment information.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the data multiport sharing method as in any of claims 1 to 7.
10. A computer-readable storage medium storing a computer program; wherein the computer program when executed by a processor implements the steps of the data multiport sharing method of any of claims 1 to 7.
CN202310247967.9A 2023-03-07 2023-03-07 Data multi-terminal sharing method, device, equipment and medium Pending CN116232739A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310247967.9A CN116232739A (en) 2023-03-07 2023-03-07 Data multi-terminal sharing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310247967.9A CN116232739A (en) 2023-03-07 2023-03-07 Data multi-terminal sharing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN116232739A true CN116232739A (en) 2023-06-06

Family

ID=86573032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310247967.9A Pending CN116232739A (en) 2023-03-07 2023-03-07 Data multi-terminal sharing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116232739A (en)

Similar Documents

Publication Publication Date Title
CN110365491B (en) Service processing method, device, equipment, storage medium and data sharing system
CN111008075B (en) Load balancing system, method, device, equipment and medium
CN108833950B (en) Barrage message issuing method, server, system and storage medium
CN110765744A (en) Multi-person collaborative document editing method and system
CN111314433B (en) Message transmission method and device and electronic equipment
CN112437047A (en) Remote server management method, system and related device
CN104468592A (en) Login method and system
CN110430292B (en) Method and device for inviting login of network platform, electronic equipment and readable medium
CN108900562B (en) Login state sharing method and device, electronic equipment and medium
CN108280020A (en) Monitoring method, device, terminal and the computer storage media of computer equipment
CN112689012A (en) Cross-network proxy communication method and device
CN109788251B (en) Video processing method, device and storage medium
CN113055348B (en) Cross-platform data request method and device and electronic equipment
CN111767558A (en) Data access monitoring method, device and system
CN109981778B (en) Method, device, equipment and storage medium for realizing service of content distribution network
CN108989404B (en) Barrage message issuing method, server, system and storage medium
CN116232739A (en) Data multi-terminal sharing method, device, equipment and medium
CN111614676B (en) Login method, device, equipment and medium
CN111327511B (en) Instant messaging method, system, terminal equipment and storage medium
CN109656535B (en) Voice skill off-line development method based on browser
CN113613313A (en) Communication method, device and medium for Bluetooth equipment pairing
CN112822089B (en) Method and device for adding friends
CN114302207A (en) Bullet screen display method, device, system, equipment and storage medium
US20170164412A1 (en) Method and electronic device for managing connection informaion of wireless network
CN113590243A (en) Energy enterprise project creation method and device, computer equipment and medium

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