Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The embodiments of the present application can be applied to wireless Communication systems, and it should be noted that the wireless Communication systems mentioned in the embodiments of the present application include, but are not limited to, Enhanced Mobile broadband (eMBB), high reliability Low Latency Communication (urrllc), and Massive Machine-type communications (mtc) in a 5G Mobile Communication system and a next generation Mobile Communication system.
In the embodiment of the present application, the Terminal device (Terminal device) includes, but is not limited to, a Mobile Station (MS), a Mobile Terminal device (Mobile Terminal), a Mobile phone (Mobile phone), a handset (handset), a portable device (portable equipment), and the like, and the Terminal device may communicate with one or more core networks through a Radio Access Network (RAN), for example, the Terminal device may be a Mobile phone (or referred to as a "cellular" phone), a computer with a wireless communication function, and the Terminal device may also be a portable, pocket, hand-held, computer-embedded, or vehicle-mounted Mobile device or device.
Fig. 1 is a schematic diagram of a communication system architecture provided in the present application.
Referring to fig. 1, a communication system 01 includes a network device 101 and a terminal device 102; when the communication system 01 includes a core network, the network device 101 may also be connected to the core network. The network device 101 may also communicate with an Internet Protocol (IP) network 200, such as: the internet (internet), a private IP network, or other data network, etc. The network equipment provides services for the terminal equipment within the coverage area. For example, referring to fig. 1, network device 101 provides wireless access to one or more terminal devices within the coverage area of network device 101. In addition, the network devices can also communicate with each other.
The network device 101 may be a device for communicating with a terminal device. The network device may be a relay station, an access point, a vehicle-mounted device, etc. In a terminal-to-terminal (D2D) communication system, the network Device may also be a terminal Device that functions as a base station. The terminal devices may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem with wireless communication capability, as well as various forms of User Equipment (UE), Mobile Stations (MS), and the like.
In the following method embodiments, for convenience of description, only the main execution body of each step is described as a terminal.
The following describes in detail a data transmission method provided in an embodiment of the present application with reference to fig. 2 to 3.
Please refer to fig. 2, which is a flowchart illustrating a data transmission method according to an embodiment of the present disclosure. The present embodiment is exemplified by applying a data transmission method to a terminal, where the data transmission method may include the following steps:
s201, measure the 5G signal strength of the 5G serving cell.
The 5G serving cell is an area where the terminal can obtain a 5G network service, and is a cell divided from the whole 5G communication serving cell, and a 5G base station is arranged in the cell and is responsible for establishing wireless connection with the terminal in the cell, so that the 5G terminal can perform 5G communication in any cell in the 5G communication serving cell.
Generally, when a terminal supporting 5G is in a 5G serving cell, since the coverage of the 5G serving cell is limited, the terminal has different positions in the 5G serving cell, and the received 5G signal strength is different, it is necessary to obtain the position of the 5G serving cell where the terminal resides, and measure the 5G signal strength of the terminal residing in the 5G serving cell.
And S202, when the 5G signal strength is smaller than the first signal strength threshold value and is greater than or equal to the second signal strength threshold value, establishing 5G data connection through the 5G serving cell.
In the embodiment of the present application, the first signal strength threshold refers to a lower limit value of a stronger 5G signal set in the terminal, and when the actual 5G signal strength is greater than or equal to the first signal strength threshold, it indicates that the 5G signal is better at this time, and the terminal can smoothly transmit data through the 5G network; the second signal strength threshold is an upper limit value of a weak 5G signal set in the terminal, and when the actual 5G signal strength is smaller than the second signal strength threshold, the 5G signal is the worst at the moment, and the terminal transmits data through a 5G network to cause data loss; the first signal strength threshold is greater than the second signal strength threshold. The 5G data connection refers to a mode in which a terminal supporting 5G can perform 5G network communication.
Generally, after measuring the 5G signal strength of the 5G serving cell where the terminal is located, the relationship between the 5G signal strength and the first signal strength threshold and the second signal strength threshold needs to be analyzed to determine the type of establishing the data connection: when the 5G signal strength is greater than or equal to the second signal strength threshold value, establishing 5G data connection through the 5G serving cell; and searching for a 4G serving cell when the 5G signal strength is less than the second signal strength threshold, and establishing a 4G data connection through the 4G serving cell.
S203, searching for a 4G serving cell, and establishing a 4G data connection through the 4G serving cell.
The 4G service cell is an area where the terminal can obtain a 4G network service, and is a cell divided from the whole 4G communication service area, and a 4G base station is arranged in the cell and is responsible for establishing wireless connection with the terminal in the cell, so that the 4G terminal can perform 4G communication in any cell in the 4G communication service area. The 4G data connection refers to a mode in which a 4G-capable terminal can perform 4G network communication.
Generally, when it is determined that the 5G signal strength of the 5G serving cell in which the terminal is located is smaller than a first signal strength threshold and is greater than or equal to a second signal strength threshold, it indicates that the current 5G signal is medium, and after a 5G data connection is established through the 5G serving cell, the terminal transmits data through the 5G data connection, which may cause data loss, and it is necessary to transmit data through a 4G data connection at the same time to protect the terminal from successfully completing data transmission; therefore, it is necessary to further search for a 4G serving cell, select a cell with the highest 4G signal strength as the 4G serving cell when a plurality of 4G cells are searched, and establish a 4G data connection through the 4G serving cell.
And S204, transmitting target data through the 4G data connection and the 5G data connection.
The target data is information transmitted by a user through a data connection by using a terminal.
Generally, after the terminal establishes the 4G data connection and the 5G data connection, target data that the user wants to transmit can be transmitted through the 4G data connection and the 5G data connection.
As can be seen from the above, the data transmission method provided in this scheme may measure the 5G signal strength of the 5G serving cell through the terminal, establish a 5G data connection through the 5G serving cell, search for the 4G serving cell, and establish a 4G data connection through the 4G serving cell when the 5G signal strength is less than the first signal strength threshold and is greater than or equal to the second signal strength threshold, and transmit target data through the 4G data connection and the 5G data connection, so that the terminal can transmit data through the 4G network and the 5G network simultaneously when the 5G signal is weak, thereby avoiding a problem of loss of the transmitted data.
Please refer to fig. 3, which is another flow chart illustrating a data transmission method according to an embodiment of the present application. The present embodiment is exemplified by applying a data transmission method to a terminal. The data transmission method may include the steps of:
s301, receiving a measurement configuration message sent by the network equipment.
The measurement configuration message carries one or more of a measurement period, a measurement trigger condition and a measurement frequency point.
Generally, in order to achieve the acquisition of parameters and the monitoring of the state of the terminal side, the network device needs to send measurement configuration information to a designated node, so that the terminal measures quality information of a cell where the terminal is located according to the measurement configuration information.
And S302, measuring the 5G service cell according to the measurement configuration message to obtain a measurement report.
The 5G serving cell is an area where the terminal can obtain a 5G network service, and is a cell divided from the whole 5G communication serving cell, and a 5G base station is arranged in the cell and is responsible for establishing wireless connection with the terminal in the cell, so that the 5G terminal can perform 5G communication in any cell in the 5G communication serving cell. The measurement report is a main judgment basis for a series of processes such as cell selection, cell reselection, radio bearer reconfiguration, handover, load control and balancing, power control and the like, the accuracy and timeliness of the measurement report have important influence on the performance of the communication system, and the measurement report comprises the 5G signal strength of a 5G serving cell.
Generally, a terminal measures quality information of a 5G serving cell according to a measurement configuration message sent by a network device, and reports the quality information to the network device; when the terminal is switched to a new 5G serving cell, the previous measurement of the terminal is no longer applicable, and the network device needs to instruct the terminal to perform new measurement according to the states of the new 5G serving cell and the neighboring cell, so as to implement management of the connection state mobility of the terminal. The measurement control of the network equipment to the terminal is mainly realized by sending measurement control information to the terminal, and after the terminal finishes measurement, a measurement report is generated and reported to the network equipment, so that the network equipment can acquire parameters at the terminal side and monitor the state. In the measurement process initiated by the network device, the period for reporting the measurement report is fixed.
S303, judging whether the 5G signal intensity is larger than or equal to a first signal intensity threshold value.
In this embodiment, the first signal strength threshold is a lower limit value of a stronger 5G signal set in the terminal.
Generally, after obtaining the 5G signal strength of the 5G serving cell where the terminal is located, it needs to determine whether the 5G signal strength is greater than or equal to a first signal strength threshold, and if the 5G signal strength is greater than or equal to the first signal strength threshold, it indicates that the 5G signal is better at this time, the terminal can smoothly transmit data through the 5G network; if the 5G signal strength is less than the first signal strength threshold, which indicates that the 5G signal is in the middle of the time, the terminal may transmit data through the 5G network, which may result in data loss.
And S304, if the 5G signal strength is greater than or equal to the first signal strength threshold value, establishing 5G data connection through the 5G serving cell.
In this embodiment, the first signal strength threshold is a lower limit value of a stronger 5G signal set in the terminal. The 5G data connection refers to a mode in which a terminal supporting 5G can perform 5G network communication.
Generally, if the 5G signal strength is greater than or equal to the first signal strength threshold, which indicates that the 5G signal is better at this time, the terminal can smoothly transmit data through the 5G network, so that a 5G data connection can be established through the 5G serving cell, and data can be transmitted through the 5G data connection.
S305, the target data is transmitted only through the 5G data connection.
The target data is information transmitted by a user through a data connection by using a terminal.
Generally, when the 5G signal strength is good, the effect of data transmission by a user through a 5G data connection by using a terminal is good, and good internet experience can be brought to the user only by selecting data transmission through the 5G data connection.
S306, if the 5G signal strength is smaller than the first signal strength threshold value, whether the 5G signal strength is smaller than the second signal strength threshold value is judged.
In the embodiment of the present application, the second signal strength threshold refers to an upper limit value of a weaker 5G signal set in the terminal, and when the actual 5G signal strength is smaller than the second signal strength threshold, it indicates that the 5G signal is the worst at this time, and the terminal transmits data through the 5G network, which may cause data loss; the first signal strength threshold is greater than the second signal strength threshold.
Generally, when it is determined that the 5G signal strength is smaller than the first signal strength threshold, it is further determined whether the 5G signal strength is smaller than the second signal strength threshold, and if the 5G signal strength is greater than or equal to the second signal strength threshold and smaller than the first signal strength threshold, it indicates that the 5G signal is moderate at this time, and a data loss phenomenon may occur when the terminal transmits data through the 5G network, so that it is necessary to transmit data through the 4G network at the same time to avoid the data loss phenomenon; if the 5G signal strength is smaller than the second signal strength threshold, it indicates that the 5G signal is poor at this time, and the terminal transmits data through the 5G network, which may result in data loss, so that the 5G network needs to be closed, and the 4G network with better signal strength is selected for data transmission.
And S307, if the 5G signal strength is smaller than the second signal strength threshold value, searching for a 4G serving cell, and measuring the 4G signal strength of the 4G serving cell.
The 4G service cell is an area where the terminal can obtain a 4G network service, and is a cell divided from the whole 4G communication service area, and a 4G base station is arranged in the cell and is responsible for establishing wireless connection with the terminal in the cell, so that the 4G terminal can perform 4G communication in any cell in the 4G communication service area.
Generally, when the 5G signal strength is smaller than the second signal strength threshold, it indicates that the 5G signal is poor, and if data loss occurs during data transmission using the 5G network, it is necessary to search for a 4G serving cell and measure the 4G signal strength of the searched 4G serving cell to find a 4G serving cell with better 4G signal strength.
And S308, when the 4G signal strength is greater than or equal to the third signal strength threshold value, establishing 4G data connection only through the 4G serving cell.
The threshold is also referred to as a threshold, and refers to a lowest value or a highest value that an effect can generate, and in this embodiment, the third signal strength threshold refers to a lower limit of a stronger 4G signal set in the terminal. The 4G data connection refers to a mode in which a 4G-capable terminal can perform 4G network communication.
Generally, when the 4G signal strength is greater than or equal to the third signal strength threshold, it indicates that the 4G signal is better at this time, the terminal can smoothly transmit data through the 4G network, and establish 4G data connection under the condition that the 5G signal strength is poorer and the 4G signal strength is better, and data transmission through the 4G data connection can ensure that data required to be transmitted by a user is not lost, so that the internet experience of the user is improved; when the 4G signal strength is smaller than the third signal strength threshold value, the terminal needs to determine the strength of the 4G signal strength and the 5G signal strength at the moment, and if the 4G signal strength is stronger than the 5G signal strength, 4G data connection is selected to be established; and if the 4G signal strength is weaker than the 5G signal strength, selecting to establish the 5G data connection.
S309, target data is transmitted only through the 4G data connection.
The target data is information transmitted by a user through a data connection by using a terminal.
Generally, when the 5G signal strength is poor and the 4G signal strength is good, the user has a good data transmission effect through the 4G data connection by using the terminal, and better internet experience can be brought to the user only by selecting to transmit data through the 4G data connection.
S310, if the 5G signal strength is smaller than the first signal strength threshold and greater than or equal to the second signal strength threshold, establishing a 5G data connection through the 5G serving cell.
Generally, when the 5G signal strength is smaller than the first signal strength threshold and greater than or equal to the second signal strength threshold, which indicates that the 5G signal strength is medium, the 5G data connection may be established through the 5G serving cell, but a 4G data connection also needs to be established, and at the same time, the user is ensured to be able to smoothly transmit data through the 4G data connection and the 5G data connection.
S311 searches for a plurality of 4G cells, and selects a cell with the highest 4G signal strength as a 4G serving cell.
Here, the 4G cell refers to an area covered by a 4G base station in a cellular mobile communication system. The 4G service cell is an area where a terminal can obtain 4G network service, is a cell divided from the whole 4G communication service area, can establish wireless connection with the terminal in the cell through a 4G base station in the cell, and supports the 4G terminal to carry out 4G communication in any cell in the 4G communication service area.
Generally, after establishing a 5G data connection, a 4G data connection needs to be further established, so that a plurality of 4G cells need to be searched, and a cell with the highest 4G signal strength is selected from the plurality of 4G cells as a 4G serving cell, so as to ensure that a good 4G network environment can be provided for the terminal.
S312, establish a 4G data connection through the 4G serving cell.
Here, the 4G data connection refers to a mode in which a 4G-capable terminal can perform 4G network communication.
Generally, after selecting a cell with the largest 4G signal strength as a 4G serving cell, the terminal establishes a 4G data connection through the 4G serving cell, so that the terminal can transmit data through the 4G data connection.
S313, a first channel quality of the 4G data connection is obtained, and a second signal quality of the 5G data connection is obtained.
The channel quality is a factor affecting the transmission performance of the network, and is affected by the channel capacity, the channel bandwidth, the signal-to-noise ratio, the bit error rate, and the like. The first channel quality refers to the channel quality of the 4G data connection and is used for measuring the transmission performance of the 4G data connection; the second channel quality refers to the channel quality of the 5G data connection, and is used for measuring the transmission performance of the 5G data connection.
And S314, determining a data distribution ratio according to the proportional relation between the first channel quality and the second channel quality.
The data distribution proportion refers to the proportion relation of data quantity transmitted through the 4G data connection and the 5G data connection respectively.
Generally, the 4G data connection and the 5G data connection have different maximum data volumes due to different channel qualities, a data allocation proportion can be determined according to a proportional relation between a first channel quality of the 4G data connection and a second channel quality of the 5G data connection, and data volumes transmitted through the 4G data connection and the 5G data connection are reasonably allocated according to target data to be transmitted, so that the target data can be transmitted quickly, and the channel utilization rate of the 4G data connection and the 5G data connection is improved.
For example, referring to the relationship correspondence table in table 1, the data allocation ratio of the 4G data connection and the 5G data connection is determined according to the proportional relationship between the first channel quality of the 4G data connection and the second channel quality of the 5G data connection, and since the 5G transmission rate is much higher than the 4G transmission rate, but the 5G transmission rate is also slowed down by the influence of the channel quality, the data allocation ratio of the data transmission through the 4G data connection and the 5G data connection can be determined according to the respective channel quality proportional relationship when the 4G/5G dual connection transmits data. Although the transmission rate of 5G will be affected by the channel quality, the overall transmission rate is higher than the transmission rate of 4G, so the data distribution ratio relationship of the 4G data connection and the 5G data connection is determined according to the ratio relationship of the first channel quality and the second channel quality, and according to the ratio relationship that the data transmitted by the 4G data connection is 20% of the total data and the data transmitted by the 5G data connection is 80% of the total data: when the ratio relation of the first channel quality and the second channel quality is 3:2, the data distribution ratio of the 4G data connection and the 5G data connection is 3: 8; when the proportional relation between the first channel quality and the second channel quality is 1:5, the data distribution proportion of the 4G data connection and the 5G data connection is 1: 20; when the proportional relation between the first channel quality and the second channel quality is 3:4, the data distribution proportion of the 4G data connection and the 5G data connection is 3: 16; when the ratio of the first channel quality to the second channel quality is 1:1, the data distribution ratio of the 4G data connection and the 5G data connection is 1: 4.
TABLE 1
And S315, transmitting the target data through the 4G data connection and the 5G data connection according to the data distribution ratio.
The target data is information transmitted by a user through a data connection by using a terminal.
Generally, after a 4G data connection and a 5G data connection are established at a terminal and a data distribution ratio is determined according to a proportional relation between a first channel quality of the 4G data connection and a second channel quality of the 5G data connection, target data which a user wants to transmit can be transmitted through the 4G data connection and the 5G data connection, so that a data transmission rate is improved, and better internet experience is brought to the user.
As can be seen from the above, in the data transmission method provided in this scheme, the terminal receives a measurement configuration message sent by the network device, measures the 5G serving cell according to the measurement configuration message to obtain a measurement report, where the measurement report includes a 5G signal strength of the 5G serving cell, determines whether the 5G signal strength is greater than or equal to a first signal strength threshold, and if the 5G signal strength is greater than or equal to the first signal strength threshold, establishes a 5G data connection through the 5G serving cell, and transmits the target data only through the 5G data connection; judging whether the 5G signal strength is smaller than a second signal strength threshold value or not, if the 5G signal strength is smaller than the second signal strength threshold value, searching a 4G service cell, and measuring the 4G signal strength of the 4G service cell; when the 4G signal strength is greater than or equal to the third signal strength threshold value, establishing 4G data connection only through the 4G serving cell, and transmitting target data only through the 4G data connection; if the 5G signal strength is smaller than the first signal strength threshold and larger than or equal to the second signal strength threshold, establishing 5G data connection through the 5G serving cell, searching a plurality of 4G cells, selecting the cell with the maximum 4G signal strength as the 4G serving cell, establishing 4G data connection through the 4G serving cell, acquiring first channel quality of the 4G data connection and second signal quality of the 5G data connection, determining a data distribution proportion according to the proportional relation between the first channel quality and the second channel quality, and transmitting target data through the 4G data connection and the 5G data connection according to the data distribution proportion. By the method, the terminal can select a mode of transmitting data through the 4G data connection and the 5G data connection or transmitting data only through the 4G data connection when the 5G signal is not good, so that the data required to be transmitted by a user is not easy to lose, and the internet surfing experience of the user is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 4, a schematic structural diagram of a data transmission device according to an exemplary embodiment of the present application is shown, and hereinafter referred to as the transmission device 4. The transmission means 4 may be implemented as all or part of a terminal by software, hardware or a combination of both. The transmission device 4 is applied to a terminal, and the transmission device 4 includes:
a measuring module 401, configured to measure 5G signal strength of a 5G serving cell;
a connection module 402, configured to establish a 5G data connection through the 5G serving cell when the 5G signal strength is less than a first signal strength threshold and greater than or equal to a second signal strength threshold;
a processing module 403, configured to search for a 4G serving cell and establish a 4G data connection through the 4G serving cell;
a transmission module 404, configured to transmit target data through the 4G data connection and the 5G data connection.
Optionally, the transmission device 4 further includes:
a first connection unit, configured to establish the 5G data connection through the 5G serving cell when the 5G signal strength is greater than or equal to the first signal strength threshold;
a first transmission unit for transmitting the target data only through the 5G data connection.
Optionally, the transmission device 4 further includes:
a second connection unit, configured to search the 4G serving cell and establish the 4G data connection through the 4G serving cell when the 5G signal strength is smaller than the second signal strength threshold;
a second transmission unit, configured to transmit the target data only through the 4G data connection.
Optionally, the transmission device 4 further includes:
a measuring unit for measuring 4G signal strength of the 4G serving cell;
a third connection unit, configured to establish the 4G data connection through the 4G serving cell when the 4G signal strength is greater than or equal to a third signal strength threshold.
Optionally, the transmission module 404 further includes:
a first obtaining unit, configured to obtain a first channel quality of the 4G data connection and obtain a second signal quality of the 5G data connection;
the distribution unit is used for determining the data distribution proportion according to the proportional relation between the first channel quality and the second channel quality;
a third transmission unit, configured to transmit the target data through the 4G data connection and the 5G data connection according to the data allocation ratio.
Optionally, the processing module 403 further includes:
a selecting unit, configured to search for a plurality of 4G cells, and select a cell with the largest 4G signal strength as the 4G serving cell;
a fourth connection unit, configured to establish the 4G data connection through the 4G serving cell.
Optionally, the measurement module 401 further includes:
the judging unit is used for judging whether the current moment is within a preset time interval or not;
a receiving unit, configured to receive a measurement configuration message sent by a network device; the measurement configuration message carries one or more of a measurement period, a measurement trigger condition and a measurement frequency point;
a second obtaining unit, configured to measure the 5G serving cell according to the measurement configuration message to obtain a measurement report; wherein the measurement report includes the 5G signal strength of the 5G serving cell.
It should be noted that, when the data transmission apparatus provided in the foregoing embodiment executes the data transmission method, only the division of the functional modules is illustrated, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the data transmission device and the data transmission method provided by the above embodiments belong to the same concept, and details of implementation processes thereof are referred to in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the above method steps, and a specific execution process may refer to a specific description of the embodiment shown in fig. 4, which is not described herein again.
The application also provides a terminal, which comprises a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
Referring to fig. 5, a schematic structural diagram of a terminal according to an embodiment of the present invention is shown, where the terminal may be used to implement the data transmission method in the foregoing embodiment. Specifically, the method comprises the following steps:
the memory 503 may be used to store software programs and modules, and the processor 500 executes various functional applications and data processing by operating the software programs and modules stored in the memory 503. The memory 503 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 503 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 503 may also include a memory controller to provide the processor 500 and the input unit 505 access to the memory 503.
The input unit 505 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, the input unit 505 may comprise a touch sensitive surface 506 (e.g., a touch screen, a touch pad, or a touch frame). The touch-sensitive surface 506, also referred to as a touch screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 506 (e.g., operations by a user on or near the touch-sensitive surface 506 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 touch sensitive surface 506 may comprise both touch sensing devices and touch controllers. 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 the processor 500, and can receive and execute commands sent by the processor 500. Additionally, touch sensitive surface 506 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves.
The display unit 513 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal device, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 513 may include a Display panel 514, and optionally, the Display panel 514 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 506 may overlay the display panel 514, and when a touch operation is detected on or near the touch-sensitive surface 506, the touch operation is transmitted to the processor 500 to determine the type of touch event, and then the processor 500 provides a corresponding visual output on the display panel 514 according to the type of touch event. Although in FIG. 5, touch-sensitive surface 506 and display panel 514 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 506 may be integrated with display panel 514 to implement input and output functions.
The processor 500 is a control center of the terminal device, 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 executing software programs and/or modules stored in the memory 503 and calling data stored in the memory 503, thereby performing overall monitoring of the terminal device. Optionally, processor 500 may include one or more processing cores; the processor 500 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 500.
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 steps for implementing the positioning method.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
All functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.