Movatterモバイル変換


[0]ホーム

URL:


CN109710545B - Data transmission method and device, computer readable storage medium and computer system - Google Patents

Data transmission method and device, computer readable storage medium and computer system
Download PDF

Info

Publication number
CN109710545B
CN109710545BCN201811617320.6ACN201811617320ACN109710545BCN 109710545 BCN109710545 BCN 109710545BCN 201811617320 ACN201811617320 ACN 201811617320ACN 109710545 BCN109710545 BCN 109710545B
Authority
CN
China
Prior art keywords
electronic device
network information
transmission path
electronic equipment
electronic
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.)
Active
Application number
CN201811617320.6A
Other languages
Chinese (zh)
Other versions
CN109710545A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing LtdfiledCriticalLenovo Beijing Ltd
Priority to CN201811617320.6ApriorityCriticalpatent/CN109710545B/en
Publication of CN109710545ApublicationCriticalpatent/CN109710545A/en
Application grantedgrantedCritical
Publication of CN109710545BpublicationCriticalpatent/CN109710545B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The present disclosure provides a data transmission method, including: acquiring current first network information of first electronic equipment; under the condition that disconnection of a first transmission path between first electronic equipment and second electronic equipment is detected, first network information is transmitted to the second electronic equipment through a second transmission path between the first electronic equipment and the second electronic equipment, so that the second electronic equipment writes the first network information into third electronic equipment, wherein the second electronic equipment can share content with the first electronic equipment based on the third electronic equipment. The present disclosure also provides a data transmission apparatus, a computer-readable storage medium, and a computer system.

Description

