CN107148056B - Data transmission method and system for synchronous server type wireless router - Google Patents

Data transmission method and system for synchronous server type wireless router Download PDF

Info

Publication number
CN107148056B
CN107148056B CN201710282209.5A CN201710282209A CN107148056B CN 107148056 B CN107148056 B CN 107148056B CN 201710282209 A CN201710282209 A CN 201710282209A CN 107148056 B CN107148056 B CN 107148056B
Authority
CN
China
Prior art keywords
data
storage space
application
received
wireless router
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
CN201710282209.5A
Other languages
Chinese (zh)
Other versions
CN107148056A (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.)
An Beijing Rong Technology Co ltd
Original Assignee
Phicomm Shanghai 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 Phicomm Shanghai Co Ltd filed Critical Phicomm Shanghai Co Ltd
Priority to CN201710282209.5A priority Critical patent/CN107148056B/en
Publication of CN107148056A publication Critical patent/CN107148056A/en
Application granted granted Critical
Publication of CN107148056B publication Critical patent/CN107148056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0294Traffic management, e.g. flow control or congestion control forcing collision

Abstract

The invention relates to the technical field of wireless routers, in particular to a data transmission method and a data transmission system for a synchronous server type wireless router. A data transmission method of a synchronous server type wireless router comprises the following steps that an application detection linked list is established for applications in terminal equipment through the wireless router, and a corresponding storage space is distributed for each application according to the application detection linked list; the data to be transmitted is detected through the wireless router, when the data is sent to the network through the wireless router by the terminal equipment, the data to be transmitted is judged to be the data to be sent, and when the data is sent to the terminal equipment through the wireless router by the network, the data to be transmitted is judged to be the data to be received. The invention can temporarily store the specific transmission data in the router through the wireless router to wait for the transmission at a proper time, thereby avoiding the phenomena of network blockage and slow data transmission.

Description

