Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art may recognize applications of other processes and/or uses of other materials.
As shown in fig. 1, a flowchart of network transmission method steps provided in the embodiment of the present invention includes the following steps:
step S110: and acquiring transmission data output by the terminal equipment.
In this embodiment, the transmitting data includes: network video or pictures, but not limited thereto, in other embodiments the transmission data may also be included herein.
Step S120: a track signal is generated based on the transmission data.
In the present embodiment, when the terminal device outputs a network video or picture, a track signal is generated. Wherein the trace signal is y ═ k × sin (n × x), where the parameter k is greater than a natural number of 1 and the parameter n is greater than a natural number of 1. k is the amplitude of the track signal, n is the track signal period coefficient, n is used to control the output speed of the track signal, and x and y are the parameters that make up the track signal.
Step S130: dividing the transmission data into M virtual areas, wherein M is a natural number larger than 0.
In this embodiment, when the byte size of the network video or picture is constant, the k value of the track signal increases, and the n value is constant, the amplitude of the track signal increases, and the circumference of the track signal increases in a period of one track signal. Therefore, more network videos or pictures can be distributed within one track signal period. That is, at a constant byte size of the network video or picture, the larger the k value, the smaller the number of virtual areas required.
When the size of the network video or picture is constant, and the n value of the track signal is increased by the k value and is not changed, the perimeter of the track signal with the n value increased by the k value is slightly reduced in one period of the track signal, so that more network videos or pictures can be distributed in the period of the track signal when the n value is smaller.
In addition, the plurality of virtual areas are used as the content of communication transmission of the terminal equipment. Therefore, the terminal equipment does not directly transmit the network video or the picture, but transmits the network video or the picture through the virtual area, and the data transmission speed of the terminal equipment is improved.
Step S140: dividing each virtual area into N sub-virtual areas according to the track signal, wherein N is a natural number larger than 0.
In this embodiment, N-1, N track positions on the track signal are obtained within one period of the track signal, and N-1 spaced tracks are obtained.
Step S150: and acquiring P preset tracks of preset time in the track signal, wherein P is a natural number greater than 0.
In this embodiment, when the terminal device is performing network video or picture transmission, the number of the preset tracks and the number of the virtual areas may be the same or different. Preferably, the number of the preset tracks is the same as the number of the virtual areas, so that the utilization rate of the preset tracks can be improved. Wherein, the preset time is one period of the track signal.
Step S160: and dividing each preset track into Q sections of interval tracks.
In this embodiment, Q is equal to n-1, and n track positions on the track signal are obtained within one period of the track signal, so that n-1 spaced tracks are obtained.
Step S170: and storing the N sub-virtual areas in each virtual area in a one-to-one correspondence manner in Q-section interval tracks in each preset track.
In the present embodiment, the purpose of this arrangement is to store corresponding transmission data for each of the interval tracks.
Step S180: and simultaneously carrying out data transmission on the Q sections of interval tracks in each preset track.
In this embodiment, when a plurality of preset tracks are simultaneously used for data transmission, the terminal device can perform data transmission without being affected by the network.
The invention has the advantages that when the terminal equipment transmits the network video or the picture, the network video or the picture is divided into a plurality of virtual areas by the virtual area dividing unit, and the virtual areas are used as the content of the communication transmission of the terminal equipment. At this moment, the terminal device does not directly transmit the network video or the picture, but transmits the network video or the picture through the virtual area, and the data transmission speed of the terminal device can be improved through the design. In addition, the track signal is also divided into a plurality of preset tracks, the plurality of virtual areas are stored in the plurality of preset tracks in a one-to-one correspondence mode, and the plurality of preset tracks are simultaneously subjected to data transmission, so that the terminal equipment can carry out data transmission without being influenced by a network.
As shown in fig. 2, a schematic diagram of a network transmission system provided in the embodiment of the present invention includes: a transmission data acquisition unit 1, a track signal generation unit 2, a virtual zone division unit 3, a sub-virtual zone division unit 4, a track signal division unit 5, an interval track division unit 6, a transmission data storage unit 7, and a transmission unit 8.
The transmission data acquiring unit 1 is configured to acquire transmission data output by a terminal device. In this embodiment, the transmitting data includes: network video or pictures, but not limited thereto, in other embodiments the transmission data may also be included herein.
The track signal generating unit 2 and the transmission data acquiring unit 1, wherein the track signal generating unit 2 is configured to generate a track signal according to transmission data. In the present embodiment, when the terminal device outputs a network video or picture, a track signal is generated. Wherein the trace signal is y ═ k × sin (n × x), where k is greater than a natural number of 1 and n is greater than a natural number of 1.
The virtual area dividing unit 3 is connected to the trace signal generating unit 2, and the virtual area dividing unit 3 is configured to divide the transmission data into M virtual areas, where M is a natural number greater than 0. In this embodiment, when the byte size of the network video or picture is constant, the k value of the track signal increases, and the n value is constant, the amplitude of the track signal increases, and the circumference of the track signal increases in a period of one track signal. Therefore, more network videos or pictures can be distributed in one track signal period, namely, the number of virtual areas required for the larger k value is reduced when the byte size of the network video or picture is fixed.
In addition, the plurality of virtual areas are used as the content of communication transmission of the terminal equipment. Therefore, the terminal equipment does not directly transmit the network video or the picture, but transmits the network video or the picture through the virtual area, and the data transmission speed of the terminal equipment is improved.
The sub-virtual area dividing unit 4 is connected to the virtual area dividing unit 3, and the sub-virtual area dividing unit 4 is configured to divide each of the virtual areas into N sub-virtual areas according to the track signal, where N is a natural number greater than 0. In this embodiment, N-1, N track positions on the track signal are obtained within one period of the track signal, and N-1 spaced tracks are obtained.
The track signal dividing unit 5 is connected to the track signal generating unit 2, and the track signal dividing unit 5 is configured to obtain P preset tracks of preset time in the track signal.
In this embodiment, when the terminal device is performing network video or picture transmission, the number of the preset tracks and the number of the virtual areas may be the same or different. Preferably, when the number of the preset tracks is the same as the number of the virtual areas, the utilization rate of the preset tracks can be improved. Wherein the preset time is one period of the track signal.
The interval track dividing unit 6 is connected to the track signal dividing unit 5, and the interval track dividing unit 6 is configured to divide each preset track into Q-segment interval tracks.
In this embodiment, N-1, N track positions on the track signal are obtained within one period of the track signal, and N-1 spaced tracks are obtained.
The transmission data storage unit 7 is connected to the interval track dividing unit 6, and the transmission data storage unit 7 is configured to store the N sub-virtual areas in each virtual area in the Q-segment interval tracks in each preset track in a one-to-one correspondence manner. In the present embodiment, the purpose of this arrangement is to store corresponding transmission data for each of the interval tracks.
The transmission unit 8 is connected to the transmission data storage unit 7, and the transmission unit 8 is configured to transmit data to Q-segment interval tracks in each preset track at the same time. In this embodiment, when data transmission is performed simultaneously on a plurality of preset tracks, the terminal device can perform data transmission without being affected by a network.
The invention has the advantages that when the terminal equipment transmits the network video or the picture, the network video or the picture is divided into a plurality of virtual areas by the virtual area dividing unit, and the virtual areas are used as the content of the communication transmission of the terminal equipment. At this moment, the terminal device does not directly transmit the network video or the picture, but transmits the network video or the picture through the virtual area, and the data transmission speed of the terminal device can be improved through the design. In addition, the track signal is also divided into a plurality of preset tracks, the plurality of virtual areas are stored in the plurality of preset tracks in a one-to-one correspondence mode, and the plurality of preset tracks are simultaneously subjected to data transmission, so that the terminal equipment can carry out data transmission without being influenced by a network.
As shown in fig. 3, an embodiment of the present invention further provides a terminal device, where the terminal device may be a smart phone, a tablet computer, or the like. Specifically, as shown in fig. 3, theterminal device 200 includes aprocessor 201 and amemory 202. Theprocessor 201 is electrically connected to thememory 202.
Theprocessor 201 is a control center of theterminal device 200, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or loading an application program stored in thememory 202 and calling data stored in thememory 202, thereby performing overall monitoring of the terminal device.
In this embodiment, theterminal device 200 is provided with a plurality of memory partitions, the plurality of memory partitions includes a system partition and a target partition, theprocessor 201 in theterminal device 200 loads instructions corresponding to processes of one or more application programs into thememory 202 according to the following steps, and theprocessor 201 runs the application programs stored in thememory 202, so as to implement various functions:
acquiring transmission data output by terminal equipment;
generating a track signal according to the transmission data;
dividing the transmission data into M virtual areas, wherein M is a natural number greater than 0;
dividing each virtual area into N sub-virtual areas according to the track signal, wherein N is a natural number greater than 0;
acquiring preset tracks of M preset times in the track signals;
dividing each preset track into N sections of interval tracks;
storing N sub-virtual areas in each virtual area in N sections of interval tracks in each preset track in a one-to-one correspondence manner; and
and simultaneously carrying out data transmission on N sections of interval tracks in each preset track.
Fig. 4 is a block diagram showing a specific structure of a terminal device according to an embodiment of the present invention, where the terminal device may be configured to implement the network transmission method provided in the foregoing embodiment. The terminal device 300 may be a smart phone or a tablet computer. In addition, the terminal device may further include the following components.
TheRF circuit 310 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices.RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth.RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Mobile Communication (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11a, IEEE802.11 b, IEEE802.11g and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide Microwave Access (Microwave for Wireless), Max-1, and other short message protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
Thememory 320 may be used to store software programs and modules, such as program instructions/modules corresponding to the network transmission method in the above-described embodiment, and theprocessor 380 executes various functional applications and data processing by running the software programs and modules stored in thememory 320, that is, implementing the network transmission function. Thememory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples,memory 320 may further include memory located remotely fromprocessor 380, which may be connected to terminal device 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Theinput unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, theinput unit 330 may include a touch-sensitive surface 331 as well asother input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touchsensitive surface 331 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to theprocessor 380, and can receive and execute commands sent by theprocessor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. Theinput unit 330 may compriseother input devices 332 in addition to the touchsensitive surface 331. In particular,other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Thedisplay unit 340 may be used to display information input by or provided to the user and various graphic user interfaces of the terminal apparatus 300, which may be configured by graphics, text, icons, video, and any combination thereof. TheDisplay unit 340 may include aDisplay panel 341, and optionally, theDisplay panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 mayoverlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate toprocessor 380 to determine the type of touch event, andprocessor 380 then provides a corresponding visual output ondisplay panel 341 in accordance with the type of touch event. Although in FIG. 4, touch-sensitive surface 331 anddisplay panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 anddisplay panel 341 may be integrated for input and output functions.
The terminal device 300 may also include at least onesensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of thedisplay panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off thedisplay panel 341 and/or the backlight when the terminal device 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device 300, detailed descriptions thereof are omitted.
Audio circuitry 360,speaker 361,microphone 362 may provide an audio interface between a user and terminal device 300. Theaudio circuit 360 may transmit the electrical signal converted from the received audio data to thespeaker 361, and the audio signal is converted by thespeaker 361 and output; on the other hand, themicrophone 362 converts the collected sound signal into an electrical signal, which is received by theaudio circuit 360 and converted into audio data, which is then processed by the audiodata output processor 380 and then transmitted to, for example, another terminal via theRF circuit 310, or the audio data is output to thememory 320 for further processing. Theaudio circuit 360 may also include an earbud jack to provide communication of peripheral headphones with the terminal device 300.
The terminal device 300 may assist the user in e-mail, web browsing, streaming media access, etc. through the transmission module 370 (e.g., a Wi-Fi module), which provides the user with wireless broadband internet access. Although fig. 4 shows thetransmission module 370, it is understood that it does not belong to the essential constitution of the terminal device 300 and may be omitted entirely as needed within the scope not changing the essence of the invention.
Theprocessor 380 is a control center of the terminal device 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal device 300 and processes data by running or executing software programs and/or modules stored in thememory 320 and calling data stored in thememory 320, thereby performing overall monitoring of the mobile phone. Optionally,processor 380 may include one or more processing cores; in some embodiments,processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated intoprocessor 380.
Terminal device 300 also includes a power supply 390 (e.g., a battery) for powering the various components, which may be logically coupled toprocessor 380 via a power management system in some embodiments to manage charging, discharging, and power consumption management functions via the power management system. Thepower supply 390 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal device 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit of the terminal device is a touch screen display, the terminal device further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
acquiring transmission data output by terminal equipment;
generating a track signal according to the transmission data;
dividing the transmission data into M virtual areas, wherein M is a natural number greater than 0;
dividing each virtual area into N sub-virtual areas according to the track signal, wherein N is a natural number greater than 0;
acquiring preset tracks of M preset times in the track signals;
dividing each preset track into N sections of interval tracks;
storing N sub-virtual areas in each virtual area in N sections of interval tracks in each preset track in a one-to-one correspondence manner; and
and simultaneously carrying out data transmission on N sections of interval tracks in each preset track.