Data transmission method and device, computer readable storage medium and computer system
Technical Field
The disclosure relates to a data transmission method and device, a computer readable storage medium and a computer system.
Background
With the rapid development of electronic technology, various electronic products with different functions are developed, and the work and life of users are enriched and facilitated. Meanwhile, in the existing smart device, more and more devices have a function of interconnecting with other devices.
For example, in the related art, the first electronic device and the second electronic device may share a screen through a wireless wifi connection by using a sharing device, so that content information displayed on the screen of the first electronic device may be transmitted to the second electronic device or projected onto another medium through the second electronic device for display. However, the inventor of the present application finds that in the related art, if the network information of the interconnected devices changes, the content sharing can be implemented only by ensuring that the network information of the interconnected devices is consistent, and in this case, the network information of the devices needs to be manually set, and this scheme will cause the service start delay to be long and the implementation process to be complex.
Disclosure of Invention
One aspect of the present disclosure provides a data transmission method, including acquiring current first network information of a first electronic device; and transmitting the first network information to the second electronic device through a second transmission path between the first electronic device and the second electronic device so that the second electronic device writes the first network information into a third electronic device when detecting that a first transmission path between the first electronic device and the second electronic device is disconnected, wherein the second electronic device is capable of sharing content with the first electronic device based on the third electronic device.
Optionally, before transmitting the first network information to the second electronic device, the method further includes receiving second network information transmitted by the second electronic device based on the second transmission path, where the second network information is related to the first transmission path; and determining whether a first transmission path between the first electronic device and the second electronic device is disconnected according to the second network information and the first network information.
Optionally, determining whether a first transmission path between the first electronic device and the second electronic device is disconnected according to the second network information and the first network information includes disconnecting the first transmission path if the second network information does not match the first network information; and the first transmission path is normally connected when the second network information matches the first network information.
Optionally, the method further includes establishing the second transmission path between the first electronic device and the second electronic device through a mobile hotspot.
Optionally, the method further includes detecting whether a first transmission path between the first electronic device and the second electronic device is disconnected, including: judging whether the first electronic equipment can receive the shared content transmitted by the second electronic equipment; and determining whether a first transmission path between the first electronic device and the second electronic device is disconnected according to the judgment result.
Optionally, after the second electronic device writes the first network information into a third electronic device, the method further includes disconnecting a second transmission path between the first electronic device and the second electronic device; and establishing a third transmission path between the first electronic device and the second electronic device based on the first network information.
Optionally, the method further includes monitoring, by a target application on the first electronic device, whether the second transmission path is established between the first electronic device and the second electronic device before the first network information is transmitted to the second electronic device through the second transmission path between the first electronic device and the second electronic device; establishing the second transmission path between the first electronic device and the second electronic device; and when the target application acquires a content request sent by the second electronic device, transmitting the first network information to the second electronic device based on the second transmission path in response to the content request.
Another aspect of the present disclosure provides a data transmission apparatus, including an obtaining module, configured to obtain current first network information of a first electronic device; and a transmission module, configured to transmit the first network information to the second electronic device through a second transmission path between the first electronic device and the second electronic device when it is detected that a first transmission path between the first electronic device and the second electronic device is disconnected, so that the second electronic device writes the first network information into a third electronic device, where the second electronic device is capable of sharing content with the first electronic device based on the third electronic device.
Optionally, the apparatus further includes a receiving module, configured to receive second network information transmitted by the second electronic device based on the second transmission path before transmitting the first network information to the second electronic device, where the second network information is related to the first transmission path; and a determining module, configured to determine whether a first transmission path between the first electronic device and the second electronic device is disconnected according to the second network information and the first network information.
Optionally, determining whether a first transmission path between the first electronic device and the second electronic device is disconnected according to the second network information and the first network information includes disconnecting the first transmission path if the second network information does not match the first network information; when the second network information matches the first network information, the first transmission path connection is normal.
Optionally, the second transmission path is established between the first electronic device and the second electronic device through a mobile hotspot.
Optionally, the apparatus further includes a detection module, configured to detect whether a first transmission path between the first electronic device and the second electronic device is disconnected, and determine whether the first electronic device can receive the shared content transmitted by the second electronic device; and determining whether a first transmission path between the first electronic device and the second electronic device is disconnected according to the judgment result.
Optionally, after the second electronic device writes the first network information into a third electronic device, disconnecting a second transmission path between the first electronic device and the second electronic device; and establishing a third transmission path between the first electronic device and the second electronic device based on the first network information.
Optionally, before the first network information is transmitted to the second electronic device through a second transmission path between the first electronic device and the second electronic device, monitoring, by a target application on the first electronic device, whether the second transmission path is established between the first electronic device and the second electronic device; establishing the second transmission path between the first electronic device and the second electronic device; and when the target application acquires a content request sent by the second electronic device, transmitting the first network information to the second electronic device based on the second transmission path in response to the content request.
Another aspect of the present disclosure provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing the method as described above when executed.
Another aspect of the present disclosure provides a computer system comprising: one or more processors; a computer readable storage medium storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method as described above.
Another aspect of the disclosure provides a computer program comprising computer executable instructions for implementing the method as described above when executed.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
fig. 1 schematically illustrates an application scenario diagram of a data transmission method and apparatus according to an embodiment of the present disclosure;
fig. 2 schematically shows a flow chart of a data transmission method according to an embodiment of the present disclosure;
FIG. 3 schematically shows a flow chart for determining whether a first transmission path between a first electronic device and a second electronic device is disconnected, in accordance with an embodiment of the disclosure;
fig. 4 schematically shows a flow chart for detecting whether a first transmission path between a first electronic device and a second electronic device is disconnected according to another embodiment of the present disclosure;
fig. 5 schematically shows a flow chart of a data transmission method according to another embodiment of the present disclosure;
fig. 6 schematically shows a block diagram of a data transmission device according to an embodiment of the present disclosure; and
FIG. 7 schematically illustrates a block diagram of a computer system suitable for implementing the above-described method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon for use by or in connection with an instruction execution system.
The embodiment of the disclosure provides a data transmission method and a data transmission device, the method includes acquiring current first network information of a first electronic device, and transmitting the first network information to a second electronic device through a second transmission path between the first electronic device and the second electronic device under the condition that disconnection of the first transmission path between the first electronic device and the second electronic device is detected, so that the second electronic device writes the first network information into a third electronic device, wherein the second electronic device can share content with the first electronic device based on the third electronic device.
Fig. 1 schematically shows an application scenario diagram of a data transmission method and apparatus according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a scenario in which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, the firstelectronic device 101 may perform data transmission with the secondelectronic device 102, and the firstelectronic device 101 and the secondelectronic device 102 may establish a communication connection through a router, or directly connect through a wifi hotspot, where the wifi hotspot direct connection refers to a connection between two devices or multiple devices, and does not need to directly connect through a router. The secondelectronic device 102 can perform content sharing with the firstelectronic device 101 using the thirdelectronic device 103.
The thirdelectronic device 103 has a network file therein regarding the network information of the firstelectronic device 101, but the network file is often fixed. The thirdelectronic device 103 may be connected with the secondelectronic device 102 in a wired or wireless manner. The secondelectronic device 102 may read the network file in the thirdelectronic device 103 and communicatively connect with the firstelectronic device 101 based on the network information in the network file.
In some cases, the network information of the firstelectronic device 101 may be modified, and the network file in the thirdelectronic device 103 may contain different network information from the modified network information of the firstelectronic device 101. In the case where the network information included in the network file in the thirdelectronic device 103 is different from the network information modified by the firstelectronic device 101, the communication link between the secondelectronic device 102 and the firstelectronic device 101 is disconnected. If the secondelectronic device 102 wants to implement communication with the firstelectronic device 101, the information contained in the network file in the thirdelectronic device 103 needs to be changed into the network information modified by the firstelectronic device 101, and the communication can be implemented again only if the network information is consistent.
In the related art, it is generally necessary to unplug the thirdelectronic device 103 from the secondelectronic device 102, insert the thirdelectronic device 103 into the firstelectronic device 101 for initialization, copy the network file to the thirdelectronic device 103, and then re-insert the network file into the secondelectronic device 102. In this case, theelectronic device 103 needs to be plugged and unplugged manually, which causes the service to be started with a relatively long delay and to be implemented in a complex process.
According to the embodiment of the present disclosure, in the case that the information contained in the network file in the thirdelectronic device 103 is different from the network information modified by the firstelectronic device 101, the network information modified by the firstelectronic device 101 may be transmitted to the secondelectronic device 102 through another transmission path automatically established between the firstelectronic device 101 and the secondelectronic device 102, so that the secondelectronic device 102 writes the network information modified by the firstelectronic device 101 into the thirdelectronic device 103. In this way, the information contained in the network file in the thirdelectronic device 103 is kept consistent with the network information of the firstelectronic device 101 at that time, and the secondelectronic device 102 can perform content sharing with the firstelectronic device 101 again based on the thirdelectronic device 103.
According to an embodiment of the present disclosure, a first transmission path between the firstelectronic device 101 and the secondelectronic device 102 may be a communication connection established through a router, and a second transmission path between the firstelectronic device 101 and the secondelectronic device 102 may be a communication connection established through a wifi hotspot directly. In the case that it is detected that the communication connection established through the router between the firstelectronic device 101 and the secondelectronic device 102 is disconnected, a direct connection may be established between the firstelectronic device 101 and the secondelectronic device 102 through a wifi hotspot.
According to embodiments of the present disclosure, more and more devices are provided with the function of interconnecting with other devices. For example, the firstelectronic device 101 and the secondelectronic device 102 may perform screen sharing through a wireless wifi connection by using a sharing device, so that content information displayed on the screen of the secondelectronic device 102 may be transmitted to the firstelectronic device 101 or projected onto another medium through the firstelectronic device 101 for displaying.
Through the embodiment of the present disclosure, if the network information of the interconnected devices changes, the modified network information of the firstelectronic device 101 may be transmitted to the secondelectronic device 102 through another transmission path automatically established between the firstelectronic device 101 and the secondelectronic device 102, so that the secondelectronic device 102 writes the modified network information of the firstelectronic device 101 into the thirdelectronic device 103. In this way, the information contained in the network file in the thirdelectronic device 103 is kept consistent with the network information of the firstelectronic device 101 at that time, and the secondelectronic device 102 can perform content sharing with the firstelectronic device 101 again based on the thirdelectronic device 103. Under the condition, the network information of the equipment does not need to be manually set by a user, the frequency of service interruption caused by the change of the network information is reduced, the starting delay probability of the service is reduced, the implementation process is simple, and the user experience is improved.
Fig. 2 schematically shows a flow chart of a data transmission method according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S201 to S202.
In operation S201, current first network information of a first electronic device is acquired.
In operation S202, in a case where it is detected that a first transmission path between a first electronic device and a second electronic device is disconnected, first network information is transmitted to the second electronic device through a second transmission path between the first electronic device and the second electronic device, so that the second electronic device writes the first network information into a third electronic device, wherein the second electronic device is based on the third electronic device being capable of content sharing with the first electronic device.
According to an embodiment of the present disclosure, for example, the first network information may be a current IP address of the first electronic device, the first transmission path may be a communication connection established through a router, and the second transmission path may be a communication connection established through a wifi hotspot. When the communication connection established by the router is disconnected, the mode can be automatically switched to the hotspot mode, and then direct connection is established between the first electronic device and the second electronic device through the wifi hotspot, namely, a second transmission path can be established between the first electronic device and the second electronic device through the mobile hotspot.
According to the embodiment of the disclosure, the second transmission channel is established through the mobile hotspot, the network information is transmitted by using the existing function of the equipment, the equipment cost can be reduced, and the feasibility is higher.
According to the embodiment of the disclosure, based on the second transmission path, the second electronic device may synchronously write the first network information into the third electronic device, so that the network information in the third electronic device is consistent with the network information of the first electronic device.
According to the embodiment of the present disclosure, after the first network information is transmitted to the second electronic device through the second transmission path between the first electronic device and the second electronic device, data transmission may be performed between the first electronic device and the second electronic device through the second transmission path. Of course, the second transmission path may be disconnected, and the third transmission path may be reestablished between the first electronic device and the second electronic device.
According to the embodiment of the present disclosure, after the second electronic device writes the first network information into the third electronic device, the second transmission path between the first electronic device and the second electronic device is disconnected, and the third transmission path is established between the first electronic device and the second electronic device based on the first network information.
According to an embodiment of the present disclosure, the third transmission path may be a same type of path as the first transmission path, e.g., both transmission paths built between the first electronic device and the second electronic device based on a router. The third transmission path may also be a path of a type different from that of the first transmission path, for example, the first transmission path is a transmission path established between the first electronic device and the second electronic device based on the router, and the third transmission path is a transmission path established between the first electronic device and the second electronic device based on the mobile hotspot.
According to an embodiment of the present disclosure, by disconnecting the second transmission path between the first electronic device and the second electronic device, and reestablishing the third transmission path between the first electronic device and the second electronic device based on the first network information, the remote device may be caused to also join the content sharing mode between the first electronic device and the second electronic device.
Through the embodiment of the disclosure, if the network information of the interconnected devices changes, the modified network information of the first electronic device can be transmitted to the second electronic device through another transmission path automatically established between the first electronic device and the second electronic device, so that the second electronic device writes the modified network information of the first electronic device into the third electronic device. In this way, the information contained in the network file in the third electronic device is consistent with the network information of the first electronic device at the moment, and the second electronic device can share the content with the first electronic device again based on the third electronic device. Under the condition, the network information of the equipment does not need to be manually set by a user, the frequency of service interruption caused by the change of the network information is reduced, the starting delay probability of the service is reduced, the implementation process is simple, and the user experience is improved.
The method shown in fig. 2 is further described with reference to fig. 3-5 in conjunction with specific embodiments.
Fig. 3 schematically shows a flow chart for determining whether a first transmission path between a first electronic device and a second electronic device is disconnected according to an embodiment of the disclosure.
As shown in fig. 3, the method includes operations S203 to S204.
In operation S203, before transmitting the first network information to the second electronic device, second network information transmitted by the second electronic device based on a second transmission path is received, wherein the second network information is related to the first transmission path.
According to the embodiment of the disclosure, the first electronic device and the second electronic device can always keep communication connection. In case the first transmission path is disconnected, a second transmission path may be automatically established between the first electronic device and the second electronic device. Specifically, for example, after a router between the first electronic device and the second electronic device is disconnected, the first electronic device or the second electronic device may open the mobile hotspot, and establish the second transmission path based on the mobile hotspot.
According to the embodiment of the disclosure, when the first transmission path is disconnected, the first electronic device and the second electronic device can be automatically connected to establish the second transmission path. According to the embodiment of the disclosure, while the second transmission path may be automatically established between the first electronic device and the second electronic device, the second electronic device automatically transmits the second network information to the first electronic device based on the second transmission path, thereby triggering the first electronic device to transmit the current first network information of the first electronic device to the second electronic device. Since the second network information read by the second electronic device from the third electronic device has not changed, the first electronic device may detect whether the first transmission path between the first electronic device and the second electronic device is disconnected based on the second network information and the current first network information. In operation S204, it is determined whether a first transmission path between the first electronic device and the second electronic device is disconnected according to the second network information and the first network information.
According to an embodiment of the present disclosure, in a case where the second network information does not match the first network information, the first transmission path is disconnected. And under the condition that the second network information is matched with the first network information, the first transmission path is normally connected.
According to the embodiment of the present disclosure, for example, in the case where the first network information is a first IP address and the second network information is a second IP address, if the second IP address is the same as the first IP address, the first transmission path connection is normal. If the second IP address is different from the first IP address, the first transmission path is disconnected.
According to the embodiment of the disclosure, whether the path between the first electronic device and the second electronic device is disconnected or not is judged according to the second network information transmitted by the second transmission path and the current first network information, the first electronic device can be triggered to send the current first network information quickly, so that the network information between the first electronic device and the second electronic device is kept consistent, and then the network can be reconnected based on the consistent network information, thereby simplifying the service starting process.
Fig. 4 schematically shows a flow chart for detecting whether a first transmission path between a first electronic device and a second electronic device is disconnected according to another embodiment of the present disclosure.
As shown in fig. 4, the method includes operations S205 to S206.
In operation S205, it is determined whether the first electronic device can receive the shared content transmitted by the second electronic device.
In operation S206, it is determined whether a first transmission path between the first electronic device and the second electronic device is disconnected according to the determination result.
According to the embodiment of the disclosure, if the first electronic device cannot receive the shared content transmitted by the second electronic device within a certain time, it is indicated that the first transmission path between the first electronic device and the second electronic device is disconnected.
According to the embodiment of the disclosure, if the first electronic device cannot receive the shared content transmitted by the second electronic device within a certain time, in this case, the second transmission path may not be established immediately between the first electronic device and the second electronic device, and when the content sharing operation is triggered on the first electronic device, the second transmission path is established again. When the user needs to share the content, the second transmission path is triggered and established quickly to reconnect the network, and the second transmission path can be established according to the actual requirement, so that the loss of network flow can be reduced, and unnecessary flow loss can be avoided.
Fig. 5 schematically shows a flow chart of a data transmission method according to another embodiment of the present disclosure.
As shown in fig. 5, the method includes operations S207 to S209.
In operation S207, before transmitting the first network information to the second electronic device through the second transmission path between the first electronic device and the second electronic device, whether the second transmission path is established between the first electronic device and the second electronic device is monitored through the target application on the first electronic device.
In operation S208, a second transmission path is established between the first electronic device and the second electronic device.
In operation S209, in a case where the target application acquires a content request sent by the second electronic device, the first network information is transmitted to the second electronic device based on the second transmission path in response to the content request.
According to an embodiment of the disclosure, the first electronic device may be an office meeting situation device facing a modern meeting environment, the second electronic device may be a computer, and the third electronic device may be a sharing device dongle, which is used for realizing content sharing between the first electronic device and the second electronic device. The first electronic device may operate as a server and an application, and the second electronic device may operate as a client and also operate an application.
According to the embodiment of the disclosure, when the application program of the server detects that the router of the client fails to connect, the server can be automatically switched to the mobile hotspot, and communication connection is established between the server and the client based on the mobile hotspot. The application program of the server can detect whether the router of the client is successfully or normally connected, so that whether the application program of the server is automatically switched to the mobile hotspot can be determined, and whether a second transmission channel is established between the first electronic device and the second electronic device is monitored.
At this time, in the case of receiving a content request sent by the client, in response to the content request, the application program of the server may send the current network information of the server to the application program of the client, and the application program of the client performs a synchronization operation to transmit the network information to the sharing device dongle connected to the client.
According to the embodiment of the disclosure, if the software version of the server needs to be upgraded, when the application program of the server detects that the new version exists, the new version can be automatically switched to the mobile hotspot, and the new version is transmitted to the shared device dongle connected with the client, so that the version upgrade of the shared device dongle is triggered.
Under the condition of performing write protection on the shared device dongle, the client may also perform deprotection on the shared device dongle first, and perform write protection again after triggering network information change or version upgrade of the shared device dongle.
Fig. 6 schematically shows a block diagram of a data transmission device according to an embodiment of the present disclosure.
As shown in fig. 6, thedata transmission apparatus 300 includes anacquisition module 301 and atransmission module 302.
The obtainingmodule 301 is configured to obtain current first network information of the first electronic device.
Thetransmission module 302 is configured to, when it is detected that a first transmission path between the first electronic device and the second electronic device is disconnected, transmit the first network information to the second electronic device through a second transmission path between the first electronic device and the second electronic device, so that the second electronic device writes the first network information into a third electronic device, where the second electronic device is capable of content sharing with the first electronic device based on the third electronic device.
Through the embodiment of the disclosure, if the network information of the interconnected devices changes, the modified network information of the first electronic device can be transmitted to the second electronic device through another transmission path automatically established between the first electronic device and the second electronic device, so that the second electronic device writes the modified network information of the first electronic device into the third electronic device. In this way, the information contained in the network file in the third electronic device is consistent with the network information of the first electronic device at the moment, and the second electronic device can share the content with the first electronic device again based on the third electronic device. Under the condition, the network information of the equipment does not need to be manually set by a user, the frequency of service interruption caused by the change of the network information is reduced, the starting delay probability of the service is reduced, the implementation process is simple, and the user experience is improved.
According to an embodiment of the present disclosure, thedata transmission apparatus 300 further includes a receiving module and a determining module. The receiving module is used for receiving second network information transmitted by the second electronic equipment based on a second transmission path before transmitting the first network information to the second electronic equipment, wherein the second network information is related to the first transmission path. The determining module is used for determining whether a first transmission path between the first electronic equipment and the second electronic equipment is disconnected according to the second network information and the first network information.
According to an embodiment of the present disclosure, determining whether the first transmission path between the first electronic device and the second electronic device is disconnected according to the second network information and the first network information includes disconnecting the first transmission path in a case where the second network information does not match the first network information, and connecting the first transmission path normally in a case where the second network information matches the first network information.
A second transmission path is established between the first electronic device and the second electronic device through the mobile hotspot.
According to the embodiment of the present disclosure, thedata transmission apparatus 300 further includes a detection module, configured to detect whether a first transmission path between the first electronic device and the second electronic device is disconnected, and determine whether the first transmission path between the first electronic device and the second electronic device is disconnected according to a determination result by determining whether the first electronic device can receive the shared content transmitted by the second electronic device.
According to the embodiment of the present disclosure, after the second electronic device writes the first network information into the third electronic device, the second transmission path between the first electronic device and the second electronic device is disconnected, and the third transmission path is established between the first electronic device and the second electronic device based on the first network information.
According to the embodiment of the disclosure, before the first network information is transmitted to the second electronic device through the second transmission path between the first electronic device and the second electronic device, whether the second transmission path is established between the first electronic device and the second electronic device is monitored through the target application on the first electronic device. A second transmission path is established between the first electronic device and the second electronic device. And under the condition that the target application acquires the content request sent by the second electronic equipment, responding to the content request, and transmitting the first network information to the second electronic equipment based on the second transmission path.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
For example, any plurality of the obtainingmodule 301 and thetransmitting module 302 may be combined and implemented in one module, or any one of the modules may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the obtainingmodule 301 and thetransmitting module 302 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware by any other reasonable manner of integrating or packaging a circuit, or may be implemented in any one of three implementations of software, hardware, and firmware, or in a suitable combination of any of them. Alternatively, at least one of the obtainingmodule 301 and thetransmitting module 302 may be at least partly implemented as a computer program module, which when executed may perform a corresponding function.
FIG. 7 schematically illustrates a block diagram of a computer system suitable for implementing the above-described method according to an embodiment of the present disclosure. The computer system illustrated in FIG. 7 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the disclosure.
As shown in fig. 7,computer system 400 includes aprocessor 410 and a computer-readable storage medium 420. Thecomputer system 400 may perform a method according to an embodiment of the disclosure.
In particular,processor 410 may include, for example, a general purpose microprocessor, an instruction set processor and/or related chip set and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), and/or the like. Theprocessor 410 may also include onboard memory for caching purposes.Processor 410 may be a single processing unit or a plurality of processing units for performing different actions of a method flow according to embodiments of the disclosure.
Computer-readable storage medium 420, for example, may be a non-volatile computer-readable storage medium, specific examples including, but not limited to: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and so on.
The computer-readable storage medium 420 may comprise acomputer program 421, whichcomputer program 421 may comprise code/computer-executable instructions that, when executed by theprocessor 410, cause theprocessor 410 to perform a method according to an embodiment of the disclosure, or any variant thereof.
Thecomputer program 421 may be configured with, for example, computer program code comprising computer program modules. For example, in an example embodiment, code incomputer program 421 may include one or more program modules, including for example 421A,modules 421B, … …. It should be noted that the division and number of the modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, so that theprocessor 410 may execute the method according to the embodiment of the present disclosure or any variation thereof when the program modules are executed by theprocessor 410.
According to an embodiment of the present invention, at least one of the obtainingmodule 301 and thetransmitting module 302 may be implemented as a computer program module as described with reference to fig. 7, which, when executed by theprocessor 410, may implement the respective operations described above.
Through the embodiment of the disclosure, a user does not need to manually set the network information of the equipment, the times of service interruption caused by network information change are reduced, the service starting delay probability is reduced, the implementation process is simple, and the user experience is improved.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.