Data transmission method and system for synchronous server type wireless router
Technical Field
The invention relates to the technical field of wireless routers, in particular to a data transmission method and a data transmission system for a synchronous server type wireless router.
Background
With the development of networks, the role of a wireless router in the network is more and more important, and people also use the wireless router more and more as a gateway routing device for home networking. A Router (Router), also known as a Gateway device (Gateway), is used to connect multiple logically separate networks. By logical network is meant a single network or a sub-network. This may be accomplished by the routing function of the router when data is transferred from one subnet to another. Therefore, the router has a function of judging a network address and selecting an IP path. It can establish flexible connection in multi-network interconnection environment, and can use completely different data packet and medium access method to connect various sub-networks. The router only receives the information of a source station or other routers, and belongs to an interconnection device of a network layer.
People often use a wireless router as a bridge connected to a wireless link in a wired manner, and when using a mobile phone, the wireless router only converts a wireless signal of the mobile phone into a wired signal and transmits the wired signal to the Internet (wired network), or converts the wired signal transmitted by the Internet into a wireless signal and transmits the wireless signal to the mobile phone. In practical applications, when an APP is updated from a remote server by using wireless routing or a video is downloaded by using WeChat, a bottleneck of network speed is often encountered, so that the downloading or updating is slow.
In the prior art, some routers can provide a storage function for a user, for example, some routers have a hard disk; some routers have cloud functions. The router with the storage function comprises a router, wherein an antenna is arranged on the router, a network hard disk is arranged at the bottom of the router, a storage battery is arranged at the bottom of the network hard disk, the storage battery is connected with the router, and the storage battery is further connected with the network hard disk which is connected with the router through a data line. For another example, the chinese utility model with application number 201220242628.9 and title of invention "a router supporting internet behavior data storage" discloses a router supporting internet behavior data storage, which comprises a router arranged in a network, the router is connected to a power supply, and a storage module is arranged on the router; the router comprises a central processing unit, and a switching control unit, a storage unit and an Ethernet control unit which are respectively connected with the central processing unit, wherein the storage module is connected with the central processing unit.
Generally, a user can upload a file to a router and download the uploaded file from the router in a mobile phone APP or the like when needed. But storing the file data in the router without limitation does not effectively improve the efficiency of data transmission.
Disclosure of Invention
The invention provides a data transmission method and a data transmission system for a synchronous server type wireless router, aiming at the problems in the prior art, and the method and the system can temporarily store specific transmission data in the router through the wireless router to wait for proper time for transmission, thereby avoiding the phenomena of network blockage and slow data transmission.
The technical scheme adopted by the invention for solving the technical problems is as follows: a data transmission method of a synchronous server type wireless router comprises the following steps,
(1) establishing an application detection linked list for applications in terminal equipment through a wireless router, and distributing a corresponding storage space for each application according to the application detection linked list;
(2) detecting data to be transmitted through a wireless router, judging the data to be transmitted as the data to be transmitted when the data is transmitted to a network from a terminal device through the wireless router, and judging the data to be transmitted as the data to be received when the data is transmitted to the terminal device from the network through the wireless router;
(3) when the data to be transmitted is the data to be transmitted, temporarily storing the data to be transmitted which meets a certain threshold value in a corresponding storage space according to the application detection linked list, and waiting for network response to transmit the data to be transmitted in the storage space to a network;
and when the data to be transmitted is the data to be received, temporarily storing the data to be received meeting a certain threshold value in a corresponding storage space according to the application detection linked list, and waiting for the response of the terminal equipment to transmit the data to be received in the storage space to the terminal equipment.
Preferably, the step (1) specifically includes, when the terminal device is connected to the wireless router, the wireless router first detects an installed application in the terminal device, establishes an application detection linked list according to the installed application, and allocates a corresponding storage unit to each application on a memory of the wireless router according to the application detection linked list.
Preferably, in the step (3), when a certain application of the terminal device needs to send data to the network through the wireless router, the wireless router may first detect a size of data to be sent and a waiting interval of the data to be sent of the corresponding application, when the size of the data to be sent is greater than a first storage threshold and the waiting interval of the data to be sent is greater than a first interval threshold, the wireless router may move the data to be sent to a storage space corresponding to the corresponding application according to the application detection linked list and record a destination address where the data to be sent of the corresponding application is to be sent, and when the network starts to respond to the data to be sent, the wireless router transmits the data in the storage space to the destination address;
the first storage threshold is the size of a storage space for storing data to be sent; the first interval threshold is the number of transmission data for which the data to be sent needs to wait before transmission.
Preferably, in the step (3), when the network needs to send data to a certain application of the terminal device through the wireless router, the wireless router first detects the size of the data to be received, the waiting interval of the data to be received, and the corresponding application of the data to be received, when the size of the data to be received is greater than the second storage threshold and the waiting interval of the data to be received is greater than the second interval threshold, the wireless router moves the data to be received to the storage space corresponding to the corresponding application according to the application detection linked list, and when the terminal device starts to respond to the data to be received, the wireless router transmits the data in the storage space to the corresponding application;
the second storage threshold is the size of a storage space for storing data to be received; the second interval threshold is the number of transmission data for which the data to be received needs to wait before transmission.
Preferably, the allocating a storage space to the application in step (1) specifically includes dividing the total storage space of the wireless router into a plurality of storage space blocks in an equivalent manner and storing the storage space blocks in the storage pool; when the terminal equipment adds an application, a storage space block is randomly selected from the storage pool as the basic storage space of the newly added application; when the terminal equipment deletes an application, the basic storage space of the deleted application is used as a storage space block to be placed back into the storage pool again; when the storage value of the transmission data of a certain application is larger than the basic storage space of the corresponding application, at least one storage space block is randomly selected from the storage pool according to the storage value of the transmission data and is sequentially combined with the basic storage space to form a temporary storage space, and after the data transmission is finished, the combined storage space block is separated from the basic storage space and is placed back to the storage pool.
A synchronous server type wireless router data transmission system comprises,
the application detection linked list generating module is used for establishing an application detection linked list for the application in the terminal equipment through the wireless router;
the storage space distribution module is used for distributing a corresponding storage space to each application according to the application detection linked list;
the data detection module is used for detecting data to be transmitted, judging the data to be transmitted as the data to be transmitted when the data is transmitted to the network from the terminal equipment through the wireless router, and judging the data to be transmitted as the data to be received when the data is transmitted to the terminal equipment from the network through the wireless router;
the data processing module is used for temporarily storing the data to be transmitted meeting a certain threshold value in a corresponding storage space according to the application detection linked list when the data to be transmitted is the data to be transmitted, and waiting for network response to transmit the data to be transmitted in the storage space to a network; and when the data to be transmitted is the data to be received, temporarily storing the data to be received meeting a certain threshold value in a corresponding storage space according to the application detection linked list, and waiting for the response of the terminal equipment to transmit the data to be received in the storage space to the terminal equipment.
Preferably, the application detection linked list generating module comprises an application detection unit and a linked list generating unit, wherein the application detection unit is used for detecting the application name and the application number in the terminal equipment in real time;
and the linked list generating unit is used for sequentially adding the newly added applications to the tail end of the linked list according to the installation sequence of the applications, and deleting the deleted applications from the original linked list so as to update the linked list in real time.
Preferably, the storage space allocation module comprises a storage space equally dividing unit, a basic storage space allocation unit and a temporary storage space forming unit;
the storage space equally dividing unit is used for equally dividing the total storage space of the wireless router into a plurality of storage space blocks and storing the storage space blocks in the storage pool;
the basic storage space allocation unit is used for randomly selecting a storage space block from the storage pool as the basic storage space of the newly added application when the terminal equipment newly adds the application, and replacing the basic storage space of which the application is deleted as the storage space block into the storage pool again when the terminal equipment deletes the application;
the temporary storage space forming unit is used for randomly selecting at least one storage space block from the storage pool according to the stored value of the transmission data to be sequentially merged with the basic storage space to form a temporary storage space when the stored value of the transmission data of a certain application is larger than the basic storage space of the corresponding application, and separating the merged storage space block from the basic storage space and putting the merged storage space block back to the storage pool after the data transmission is finished.
Preferably, the data processing module comprises a first storage threshold setting unit, a first interval threshold setting unit, a transmitted data information acquiring unit, a transmitted data comparing unit and a transmitted data processing unit;
the sending data information acquisition unit is used for acquiring the size of the data to be sent and the waiting interval of the data to be sent;
the sending data comparing unit is used for comparing the size of the data to be sent with a first storage threshold value, comparing the waiting interval of the data to be sent with a first interval threshold value, and starting the sending data processing unit when the size of the data to be sent is larger than the first storage threshold value and the waiting interval of the data to be sent is larger than the first interval threshold value;
and the data sending processing unit is used for moving the data to be sent to the storage space corresponding to the corresponding application according to the application detection linked list, recording the destination address of the data to be sent by the corresponding application, and transmitting the data in the storage space to the destination address by the wireless router when the network starts to respond to the data to be sent.
Preferably, the data processing module further comprises a second storage threshold setting unit, a second interval threshold setting unit, a received data information obtaining unit, a received data comparing unit and a received data processing unit;
the receiving data information acquiring unit is used for acquiring the size of the data to be received and the waiting interval of the data to be received;
the received data comparing unit is used for comparing the size of the data to be received with a second storage threshold value, comparing the waiting interval of the data to be received with a second interval threshold value, and starting the received data processing unit when the size of the data to be received is larger than the second storage threshold value and the waiting interval of the data to be received is larger than the second interval threshold value;
and the received data processing unit is used for moving the data to be received to the corresponding storage space of the corresponding application according to the application detection linked list, and when the terminal equipment starts to respond to the data to be received, the wireless router transmits the data in the storage space to the corresponding application.
The invention has the advantages that the invention can assist the user to send large-capacity data to the external network through the terminal equipment, and send and store the larger data to be sent to the wireless router firstly, and then the larger data is sent to the outside by the wireless router at proper time, thereby avoiding the phenomena of network blockage and slow data transmission. The data processing method can assist a user to receive large-capacity data through the terminal device, the data needing to be obtained from the remote server is stored through the wireless router, and when the user needs the data on the remote server, the data can be directly obtained from the wireless router, so that the network downloading time is saved, and the network congestion is avoided.
Drawings
Fig. 1 is a schematic flow chart of a data transmission method of a synchronous server type wireless router;
fig. 2 is a schematic structural diagram of a data transmission system of a synchronous server type wireless router.
Detailed Description
The following are specific embodiments of the present invention and are further described with reference to the drawings, but the present invention is not limited to these embodiments.
As shown in fig. 1, a data transmission method for a synchronous server type wireless router includes the following steps of (1) establishing an application detection linked list for an application in a terminal device through the wireless router, and according to the application detection linked list
The application detection linked list allocates a corresponding storage space to each application.
The application detection linked list is composed of application names, the application names are sequentially arranged according to the installation sequence of the applications, when one application is newly added, the name of the newly installed application is added at the tail of the application detection linked list to update the application detection linked list, and when one application is deleted, the application name corresponding to the deleted application is deleted in the original application detection linked list to update the application detection linked list, so that the application detection linked list is always in the latest state.
When the terminal equipment is connected with the wireless router, the wireless router firstly detects the applications installed in the terminal equipment, establishes an application detection linked list according to the installed applications, and allocates a corresponding storage space to each application on a memory of the wireless router according to the application detection linked list.
The method specifically comprises the steps of dividing the total storage space of the wireless router into a plurality of storage space blocks in an equivalent manner and storing the storage space blocks in a storage pool, wherein the value of the total storage space is fixed, the number of the storage space blocks is optimally twice of the number of the applications, if the number of the storage space blocks is too small, the allocation is not flexible enough, if the number of the storage space blocks is too large, the storage value of the storage space block is small, the storage data is not beneficial to storage, and other storage space blocks cannot obtain effective reasons, so that the waste of the storage space is caused. And the storage space of the application is redistributed correspondingly every time the application detection linked list is updated.
When the terminal equipment adds an application, a storage space block is randomly selected from the storage pool as the basic storage space of the added application, and the basic storage space corresponds to the related application. When the terminal equipment deletes an application, the basic storage space of the deleted application is used as a storage space block to be placed back into the storage pool again; when the storage value of the transmission data of a certain application is larger than the basic storage space of the corresponding application, at least one storage space block is randomly selected from the storage pool according to the storage value of the transmission data and is sequentially combined with the basic storage space to form a temporary storage space so as to store the related transmission data, and after the data transmission is completed, the combined storage space block is separated from the basic storage space and is placed back to the storage pool. The storage space allocation method can effectively utilize the storage space of the router, and avoids the phenomenon that the storage space of part of applications is not enough and the storage space of the other part of applications is always in an empty state.
(2) The data to be transmitted is detected through the wireless router, when the data is sent to the network through the wireless router by the terminal equipment, the data to be transmitted is judged to be the data to be sent, and when the data is sent to the terminal equipment through the wireless router by the network, the data to be transmitted is judged to be the data to be received.
(3) And when the data to be transmitted is the data to be transmitted, temporarily storing the data to be transmitted meeting a certain threshold value in a corresponding storage space according to the application detection linked list, and waiting for network response to transmit the data to be transmitted in the storage space to the network.
When a certain application of the terminal equipment needs to send data to the network through the wireless router, the wireless router can detect the size of the data to be sent and the waiting interval of the data to be sent of the corresponding application, when the size of the data to be sent is larger than a first storage threshold value and the waiting interval of the data to be sent is larger than a first interval threshold value, the wireless router can move the data to be sent to a storage space corresponding to the corresponding application according to an application detection chain table and record a destination address of the data to be sent of the corresponding application, and when the network starts to respond to the data to be sent, the wireless router transmits the data in the storage space to the destination address. The first storage threshold is the size of a storage space for storing data to be sent; the first interval threshold is the number of transmission data for which the data to be sent needs to wait before transmission.
In the first embodiment of sending data, the first storage threshold is 500KB, and the first interval threshold is 5 KB. When the application 1 of the terminal device needs to transmit 600KB of data to the external server, if the transmission order of the data is 5 from the transmission interval of the data currently being transmitted, although the size of the data to be transmitted is larger than the first storage threshold, the waiting interval of the data to be transmitted is equal to the first interval threshold, and therefore, the data is directly transmitted without being temporarily stored in the storage space of the router.
In the second embodiment of transmitting data, the first storage threshold is 500KB, and the first interval threshold is 5 KB. When the application 2 of the terminal device needs to transmit 300KB of data to the external server, if the transmission order of the data is 5 from the transmission interval of the data currently being transmitted, since the size of the data to be transmitted is smaller than the first storage threshold and the waiting interval of the data to be transmitted is equal to the first interval threshold, the data is directly transmitted without being temporarily stored in the storage space of the router.
In the third embodiment of sending data, the first storage threshold is 500KB, and the first interval threshold is 5 KB. When the application 3 of the terminal equipment needs to send 600KB data to the external server, if the sending sequence of the data is 6 away from the transmission interval of the currently transmitted data, because the size of the data to be sent is greater than the first storage threshold value and the waiting interval of the data to be sent is greater than the first interval threshold value, the data is temporarily stored in the storage space of the router corresponding to the corresponding application 3, and the destination address of the data to be sent is recorded, until the external server responds to the data, the data is sent to the corresponding destination address. If the storage value of the memory space block is 700KB, the data to be transmitted is directly stored in the basic memory space corresponding to the application 3. If the storage value of the storage space block is 550KB, the basic storage space and a storage space block need to be merged to form a temporary storage space for storing data to be transmitted, and after the data transmission is completed, the storage space block is separated from the basic storage space.
And when the data to be transmitted is the data to be received, temporarily storing the data to be received meeting a certain threshold value in a corresponding storage space according to the application detection linked list, and waiting for the response of the terminal equipment to transmit the data to be received in the storage space to the terminal equipment.
When a network needs to send data to a certain application of a terminal device through a wireless router, the wireless router firstly detects the size of the data to be received, the waiting interval of the data to be received and the corresponding application of the data to be received, when the size of the data to be received is larger than a second storage threshold and the waiting interval of the data to be received is larger than a second interval threshold, the wireless router moves the data to be received to a storage space corresponding to the corresponding application according to an application detection linked list, and when the terminal device starts to respond to the data to be received, the wireless router transmits the data in the storage space to the corresponding application. The second storage threshold is the size of a storage space for storing data to be received; the second interval threshold is the number of transmission data for which the data to be received needs to wait before transmission.
In the first embodiment of receiving data, the second storage threshold is 500KB, and the second interval threshold is 5 KB. When the external server needs to transmit 600KB of data to the application 4 of the terminal device, if the reception order of the data is 3 from the transmission interval of the data currently being transmitted, although the size of the data to be received is larger than the second storage threshold, the waiting interval of the data to be received is smaller than the second interval threshold, and therefore, the data is directly received and does not need to be temporarily stored in the storage space of the router.
In the second embodiment of sending data, the second storage threshold is 500KB, and the second interval threshold is 5 KB. When the external server needs to transmit 300KB of data to the application 5 of the terminal device, if the reception order of the data is 5 from the transmission interval of the data currently being transmitted, since the size of the data to be received is smaller than the second storage threshold and the waiting interval of the data to be received is equal to the second interval threshold, the data is directly received without being temporarily stored in the storage space of the router.
In the third embodiment of sending data, the second storage threshold is 500KB, and the second interval threshold is 5 KB. When the external server needs to send 1300KB of data to the application 6 of the terminal device, if the receiving sequence of the data is 6 from the transmission interval of the data currently being transmitted, since the size of the data to be received is greater than the second storage threshold and the waiting interval of the data to be received is greater than the second interval threshold, the data is temporarily stored in the storage space of the router corresponding to the corresponding application 6 until the application 6 responds to the data, and then the data is received by the application 6. If the storage value of the memory space block is 1400KB, the data to be received is directly stored in the base memory space corresponding to the application 6. If the storage value of the storage space block is 550KB, the basic storage space and the two storage space blocks need to be merged to form a temporary storage space for storing the data to be received, and after the data reception is completed, the storage space block is separated from the basic storage space.
As shown in fig. 2, a synchronous server type wireless router data transmission system includes,
and the application detection linked list generating module is used for establishing an application detection linked list for the application in the terminal equipment through the wireless router. The application detection linked list generating module comprises an application detection unit and a linked list generating unit. The application detection unit is used for detecting the application name and the application number in the terminal equipment in real time. And the linked list generating unit is used for sequentially adding the newly added applications to the tail end of the linked list according to the installation sequence of the applications, and deleting the deleted applications from the original linked list so as to update the linked list in real time.
And the storage space distribution module is used for distributing a corresponding storage space to each application according to the application detection linked list. The storage space distribution module comprises a storage space equipartition unit, a basic storage space distribution unit and a temporary storage space forming unit.
And the storage space equally dividing unit is used for equally dividing the total storage space of the wireless router into a plurality of storage space blocks and storing the storage space blocks in the storage pool. And the basic storage space allocation unit is used for randomly selecting a storage space block from the storage pool as the basic storage space of the newly added application when the terminal equipment newly adds the application, and replacing the basic storage space of which the application is deleted as the storage space block into the storage pool again when the terminal equipment deletes the application. The temporary storage space forming unit is used for randomly selecting at least one storage space block from the storage pool according to the stored value of the transmission data to be sequentially merged with the basic storage space to form a temporary storage space when the stored value of the transmission data of a certain application is larger than the basic storage space of the corresponding application, and separating the merged storage space block from the basic storage space and putting the merged storage space block back to the storage pool after the data transmission is finished.
The data detection module is used for detecting the data to be transmitted, judging the data to be transmitted as the data to be transmitted when the data is transmitted to the network from the terminal equipment through the wireless router, and judging the data to be transmitted as the data to be received when the data is transmitted to the terminal equipment from the network through the wireless router.
The data processing module is used for temporarily storing the data to be transmitted meeting a certain threshold value in a corresponding storage space according to the application detection linked list when the data to be transmitted is the data to be transmitted, and waiting for network response to transmit the data to be transmitted in the storage space to a network; and when the data to be transmitted is the data to be received, temporarily storing the data to be received meeting a certain threshold value in a corresponding storage space according to the application detection linked list, and waiting for the response of the terminal equipment to transmit the data to be received in the storage space to the terminal equipment.
The data processing module comprises a first storage threshold setting unit, a first interval threshold setting unit, a sent data information acquiring unit, a sent data comparing unit and a sent data processing unit. The sending data information obtaining unit is used for obtaining the size of the data to be sent and the waiting interval of the data to be sent. The sending data comparing unit is used for comparing the size of the data to be sent with a first storage threshold value, comparing the waiting interval of the data to be sent with a first interval threshold value, and starting the sending data processing unit when the size of the data to be sent is larger than the first storage threshold value and the waiting interval of the data to be sent is larger than the first interval threshold value. And the data sending processing unit is used for moving the data to be sent to the storage space corresponding to the corresponding application according to the application detection linked list, recording the destination address of the data to be sent by the corresponding application, and transmitting the data in the storage space to the destination address by the wireless router when the network starts to respond to the data to be sent.
The data processing module further comprises a second storage threshold setting unit, a second interval threshold setting unit, a received data information acquiring unit, a received data comparing unit and a received data processing unit. The received data information acquiring unit is used for acquiring the size of the data to be received and the waiting interval of the data to be received. The received data comparing unit is used for comparing the size of the data to be received with a second storage threshold value, comparing the waiting interval of the data to be received with a second interval threshold value, and starting the received data processing unit when the size of the data to be received is larger than the second storage threshold value and the waiting interval of the data to be received is larger than the second interval threshold value. And the received data processing unit is used for moving the data to be received to the corresponding storage space of the corresponding application according to the application detection linked list, and when the terminal equipment starts to respond to the data to be received, the wireless router transmits the data in the storage space to the corresponding application.
The specific embodiments described herein are merely illustrative of the spirit of the invention. Various modifications or additions may be made to the described embodiments or alternatives may be employed by those skilled in the art without departing from the spirit or ambit of the invention as defined in the appended claims.

