CN116321079A - Data transmission method, system and medium based on android WIFI book transfer software - Google Patents

Data transmission method, system and medium based on android WIFI book transfer software Download PDF

Info

Publication number
CN116321079A
CN116321079A CN202310382405.5A CN202310382405A CN116321079A CN 116321079 A CN116321079 A CN 116321079A CN 202310382405 A CN202310382405 A CN 202310382405A CN 116321079 A CN116321079 A CN 116321079A
Authority
CN
China
Prior art keywords
data
transmitted
information
transmission
data transmission
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.)
Granted
Application number
CN202310382405.5A
Other languages
Chinese (zh)
Other versions
CN116321079B (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.)
Shenzhen Yitoa Digital Technology Co ltd
Original Assignee
Shenzhen Yitoa Digital 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 Yitoa Digital Technology Co ltd filed Critical Shenzhen Yitoa Digital Technology Co ltd
Priority to CN202310382405.5A priority Critical patent/CN116321079B/en
Publication of CN116321079A publication Critical patent/CN116321079A/en
Application granted granted Critical
Publication of CN116321079B publication Critical patent/CN116321079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • 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
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a data transmission method, a system and a medium based on android WIFI book transfer software, wherein the method comprises the following steps: acquiring IP address information and subnet mask information of a data transmitting end and a receiving end; performing AND operation on the IP address information of the data transmitting end and the subnet mask information to obtain a first calculation result; performing AND operation on the IP address information of the data receiving end and the subnet mask information to obtain a second calculation result; judging whether the two calculation results are consistent, if so, successfully matching the data sending end with the data receiving end, and allowing data transmission; otherwise, the matching is unsuccessful; acquiring data information to be transmitted; based on preset android WIFI book transfer software, the data sending end transmits data to be transmitted to a corresponding data receiving end successfully matched. By connecting the data transmitting end and the data receiving end on the same network segment, data does not need to pass through three layers of equipment such as a router and the like, and the data transmission safety and efficiency are improved.

Description