Claims (10)

CN201811617320.6A2018-12-272018-12-27Data transmission method and device, computer readable storage medium and computer systemActiveCN109710545B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811617320.6ACN109710545B (en)2018-12-272018-12-27Data transmission method and device, computer readable storage medium and computer system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811617320.6ACN109710545B (en)2018-12-272018-12-27Data transmission method and device, computer readable storage medium and computer system

Publications (2)

Publication NumberPublication Date
CN109710545A CN109710545A (en)2019-05-03
CN109710545Btrue CN109710545B (en)2021-01-15

Family

ID=66258898

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811617320.6AActiveCN109710545B (en)2018-12-272018-12-27Data transmission method and device, computer readable storage medium and computer system

Country Status (1)

CountryLink
CN (1)CN109710545B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113194445A (en)*2021-04-152021-07-30厦门亿联网络技术股份有限公司Connection method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2009079840A1 (en)*2007-12-192009-07-02Arcsoft (Shanghai) Technology Company, Ltd.Ip cache
JP2009272944A (en)*2008-05-082009-11-19Toshiba CorpCommunication terminal
CN102281307A (en)*2010-06-092011-12-14恩极网络无锡有限公司Remote data information sharing method based on virtual file system mode
CN103957135A (en)*2014-04-242014-07-30北京佳讯飞鸿电气股份有限公司Method for no-break conversation in IP address switching process
CN103973555A (en)*2013-01-292014-08-06华为技术有限公司GRE protocol tunnel building method, communication device and communication system
US20160154754A1 (en)*2014-12-022016-06-02Hamilton Sundstrand CorporationSmart test link dongle
CN105763661A (en)*2014-12-172016-07-13华为技术有限公司Network protocol IP address obtaining method and communication equipment
CN108055163A (en)*2018-01-062018-05-18北京特立信电子技术股份有限公司A kind of dual-homed equipment and its protection switching method
CN108124023A (en)*2016-11-292018-06-05中兴通讯股份有限公司Support the method and device of address change

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080002711A1 (en)*2006-06-302008-01-03Bugenhagen Michael KSystem and method for access state based service options
CN101668258B (en)*2009-07-232011-12-28中兴通讯股份有限公司Method, system and device for data transmission
US9246913B2 (en)*2014-06-192016-01-26Verizon Patent And Licensing Inc.Sharing content using a dongle device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2009079840A1 (en)*2007-12-192009-07-02Arcsoft (Shanghai) Technology Company, Ltd.Ip cache
JP2009272944A (en)*2008-05-082009-11-19Toshiba CorpCommunication terminal
CN102281307A (en)*2010-06-092011-12-14恩极网络无锡有限公司Remote data information sharing method based on virtual file system mode
CN103973555A (en)*2013-01-292014-08-06华为技术有限公司GRE protocol tunnel building method, communication device and communication system
CN103957135A (en)*2014-04-242014-07-30北京佳讯飞鸿电气股份有限公司Method for no-break conversation in IP address switching process
US20160154754A1 (en)*2014-12-022016-06-02Hamilton Sundstrand CorporationSmart test link dongle
CN105763661A (en)*2014-12-172016-07-13华为技术有限公司Network protocol IP address obtaining method and communication equipment
CN108124023A (en)*2016-11-292018-06-05中兴通讯股份有限公司Support the method and device of address change
CN108055163A (en)*2018-01-062018-05-18北京特立信电子技术股份有限公司A kind of dual-homed equipment and its protection switching method