Claims (8)

1. A data transmission method of a synchronous server type wireless router is characterized in that: comprises the following steps of (a) carrying out,
(1) establishing an application detection linked list for applications in terminal equipment through a wireless router, and distributing a corresponding storage space for each application according to the application detection linked list;
(2) detecting data to be transmitted through a wireless router, judging the data to be transmitted as the data to be transmitted when the data is transmitted to a network from a terminal device through the wireless router, and judging the data to be transmitted as the data to be received when the data is transmitted to the terminal device from the network through the wireless router;
(3) when the data to be transmitted is the data to be transmitted, temporarily storing the data to be transmitted which meets a certain threshold value in a corresponding storage space according to the application detection linked list, and waiting for network response to transmit the data to be transmitted in the storage space to a network;
when the data to be transmitted is the data to be received, temporarily storing the data to be received meeting a certain threshold value in a corresponding storage space according to the application detection linked list, and waiting for the response of the terminal equipment to transmit the data to be received in the storage space to the terminal equipment;
in the step (3), when a certain application of the terminal device needs to send data to the network through the wireless router, the wireless router may first detect the size of data to be sent and the waiting interval of the data to be sent of the corresponding application, when the size of the data to be sent is greater than the first storage threshold and the waiting interval of the data to be sent is greater than the first interval threshold, the wireless router moves the data to be sent to the storage space corresponding to the corresponding application according to the application detection linked list, and records the destination address of the data to be sent of the corresponding application, and when the network starts to respond to the data to be sent, the wireless router transmits the data in the storage space to the destination address;
the first storage threshold is the size of a storage space for storing data to be sent; the first interval threshold is the number of transmission data for which the data to be sent needs to wait before transmission.
2. The data transmission method of the synchronous server type wireless router according to claim 1, wherein: specifically, the step (1) includes, when the terminal device is connected to the wireless router, the wireless router first detecting an installed application in the terminal device, establishing an application detection linked list according to the installed application, and allocating a corresponding storage unit to each application on a memory of the wireless router according to the application detection linked list.
3. The data transmission method of the synchronous server type wireless router according to claim 1, wherein: in the step (3), when the network needs to send data to a certain application of the terminal device through the wireless router, the wireless router first detects the size of the data to be received, the waiting interval of the data to be received, and the corresponding application of the data to be received, when the size of the data to be received is greater than the second storage threshold and the waiting interval of the data to be received is greater than the second interval threshold, the wireless router moves the data to be received to the storage space corresponding to the corresponding application according to the application detection linked list, and when the terminal device starts to respond to the data to be received, the wireless router transmits the data in the storage space to the corresponding application;
the second storage threshold is the size of a storage space for storing data to be received; the second interval threshold is the number of transmission data for which the data to be received needs to wait before transmission.
4. The data transmission method of the synchronous server type wireless router according to claim 1, wherein: the step (1) of allocating a storage space to the application specifically includes equivalently dividing the total storage space of the wireless router into a plurality of storage space blocks and storing the storage space blocks in a storage pool; when the terminal equipment adds an application, a storage space block is randomly selected from the storage pool as the basic storage space of the newly added application; when the terminal equipment deletes an application, the basic storage space of the deleted application is used as a storage space block to be placed back into the storage pool again; when the storage value of the transmission data of a certain application is larger than the basic storage space of the corresponding application, at least one storage space block is randomly selected from the storage pool according to the storage value of the transmission data and is sequentially combined with the basic storage space to form a temporary storage space, and after the data transmission is finished, the combined storage space block is separated from the basic storage space and is placed back to the storage pool.
5. A synchronous server type wireless router data transmission system is characterized in that: comprises the steps of (a) preparing a mixture of a plurality of raw materials,
the application detection linked list generating module is used for establishing an application detection linked list for the application in the terminal equipment through the wireless router;
the storage space distribution module is used for distributing a corresponding storage space to each application according to the application detection linked list;
the data detection module is used for detecting data to be transmitted, judging the data to be transmitted as the data to be transmitted when the data is transmitted to the network from the terminal equipment through the wireless router, and judging the data to be transmitted as the data to be received when the data is transmitted to the terminal equipment from the network through the wireless router;
the data processing module is used for temporarily storing the data to be transmitted meeting a certain threshold value in a corresponding storage space according to the application detection linked list when the data to be transmitted is the data to be transmitted, and waiting for network response to transmit the data to be transmitted in the storage space to a network; when the data to be transmitted is the data to be received, temporarily storing the data to be received meeting a certain threshold value in a corresponding storage space according to the application detection linked list, and waiting for the response of the terminal equipment to transmit the data to be received in the storage space to the terminal equipment;
the data processing module comprises a first storage threshold setting unit, a first interval threshold setting unit, a transmitted data information acquiring unit, a transmitted data comparing unit and a transmitted data processing unit;
the sending data information acquisition unit is used for acquiring the size of the data to be sent and the waiting interval of the data to be sent;
the sending data comparing unit is used for comparing the size of the data to be sent with a first storage threshold value, comparing the waiting interval of the data to be sent with a first interval threshold value, and starting the sending data processing unit when the size of the data to be sent is larger than the first storage threshold value and the waiting interval of the data to be sent is larger than the first interval threshold value;
and the data sending processing unit is used for moving the data to be sent to the storage space corresponding to the corresponding application according to the application detection linked list, recording the destination address of the data to be sent by the corresponding application, and transmitting the data in the storage space to the destination address by the wireless router when the network starts to respond to the data to be sent.
6. The system of claim 5, wherein: the application detection linked list generation module comprises an application detection unit and a linked list generation unit, wherein the application detection unit is used for detecting the application names and the application numbers in the terminal equipment in real time;
and the linked list generating unit is used for sequentially adding the newly added applications to the tail end of the linked list according to the installation sequence of the applications, and deleting the deleted applications from the original linked list so as to update the linked list in real time.
7. The system of claim 5, wherein: the storage space distribution module comprises a storage space equipartition unit, a basic storage space distribution unit and a temporary storage space forming unit;
the storage space equally dividing unit is used for equally dividing the total storage space of the wireless router into a plurality of storage space blocks and storing the storage space blocks in the storage pool;
the basic storage space allocation unit is used for randomly selecting a storage space block from the storage pool as the basic storage space of the newly added application when the terminal equipment newly adds the application, and replacing the basic storage space of which the application is deleted as the storage space block into the storage pool again when the terminal equipment deletes the application;
the temporary storage space forming unit is used for randomly selecting at least one storage space block from the storage pool according to the stored value of the transmission data to be sequentially merged with the basic storage space to form a temporary storage space when the stored value of the transmission data of a certain application is larger than the basic storage space of the corresponding application, and separating the merged storage space block from the basic storage space and putting the merged storage space block back to the storage pool after the data transmission is finished.
8. The system of claim 5, wherein: the data processing module also comprises a second storage threshold setting unit, a second interval threshold setting unit, a received data information acquiring unit, a received data comparing unit and a received data processing unit;
the receiving data information acquiring unit is used for acquiring the size of the data to be received and the waiting interval of the data to be received;
the received data comparing unit is used for comparing the size of the data to be received with a second storage threshold value, comparing the waiting interval of the data to be received with a second interval threshold value, and starting the received data processing unit when the size of the data to be received is larger than the second storage threshold value and the waiting interval of the data to be received is larger than the second interval threshold value;
and the received data processing unit is used for moving the data to be received to the corresponding storage space of the corresponding application according to the application detection linked list, and when the terminal equipment starts to respond to the data to be received, the wireless router transmits the data in the storage space to the corresponding application.
CN201710282209.5A 2017-04-26 2017-04-26 Data transmission method and system for synchronous server type wireless router Active CN107148056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710282209.5A CN107148056B (en) 2017-04-26 2017-04-26 Data transmission method and system for synchronous server type wireless router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710282209.5A CN107148056B (en) 2017-04-26 2017-04-26 Data transmission method and system for synchronous server type wireless router

Publications (2)

Publication Number Publication Date
CN107148056A CN107148056A (en) 2017-09-08
CN107148056B true CN107148056B (en) 2020-06-05

Family

ID=59774005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710282209.5A Active CN107148056B (en) 2017-04-26 2017-04-26 Data transmission method and system for synchronous server type wireless router

Country Status (1)

Country Link
CN (1) CN107148056B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667165B (en) * 2020-12-29 2023-11-17 湖南博匠信息科技有限公司 Data storage system and data storage method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488685A (en) * 2013-09-02 2014-01-01 上海网达软件股份有限公司 Fragmented-file storage method based on distributed storage system
CN104702517A (en) * 2014-12-25 2015-06-10 北京奇虎科技有限公司 Router with multiple reading ports and method for reading data
CN105516787A (en) * 2015-12-09 2016-04-20 深圳Tcl数字技术有限公司 Storage control method and device of application cache data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488685A (en) * 2013-09-02 2014-01-01 上海网达软件股份有限公司 Fragmented-file storage method based on distributed storage system
CN104702517A (en) * 2014-12-25 2015-06-10 北京奇虎科技有限公司 Router with multiple reading ports and method for reading data
CN105516787A (en) * 2015-12-09 2016-04-20 深圳Tcl数字技术有限公司 Storage control method and device of application cache data

Also Published As

Publication number Publication date
CN107148056A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
CN106789526B (en) method and device for connecting multiple system networks
CN103348637B (en) For the method and apparatus that the frame delivery path in hybrid communication network is selected
CN101304330B (en) Resource allocation method, server and network system
EP1424819B1 (en) Routing of packet data in a mobile communications network
RU2012137184A (en) METHOD AND SYSTEM OF REALIZING THE REACH OF THE ROUTE TO THE HOST IN THE RING OF ACCESS TO THE NETWORK OF TRANSFER OF PACKAGES
JP2008017315A (en) Wireless bridge communication device
EP3041279A1 (en) Terminal and wireless networking method
CN103596290A (en) Wireless multi-network integration method
CN104796849A (en) Method and equipment for processing data packets
CN101102283A (en) A method and device for optimizing unknown unicast forward at wireless access point
CN107528721B (en) Automatic networking and data forwarding method by using MAC address in Android mobile terminal
CN102291465A (en) Load balancing method, device and system
US10548029B2 (en) Systems and methods for identifying a cell type and cell communication capabilities from cellular broadcast data
CN104022956A (en) Method and device for data message processing in location/ID separation protocol network
JP2016067000A (en) Radio communication terminal and radio communication method
CN106304036B (en) It is a kind of that the method and apparatus of junction traffic are provided
CN102387201A (en) Method, device and system for processing service data
CN105979505A (en) Air download method and device
CN103581258A (en) Network data caching method and system
CN107148056B (en) Data transmission method and system for synchronous server type wireless router
CN102594839A (en) Method for distinguishing pseudo dynamic host configuration protocol (DHCP) servers and switchboards
CN101860976A (en) Method, equipment and system for realizing local IP access of user equipment
CN106209641A (en) A kind of method, system and device of Message processing
JP3875121B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, TRANSFER DEVICE, AND NETWORK MANAGEMENT DEVICE
CN103701952A (en) Downlink transmission method of business data and grouped data gateway

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
TR01 Transfer of patent right

Effective date of registration: 20201109

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221201

Address after: 100000 room 26D, building 1, international science and technology entrepreneurship Park, No. 2, Shangdi Information Road, Haidian District, Beijing

Patentee after: An Beijing Rong Technology Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right