Data transmission method, system and medium based on android WIFI book transfer software
Technical Field
The invention relates to the field of wireless data transmission, in particular to a data transmission method, system and medium based on android WIFI book transfer software.
Background
Along with the development of science and technology, information exchange is more and more frequent, information coverage rate is also more and more wide, and convenience is brought to life of people from wired transmission to wireless transmission. Meanwhile, because the information needs to be converted for many times in the transmission process, a lot of information is easy to be interfered or leaked in the transmission process.
Accordingly, there is a need for improvement in the art.
Disclosure of Invention
In view of the above problems, the invention aims to provide a data transmission method, a system and a medium based on android WIFI book transfer software, which can more effectively improve the safety and efficiency of data transmission.
The first aspect of the invention provides a data transmission method based on android WIFI book transfer software, which comprises the following steps:
acquiring IP address information and subnet mask information of a data transmitting end and a data receiving end;
performing AND operation on the IP address information of the data transmitting end and the subnet mask information to obtain a first calculation result;
performing AND operation on the IP address information of the data receiving end and the subnet mask information to obtain a second calculation result;
judging whether the first calculation result is consistent with the second calculation result, if so, successfully matching the data sending end with the data receiving end, and allowing data transmission; otherwise, the matching is unsuccessful;
acquiring data information to be transmitted;
based on preset android WIFI book transfer software, the data sending end transmits data to be transmitted to a corresponding data receiving end successfully matched.
In this scheme, still include:
obtaining format information of the data to be transmitted according to the data information to be transmitted;
judging whether the format of the data to be transmitted accords with a preset supporting format range or not; if not, displaying the data format error to be transmitted, and ending the data transmission; otherwise, the display is not carried out, and the data transmission is normal;
and sending the data transmission termination information to be transmitted to a data sending end for display.
In this scheme, still include:
obtaining memory value information of data to be transmitted according to the data information to be transmitted;
dividing the memory value of the data to be transmitted according to the single file to obtain the memory value of the single transmission file;
judging whether the memory value of the single transmission file is smaller than a preset transmission memory threshold value, if so, transmitting normally; otherwise, the transmission fails;
and sending the data transmission failure information to be transmitted to a data starting end for display.
In this scheme, still include:
acquiring an available memory value of a data receiving end;
performing difference calculation on the available memory value of the data receiving end and the memory of the data to be transmitted to obtain a memory difference;
judging whether the memory difference is smaller than a preset second threshold value, if so, triggering a memory shortage prompt by the data receiving end; otherwise, not triggering.
In this scheme, still include:
acquiring network speed information of data transmission;
obtaining transmission time information according to the network speed of data transmission and the memory value of data to be transmitted;
and sending the transmission time to a data sending end and a data receiving end for display.
In this scheme, still include:
marking the network speed of data transmission according to time;
extracting the maximum network speed and the minimum network speed of data transmission in a preset time period;
calculating the difference value of the maximum network speed and the minimum network speed of data transmission in a preset time period to obtain a network speed fluctuation value;
judging whether the network speed fluctuation value is smaller than a preset network speed fluctuation threshold value, if yes, the network speed fluctuation of data transmission is normal; otherwise, the network speed fluctuation abnormal information is sent to the data sending end and the data receiving end for display.
The second aspect of the invention provides a data transmission system based on android WIFI book transfer software, which comprises a memory and a processor, wherein a data transmission method program based on the android WIFI book transfer software is stored in the memory, and the data transmission method program based on the android WIFI book transfer software is executed by the processor to realize the following steps:
acquiring IP address information and subnet mask information of a data transmitting end and a data receiving end;
performing AND operation on the IP address information of the data transmitting end and the subnet mask information to obtain a first calculation result;
performing AND operation on the IP address information of the data receiving end and the subnet mask information to obtain a second calculation result;
judging whether the first calculation result is consistent with the second calculation result, if so, successfully matching the data sending end with the data receiving end, and allowing data transmission; otherwise, the matching is unsuccessful;
acquiring data information to be transmitted;
based on preset android WIFI book transfer software, the data sending end transmits data to be transmitted to a corresponding data receiving end successfully matched.
In this scheme, still include:
obtaining format information of the data to be transmitted according to the data information to be transmitted;
judging whether the format of the data to be transmitted accords with a preset supporting format range or not; if not, displaying the data format error to be transmitted, and ending the data transmission; otherwise, the display is not carried out, and the data transmission is normal;
and sending the data transmission termination information to be transmitted to a data sending end for display.
In this scheme, still include:
obtaining memory value information of data to be transmitted according to the data information to be transmitted;
dividing the memory value of the data to be transmitted according to the single file to obtain the memory value of the single transmission file;
judging whether the memory value of the single transmission file is smaller than a preset transmission memory threshold value, if so, transmitting normally; otherwise, the transmission fails;
and sending the data transmission failure information to be transmitted to a data starting end for display.
In this scheme, still include:
acquiring an available memory value of a data receiving end;
performing difference calculation on the available memory value of the data receiving end and the memory of the data to be transmitted to obtain a memory difference;
judging whether the memory difference is smaller than a preset second threshold value, if so, triggering a memory shortage prompt by the data receiving end; otherwise, not triggering.
In this scheme, still include:
acquiring network speed information of data transmission;
obtaining transmission time information according to the network speed of data transmission and the memory value of data to be transmitted;
and sending the transmission time to a data sending end and a data receiving end for display.
In this scheme, still include:
marking the network speed of data transmission according to time;
extracting the maximum network speed and the minimum network speed of data transmission in a preset time period;
calculating the difference value of the maximum network speed and the minimum network speed of data transmission in a preset time period to obtain a network speed fluctuation value;
judging whether the network speed fluctuation value is smaller than a preset network speed fluctuation threshold value, if yes, the network speed fluctuation of data transmission is normal; otherwise, the network speed fluctuation abnormal information is sent to the data sending end and the data receiving end for display.
The third aspect of the present invention provides a computer medium, in which a data transmission method program based on android WIFI book transfer software is stored, where the data transmission method program based on android WIFI book transfer software implements the steps of a data transmission method based on android WIFI book transfer software according to any one of the above steps when executed by a processor.
According to the data transmission method, system and medium based on the android WIFI book transfer software, the data transmitting end and the data receiving end are connected to the same network segment, and data do not need to pass through three layers of equipment such as a router, so that the safety and efficiency of data transmission are improved.
Drawings
Fig. 1 shows a flowchart of a data transmission method based on android WIFI book transfer software;
FIG. 2 is a flowchart showing the steps of continuing transmission after the data transmission process of the present invention is terminated;
fig. 3 shows a block diagram of a data transmission system based on android WIFI book transfer software.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
Fig. 1 shows a flowchart of a data transmission method based on android WIFI book transfer software.
As shown in fig. 1, the invention discloses a data transmission method based on android WIFI book transfer software, which comprises the following steps:
s102, acquiring IP address information and subnet mask information of a data transmitting end and a data receiving end;
s104, performing AND operation on the IP address information of the data transmitting end and the subnet mask information to obtain a first calculation result;
s106, performing AND operation on the IP address information of the data receiving end and the subnet mask information to obtain a second calculation result;
s108, judging whether the first calculation result is consistent with the second calculation result, if so, successfully matching the data sending end with the data receiving end, and allowing data transmission; otherwise, the matching is unsuccessful;
s110, acquiring data information to be transmitted;
s112, based on preset android WIFI book transfer software, the data sending end transmits data to be transmitted to a corresponding data receiving end successfully matched.
It should be noted that, the IP address and the subnet mask of the data transmitting end or the data receiving end are converted into binary values, and then the and operation is performed to obtain a calculation result, for example: if the IP address of the data transmitting end is (192.168.2.2), the IP address binary corresponding to the data transmitting end is (11000000.10101000.00000010.00000010), and the subnet mask of the data transmitting end is also converted into binary, so as to obtain the subnet mask binary of the data transmitting end, where the rule of the and operation includes: the values at the same positions of the IP address binary system and the sub-mask binary system are multiplied to obtain the value at the position corresponding to the calculated result, and if the sub-mask binary system of the data receiving end is 11111111.11111111.11111111.00000000, the corresponding first calculated result is 11000000.10101000.00000010.00000000. The second calculation result can be calculated in the same way, and when the first calculation result and the second calculation result are the same, the data transmitting end and the data receiving end are indicated to be in the same network segment, and the data are allowed to be transmitted mutually. The data transmitting end or the data receiving end can bePC(personal computer) an android mobile phone end and the like, wherein the PC end is a Windows PC. The data transmitting end obtains a website through preset android WIFI book transmitting software, enters a data transmission interface through the website, and then selects or drags data to be transmitted to a preset transmission area to transmit the data to be transmitted to the data receiving end.
According to an embodiment of the present invention, further comprising:
obtaining format information of the data to be transmitted according to the data information to be transmitted;
judging whether the format of the data to be transmitted accords with a preset supporting format range or not; if not, displaying the data format error to be transmitted, and ending the data transmission; otherwise, the display is not carried out, and the data transmission is normal;
and sending the data transmission termination information to be transmitted to a data sending end for display.
It should be noted that, after the data to be transmitted is selected or dragged to the preset transmission area, format detection needs to be performed on the data to be transmitted, and the format of the data to be transmitted is determined, for example: and if the format of the data to be transmitted is the same as any format in the range of the preset supported format, the corresponding data to be transmitted is allowed to pass through transmission, otherwise, the data to be transmitted is displayed to be wrong in format, and the data transmission is terminated.
According to an embodiment of the present invention, further comprising:
obtaining memory value information of data to be transmitted according to the data information to be transmitted;
dividing the memory value of the data to be transmitted according to the single file to obtain the memory value of the single transmission file;
judging whether the memory value of the single transmission file is smaller than a preset transmission memory threshold value, if so, transmitting normally; otherwise, the transmission fails;
and sending the data transmission failure information to be transmitted to a data starting end for display.
It should be noted that, there may be a plurality of transmission files in the data to be transmitted, and if the plurality of transmission files in the data to be transmitted are transmitted respectively, the memory value is calculated according to the single transmission file; if a plurality of transmission files in the data to be transmitted are integrally packaged and transmitted together, setting all the transmission files as one data file; for example, the preset transmission memory threshold is 1GB, and when the memory value of a single transmission file is smaller than 1GB, the data transmission is normal; if the data transmission rate is greater than 1GB, the data transmission failure is displayed, and the transmission file exceeds the maximum transmission memory threshold.
According to an embodiment of the present invention, further comprising:
acquiring an available memory value of a data receiving end;
performing difference calculation on the available memory value of the data receiving end and the memory of the data to be transmitted to obtain a memory difference;
judging whether the memory difference is smaller than a preset second threshold value, if so, triggering a memory shortage prompt by the data receiving end; otherwise, not triggering.
When the data receiving end receives the data transmitted by the data transmitting end, the name and the memory value of the corresponding data are displayed, the data receiving end detects the available memory value of the data receiving end, and the available memory value of the data receiving end subtracts the memory value of the data to be received to obtain the memory difference. For example, the second threshold value is preset as
Figure SMS_1
Then it is explained that when the memory difference is smaller than
Figure SMS_2
When the memory is too much, the data receiving end is indicated to possibly cause accidents such as card machine and the like, so that the data receiving end triggers the memory shortage prompt.
According to an embodiment of the present invention, further comprising:
acquiring network speed information of data transmission;
obtaining transmission time information according to the network speed of data transmission and the memory value of data to be transmitted;
and sending the transmission time to a data sending end and a data receiving end for display.
If the average speed of the network speed of data transmission is the following
Figure SMS_3
The transmission time is +.>
Figure SMS_4
Then the formula is satisfied
Figure SMS_5
Wherein->
Figure SMS_6
The transmission time is displayed at the same time at the data transmitting end and the data receiving end.
According to an embodiment of the present invention, further comprising:
marking the network speed of data transmission according to time;
extracting the maximum network speed and the minimum network speed of data transmission in a preset time period;
calculating the difference value of the maximum network speed and the minimum network speed of data transmission in a preset time period to obtain a network speed fluctuation value;
judging whether the network speed fluctuation value is smaller than a preset network speed fluctuation threshold value, if yes, the network speed fluctuation of data transmission is normal; otherwise, the network speed fluctuation abnormal information is sent to the data sending end and the data receiving end for display.
If the preset time period is 1 minute, the maximum network speed of data transmission within any 1 minute is extracted
Figure SMS_7
And minimum net speed +.>
Figure SMS_8
Wherein the fluctuation value of the net speed is set to +.>
Figure SMS_9
Which satisfies the formula +.>
Figure SMS_10
If the preset net speed fluctuation threshold is set to +.>
Figure SMS_11
Then->
Figure SMS_12
When the network speed fluctuation of data transmission is normal; if it is
Figure SMS_13
When the network speed fluctuation of the data transmission is abnormal, the data receiving end and the data transmitting end receive the abnormal prompt information of the network speed fluctuation, the network speed fluctuation threshold value is determined according to the network size of the connection of the data receiving end and the data transmitting end, and the network speed fluctuation threshold value is determined by a person skilled in the art.
According to an embodiment of the present invention, further comprising:
acquiring equipment name information of a data transmitting end and a data receiving end;
the device name of the successfully matched data transmitting end is transmitted to the data receiving end for display;
and sending the device name of the successfully matched data receiving end to the data sending end for display.
It should be noted that, after the data sending end and the data receiving end are successfully matched, the device name will be displayed on the data transmission interface of the corresponding device, for example, a plurality of data receiving ends or a plurality of data sending ends exist, and the device name of the data receiving end is displayed on the data sending end, so that the data sending end can not make errors when transmitting data; and displaying the equipment name of the data sending end at the data receiving end so as to facilitate the data receiving end to check where the transmitted data comes from.
According to an embodiment of the present invention, further comprising:
acquiring historical transmission data record information and data name information to be transmitted;
obtaining a data name set in the history transmission data record according to the history transmission data record information;
storing the data name set in the history transmission data record at the data transmitting end;
judging whether the data name to be transmitted is the same as any one of the data name sets in the historical transmission data record, if so, triggering a prompt; otherwise, not prompting;
acquiring historical received data record information and data name information to be received;
obtaining a data name set in the history received data record according to the history received data record information;
storing the data name set in the history received data record at the data receiving end;
judging whether the name of the data to be received is the same as any one of the names in the data name set in the historical received data record, if so, triggering a prompt; otherwise, not prompting;
it should be noted that, the data receiving end or the data transmitting end stores historical transmission or reception data, where if there is repeated transmission or repeated reception of the same data name, a prompt is triggered.
According to an embodiment of the present invention, further comprising:
acquiring real-time data information in the data transmission process;
and sending the real-time data in the data transmission process to a preset list for display.
It should be noted that, the real-time data in the data transmission process includes the file name, the file memory size and the current state information of the data transmission, where the state of the transmission includes the information of the transmission, the transmission suspension or the transmission completion, where the transmission or the suspension of the transmission will also display the information of the transmission network speed, the remaining time, the remaining memory of the transmitted data, and the like.
Fig. 2 is a flowchart showing the steps of continuing transmission after the data transmission process of the present invention is terminated.
As shown in fig. 2, according to an embodiment of the present invention, further includes:
s202, acquiring data transmission interruption information;
s204, sending the data transmission interruption information to a data sending end for display, and triggering a continuous transmission window;
s206, sending the data transmission interruption information to a data receiving end for display, and triggering a continuous transmission invitation window;
s208, triggering whether the opposite side agrees with the window or not when the data sending end confirms that the transmission is continued or the data receiving end confirms that the transmission invitation is continued, and if yes, continuing to transmit the corresponding data; otherwise, continuing to stop;
s210, when the data sending end confirms that the transmission is continued and the data receiving end confirms that the transmission invitation is continued, the corresponding data is continuously transmitted.
When the data receiving end or the data transmitting end closes the WIFI book-transmitting software, locks the screen and the like, which can interrupt the data transmission, the data transmission is forced to be stopped; the data sending end triggers a continuous transmission window, and the data receiving end triggers a continuous transmission invitation window, wherein if the data sending end or the data receiving end does not agree, the data transmission is continuously stopped.
Fig. 3 shows a block diagram of a data transmission system based on android WIFI book transfer software.
As shown in fig. 3, the second aspect of the present invention provides a data transmission system 3 based on android WIFI book-transfer software, which includes a memory 31 and a processor 32, where a data transmission method program based on android WIFI book-transfer software is stored in the memory, and when the data transmission method program based on android WIFI book-transfer software is executed by the processor, the following steps are implemented:
acquiring IP address information and subnet mask information of a data transmitting end and a data receiving end;
performing AND operation on the IP address information of the data transmitting end and the subnet mask information to obtain a first calculation result;
performing AND operation on the IP address information of the data receiving end and the subnet mask information to obtain a second calculation result;
judging whether the first calculation result is consistent with the second calculation result, if so, successfully matching the data sending end with the data receiving end, and allowing data transmission; otherwise, the matching is unsuccessful;
acquiring data information to be transmitted;
based on preset android WIFI book transfer software, the data sending end transmits data to be transmitted to a corresponding data receiving end successfully matched.
It should be noted that, the IP address and the subnet mask of the data transmitting end or the data receiving end are converted into binary values, and then the and operation is performed to obtain a calculation result, for example: if the IP address of the data transmitting end is (192.168.2.2), the IP address binary corresponding to the data transmitting end is (11000000.10101000.00000010.00000010), and the subnet mask of the data transmitting end is also converted into binary, so as to obtain the subnet mask binary of the data transmitting end, where the rule of the and operation includes: the values of the same positions of the binary system of the IP address and the binary system of the sub-mask are multiplied to obtain the value of the position corresponding to the calculated result, if the binary system of the sub-mask of the data receiving end is (11111111.11111111.11111111.00000000), the corresponding first calculated result is (11000000.10101000.00000010.000000)00). The second calculation result can be calculated in the same way, and when the first calculation result and the second calculation result are the same, the data transmitting end and the data receiving end are indicated to be in the same network segment, and the data are allowed to be transmitted mutually. The data transmitting end or the data receiving end can bePC(personal computer) an android mobile phone end and the like, wherein the PC end is a Windows PC. The data transmitting end obtains a website through preset android WIFI book transmitting software, enters a data transmission interface through the website, and then selects or drags data to be transmitted to a preset transmission area to transmit the data to be transmitted to the data receiving end.
According to an embodiment of the present invention, further comprising:
obtaining format information of the data to be transmitted according to the data information to be transmitted;
judging whether the format of the data to be transmitted accords with a preset supporting format range or not; if not, displaying the data format error to be transmitted, and ending the data transmission; otherwise, the display is not carried out, and the data transmission is normal;
and sending the data transmission termination information to be transmitted to a data sending end for display.
It should be noted that, after the data to be transmitted is selected or dragged to the preset transmission area, format detection needs to be performed on the data to be transmitted, and the format of the data to be transmitted is determined, for example: and if the format of the data to be transmitted is the same as any format in the range of the preset supported format, the corresponding data to be transmitted is allowed to pass through transmission, otherwise, the data to be transmitted is displayed to be wrong in format, and the data transmission is terminated.
According to an embodiment of the present invention, further comprising:
obtaining memory value information of data to be transmitted according to the data information to be transmitted;
dividing the memory value of the data to be transmitted according to the single file to obtain the memory value of the single transmission file;
judging whether the memory value of the single transmission file is smaller than a preset transmission memory threshold value, if so, transmitting normally; otherwise, the transmission fails;
and sending the data transmission failure information to be transmitted to a data starting end for display.
It should be noted that, there may be a plurality of transmission files in the data to be transmitted, and if the plurality of transmission files in the data to be transmitted are transmitted respectively, the memory value is calculated according to the single transmission file; if a plurality of transmission files in the data to be transmitted are integrally packaged and transmitted together, setting all the transmission files as one data file; for example, the preset transmission memory threshold is 1GB, and when the memory value of a single transmission file is smaller than 1GB, the data transmission is normal; if the data transmission rate is greater than 1GB, the data transmission failure is displayed, and the transmission file exceeds the maximum transmission memory threshold.
According to an embodiment of the present invention, further comprising:
acquiring an available memory value of a data receiving end;
performing difference calculation on the available memory value of the data receiving end and the memory of the data to be transmitted to obtain a memory difference;
judging whether the memory difference is smaller than a preset second threshold value, if so, triggering a memory shortage prompt by the data receiving end; otherwise, not triggering.
When the data receiving end receives the data transmitted by the data transmitting end, the name and the memory value of the corresponding data are displayed, the data receiving end detects the available memory value of the data receiving end, and the available memory value of the data receiving end subtracts the memory value of the data to be received to obtain the memory difference. For example, the second threshold value is preset as
Figure SMS_14
Then it is explained that when the memory difference is smaller than
Figure SMS_15
When the memory is too much, the data receiving end is indicated to possibly cause accidents such as card machine and the like, so that the data receiving end triggers the memory shortage prompt.
According to an embodiment of the present invention, further comprising:
acquiring network speed information of data transmission;
obtaining transmission time information according to the network speed of data transmission and the memory value of data to be transmitted;
and sending the transmission time to a data sending end and a data receiving end for display.
If the average speed of the network speed of data transmission is the following
Figure SMS_16
The transmission time is +.>
Figure SMS_17
Then the formula is satisfied
Figure SMS_18
Wherein->
Figure SMS_19
The transmission time is displayed at the same time at the data transmitting end and the data receiving end.
According to an embodiment of the present invention, further comprising:
marking the network speed of data transmission according to time;
extracting the maximum network speed and the minimum network speed of data transmission in a preset time period;
calculating the difference value of the maximum network speed and the minimum network speed of data transmission in a preset time period to obtain a network speed fluctuation value;
judging whether the network speed fluctuation value is smaller than a preset network speed fluctuation threshold value, if yes, the network speed fluctuation of data transmission is normal; otherwise, the network speed fluctuation abnormal information is sent to the data sending end and the data receiving end for display.
If the preset time period is 1 minute, the maximum network speed of data transmission within any 1 minute is extracted
Figure SMS_20
And minimum net speed +.>
Figure SMS_21
Wherein the fluctuation value of the net speed is set to +.>
Figure SMS_22
Which satisfies the formula +.>
Figure SMS_23
If the preset net speed fluctuation threshold is set to +.>
Figure SMS_24
Then->
Figure SMS_25
When the network speed fluctuation of data transmission is normal; if it is
Figure SMS_26
When the network speed fluctuation of the data transmission is abnormal, the data receiving end and the data transmitting end receive the abnormal prompt information of the network speed fluctuation, the network speed fluctuation threshold value is determined according to the network size of the connection of the data receiving end and the data transmitting end, and the network speed fluctuation threshold value is determined by a person skilled in the art.
According to an embodiment of the present invention, further comprising:
acquiring equipment name information of a data transmitting end and a data receiving end;
the device name of the successfully matched data transmitting end is transmitted to the data receiving end for display;
and sending the device name of the successfully matched data receiving end to the data sending end for display.
It should be noted that, after the data sending end and the data receiving end are successfully matched, the device name will be displayed on the data transmission interface of the corresponding device, for example, a plurality of data receiving ends or a plurality of data sending ends exist, and the device name of the data receiving end is displayed on the data sending end, so that the data sending end can not make errors when transmitting data; and displaying the equipment name of the data sending end at the data receiving end so as to facilitate the data receiving end to check where the transmitted data comes from.
According to an embodiment of the present invention, further comprising:
acquiring historical transmission data record information and data name information to be transmitted;
obtaining a data name set in the history transmission data record according to the history transmission data record information;
storing the data name set in the history transmission data record at the data transmitting end;
judging whether the data name to be transmitted is the same as any one of the data name sets in the historical transmission data record, if so, triggering a prompt; otherwise, not prompting;
acquiring historical received data record information and data name information to be received;
obtaining a data name set in the history received data record according to the history received data record information;
storing the data name set in the history received data record at the data receiving end;
judging whether the name of the data to be received is the same as any one of the names in the data name set in the historical received data record, if so, triggering a prompt; otherwise, not prompting;
it should be noted that, the data receiving end or the data transmitting end stores historical transmission or reception data, where if there is repeated transmission or repeated reception of the same data name, a prompt is triggered.
According to an embodiment of the present invention, further comprising:
acquiring real-time data information in the data transmission process;
and sending the real-time data in the data transmission process to a preset list for display.
It should be noted that, the real-time data in the data transmission process includes the file name, the file memory size and the current state information of the data transmission, where the state of the transmission includes the information of the transmission, the transmission suspension or the transmission completion, where the transmission or the suspension of the transmission will also display the information of the transmission network speed, the remaining time, the remaining memory of the transmitted data, and the like.
According to an embodiment of the present invention, further comprising:
acquiring data transmission interruption information;
transmitting the data transmission interruption information to a data transmitting end for display, and triggering a continuous transmission window;
sending the data transmission interruption information to a data receiving end for display, and triggering a continuous transmission invitation window;
when the data sending end confirms that the transmission is continued or the data receiving end confirms that the transmission invitation is continued, triggering whether the opposite side agrees with the window or not, if so, continuing to transmit the corresponding data; otherwise, continuing to stop;
when the data sending end confirms that the transmission is continued and the data receiving end confirms that the transmission invitation is continued, the corresponding data is continuously transmitted.
When the data receiving end or the data transmitting end closes the WIFI book-transmitting software, locks the screen and the like, which can interrupt the data transmission, the data transmission is forced to be stopped; the data sending end triggers a continuous transmission window, and the data receiving end triggers a continuous transmission invitation window, wherein if the data sending end or the data receiving end does not agree, the data transmission is continuously stopped.
The third aspect of the present invention provides a computer medium, in which a data transmission method program based on android WIFI book transfer software is stored, where the data transmission method program based on android WIFI book transfer software implements the steps of a data transmission method based on android WIFI book transfer software according to any one of the above steps when executed by a processor.
The invention discloses a data transmission method, a system and a medium based on android WIFI book transfer software, wherein the method comprises the following steps: acquiring IP address information and subnet mask information of a data transmitting end and a data receiving end; performing AND operation on the IP address information of the data transmitting end and the subnet mask information to obtain a first calculation result; performing AND operation on the IP address information of the data receiving end and the subnet mask information to obtain a second calculation result; judging whether the first calculation result is consistent with the second calculation result, if so, successfully matching the data sending end with the data receiving end, and allowing data transmission; otherwise, the matching is unsuccessful; acquiring data information to be transmitted; based on preset android WIFI book transfer software, the data sending end transmits data to be transmitted to a corresponding data receiving end successfully matched. According to the invention, the data transmitting end and the data receiving end are connected to the same network segment, so that data does not need to pass through three layers of equipment such as a router, and the safety and the efficiency of data transmission are improved.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present invention may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.

Claims (10)

1. The data transmission method based on android WIFI book transfer software is characterized by comprising the following steps of:
acquiring IP address information and subnet mask information of a data transmitting end and a data receiving end;
performing AND operation on the IP address information of the data transmitting end and the subnet mask information to obtain a first calculation result;
performing AND operation on the IP address information of the data receiving end and the subnet mask information to obtain a second calculation result;
judging whether the first calculation result is consistent with the second calculation result, if so, successfully matching the data sending end with the data receiving end, and allowing data transmission; otherwise, the matching is unsuccessful;
acquiring data information to be transmitted;
based on preset android WIFI book transfer software, the data sending end transmits data to be transmitted to a corresponding data receiving end successfully matched.
2. The data transmission method based on android WIFI book transfer software of claim 1, further comprising:
obtaining format information of the data to be transmitted according to the data information to be transmitted;
judging whether the format of the data to be transmitted accords with a preset supporting format range or not; if not, displaying the data format error to be transmitted, and ending the data transmission; otherwise, the display is not carried out, and the data transmission is normal;
and sending the data transmission termination information to be transmitted to a data sending end for display.
3. The data transmission method based on android WIFI book transfer software of claim 1, further comprising:
obtaining memory value information of data to be transmitted according to the data information to be transmitted;
dividing the memory value of the data to be transmitted according to the single file to obtain the memory value of the single transmission file;
judging whether the memory value of the single transmission file is smaller than a preset transmission memory threshold value, if so, transmitting normally; otherwise, the transmission fails;
and sending the data transmission failure information to be transmitted to a data starting end for display.
4. The data transmission method based on android WIFI book transfer software according to claim 3, further comprising:
acquiring an available memory value of a data receiving end;
performing difference calculation on the available memory value of the data receiving end and the memory of the data to be transmitted to obtain a memory difference;
judging whether the memory difference is smaller than a preset second threshold value, if so, triggering a memory shortage prompt by the data receiving end; otherwise, not triggering.
5. The data transmission method based on android WIFI book transfer software according to claim 3, further comprising:
acquiring network speed information of data transmission;
obtaining transmission time information according to the network speed of data transmission and the memory value of data to be transmitted;
and sending the transmission time to a data sending end and a data receiving end for display.
6. The data transmission method based on android WIFI book transfer software of claim 5, further comprising:
marking the network speed of data transmission according to time;
extracting the maximum network speed and the minimum network speed of data transmission in a preset time period;
calculating the difference value of the maximum network speed and the minimum network speed of data transmission in a preset time period to obtain a network speed fluctuation value;
judging whether the network speed fluctuation value is smaller than a preset network speed fluctuation threshold value, if yes, the network speed fluctuation of data transmission is normal; otherwise, the network speed fluctuation abnormal information is sent to the data sending end and the data receiving end for display.
7. The data transmission system based on the android WIFI book transfer software is characterized by comprising a memory and a processor, wherein a data transmission method program based on the android WIFI book transfer software is stored in the memory, and the following steps are realized when the data transmission method program based on the android WIFI book transfer software is executed by the processor:
acquiring IP address information and subnet mask information of a data transmitting end and a data receiving end;
performing AND operation on the IP address information of the data transmitting end and the subnet mask information to obtain a first calculation result;
performing AND operation on the IP address information of the data receiving end and the subnet mask information to obtain a second calculation result;
judging whether the first calculation result is consistent with the second calculation result, if so, successfully matching the data sending end with the data receiving end, and allowing data transmission; otherwise, the matching is unsuccessful;
acquiring data information to be transmitted;
based on preset android WIFI book transfer software, the data sending end transmits data to be transmitted to a corresponding data receiving end successfully matched.
8. The android WIFI book transfer software based data transmission system of claim 7, further comprising:
obtaining format information of the data to be transmitted according to the data information to be transmitted;
judging whether the format of the data to be transmitted accords with a preset supporting format range or not; if not, displaying the data format error to be transmitted, and ending the data transmission; otherwise, the display is not carried out, and the data transmission is normal;
and sending the data transmission termination information to be transmitted to a data sending end for display.
9. The android WIFI book transfer software based data transmission system of claim 7, further comprising:
obtaining memory value information of data to be transmitted according to the data information to be transmitted;
dividing the memory value of the data to be transmitted according to the single file to obtain the memory value of the single transmission file;
judging whether the memory value of the single transmission file is smaller than a preset transmission memory threshold value, if so, transmitting normally; otherwise, the transmission fails;
and sending the data transmission failure information to be transmitted to a data starting end for display.
10. A computer medium, wherein a data transmission method program based on android WIFI book-transfer software is stored in the computer medium, and when the data transmission method program based on android WIFI book-transfer software is executed by a processor, the steps of a data transmission method based on android WIFI book-transfer software according to any one of claims 1 to 6 are implemented.
CN202310382405.5A 2023-04-12 2023-04-12 Data transmission method, system and medium based on android WIFI book transfer software Active CN116321079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310382405.5A CN116321079B (en) 2023-04-12 2023-04-12 Data transmission method, system and medium based on android WIFI book transfer software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310382405.5A CN116321079B (en) 2023-04-12 2023-04-12 Data transmission method, system and medium based on android WIFI book transfer software

Publications (2)

Publication Number Publication Date
CN116321079A true CN116321079A (en) 2023-06-23
CN116321079B CN116321079B (en) 2023-11-17

Family

ID=86818747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310382405.5A Active CN116321079B (en) 2023-04-12 2023-04-12 Data transmission method, system and medium based on android WIFI book transfer software

Country Status (1)

Country Link
CN (1) CN116321079B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010102561A1 (en) * 2009-03-10 2010-09-16 华为技术有限公司 Data local exchange method, device and system thereof
CN104753808A (en) * 2013-12-31 2015-07-01 腾讯科技(深圳)有限公司 Network system data transmission method and device and data transmission system
CN106331214A (en) * 2016-08-30 2017-01-11 成都科来软件有限公司 Method and system for grouping IP addresses through combination of subnet masks
CN109561124A (en) * 2017-09-27 2019-04-02 深圳市创易联合科技有限公司 A kind of method, system and the terminal device of file transmission
WO2021147430A1 (en) * 2020-01-20 2021-07-29 深圳传音控股股份有限公司 Information processing method and device, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010102561A1 (en) * 2009-03-10 2010-09-16 华为技术有限公司 Data local exchange method, device and system thereof
CN104753808A (en) * 2013-12-31 2015-07-01 腾讯科技(深圳)有限公司 Network system data transmission method and device and data transmission system
CN106331214A (en) * 2016-08-30 2017-01-11 成都科来软件有限公司 Method and system for grouping IP addresses through combination of subnet masks
CN109561124A (en) * 2017-09-27 2019-04-02 深圳市创易联合科技有限公司 A kind of method, system and the terminal device of file transmission
WO2021147430A1 (en) * 2020-01-20 2021-07-29 深圳传音控股股份有限公司 Information processing method and device, and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
唐东: "子网掩码与IP地址", 《信息与电脑》, pages 130 - 131 *
纪振华: "IP地址与子网掩码的应用", 《计算机与网络》, pages 55 - 57 *
陈祥章: "TCP/IP协议中子网掩码的应用", 《华南金融电脑》, no. 10, pages 85 - 86 *

Also Published As

Publication number Publication date
CN116321079B (en) 2023-11-17

Similar Documents

Publication Publication Date Title
CN107222426B (en) Flow control method, device and system
CN113115351B (en) Network exception processing method, processing device, terminal equipment and medium
CN105262792B (en) A kind of vehicle abnormality processing method and car-mounted terminal
CN109861856B (en) Method and device for notifying system fault information, storage medium and computer equipment
WO2003045089A1 (en) Identifying changed records in a file stored on an electronic token
CN112087744A (en) Method, system, device and storage medium for identifying terminal model
CN111063183A (en) Bluetooth-based electric energy meter statistical method and device and storage medium
CN111857609A (en) Method and device for uploading cloud printing log and computer storage medium
CN106856474A (en) A kind of processing method and processing device of checking information
CN116321079B (en) Data transmission method, system and medium based on android WIFI book transfer software
CN112565062B (en) Processing method, related device, equipment and medium of instant messaging order
CN111371919A (en) IP query method and device of Internet of things card and electronic equipment
CN112654004B (en) Short message issuing method, device and system and electronic equipment
CN112230815B (en) Intelligent help seeking method, device, equipment and storage medium
CN110557324B (en) Unread IM message processing method and device
CN112383438A (en) Method for constructing distribution network error code, and method and device for distributing network of intelligent equipment
CN111625372A (en) Text pasting method, device, PC (personal computer) terminal, mobile terminal and system
CN111859239A (en) Method and device for message pushing and electronic equipment
CN111428098A (en) Data monitoring method, monitoring platform and storage medium based on pigeon clock equipment
CN111401490A (en) Two-dimensional code obtaining method and related device
CN112954692A (en) Distribution network identifier generation method and device and terminal
CN114386097B (en) User information management method based on cloud architecture and related equipment
CN113158823B (en) Face recognition method and device
CN112581732B (en) Alarm triggering method and device, storage medium and electronic device
WO2013171745A1 (en) Anti-malware detection and removal systems and methods

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
GR01 Patent grant
GR01 Patent grant