Also Published As

Publication numberPublication date
CN109710545A (en)2019-05-03

Similar Documents

PublicationPublication DateTitle
CN108256002B (en) Cross-machine room data synchronization method, device, system and server
US8370605B2 (en)Computer architecture for a mobile communication platform
CN110750393B (en)Method, device, medium and equipment for avoiding network service double-machine hot standby brain cracking
EP3308558B1 (en)Sharing access with a device nearby
AU2022218613B2 (en)Display method and apparatus
CN110276194B (en)Information processing method, information processing apparatus, and electronic device
CN109474489B (en)Link detection method, device and network equipment
EP3018919B1 (en)Method of transmitting and receiving data of electronic device and electronic device using the method
KR20180075374A (en)Method and system for screen mirroring and casting using nfc connection
CN110618971A (en)Information interaction method and electronic equipment
CN105808374A (en)Snapshot processing method and associated equipment
US9569316B2 (en)Managing VIOS failover in a single storage adapter environment
WO2016150191A1 (en)Data sharing method and device
CN109710545B (en)Data transmission method and device, computer readable storage medium and computer system
US20170171276A1 (en)Method, Electronic Device and System for Slicing Streaming Media Files
CN104917800A (en)Method and device for establishing redundancy connection for virtual machine
KR102089629B1 (en)Method for processing data and an electronic device thereof
RU2015106144A (en) SYSTEMS AND METHODS FOR JOINT USE OF IMAGE DATA
US10268555B2 (en)System and method for policy based management of a communication device configuration persistence
US20150256446A1 (en)Method and apparatus for relaying commands
KR20190041732A (en)Backup device management system and method
CN115225627B (en)File transmission method, device, computer equipment and storage medium
US10725809B2 (en)Application interaction method and apparatus, and terminal
CN111865630A (en)Topology information acquisition method, device, terminal and storage medium
CN109525470B (en)Network access method and network access system

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp