WO2019075876A1 - Resource scheduling method and terminal device - Google Patents
Resource scheduling method and terminal device Download PDFInfo
- Publication number
- WO2019075876A1 WO2019075876A1 PCT/CN2017/114931 CN2017114931W WO2019075876A1 WO 2019075876 A1 WO2019075876 A1 WO 2019075876A1 CN 2017114931 W CN2017114931 W CN 2017114931W WO 2019075876 A1 WO2019075876 A1 WO 2019075876A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal device
- resource
- diversity antenna
- task
- neighboring area
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/24—Radio transmission systems, i.e. using radiation field for communication between two or more posts
- H04B7/26—Radio transmission systems, i.e. using radiation field for communication between two or more posts at least one of which is mobile
Definitions
- the present application relates to the field of task scheduling, and in particular, to a resource scheduling method and a terminal device.
- GSM Global System for Mobile Communications
- 3G communication systems such as time-division synchronous code division multiple access systems.
- TD-SCDMA Time Division-Synchronization Code Division Multiple Access
- 4G communication systems such as Long Term Evolution (LTE)
- 5G communication systems such as new air ports
- NR New Radio, NR
- the 3G communication system and the 2G communication system are still in use, so
- different communication systems use different communication technologies, for example, different communication systems, different frame structures, different modulation and demodulation technologies, different multiplexing technologies, and the like.
- all communication systems need to ensure the communication quality of the terminal equipment, that is, in any scenario, the terminal equipment must be able to access the service channel with the best channel quality at the location where the terminal equipment is located, in order to obtain high throughput and High spectral efficiency.
- the terminal equipment In order to ensure the communication quality of the terminal equipment, the terminal equipment needs to perform channel quality measurement on the current serving cell and the neighboring area, and track and synchronize the neighboring areas with good quality, so that the cell switching or reselection can be performed at any time.
- the time resource is tight, and the time length allocated by the terminal device to the neighboring area synchronization task is limited.
- the neighboring area synchronization task may not be able to search for the synchronization signal sent by the neighboring area. It is necessary to perform multiple neighboring area synchronization tasks to search for the synchronization signal sent by the neighboring area.
- the terminal equipment needs a relatively long time to search for the neighboring area and The neighboring area is synchronized successfully.
- the distance between the terminal device and the current serving cell is getting farther and farther.
- the channel quality of the serving cell will also rapidly deteriorate, when the channel quality of the serving cell
- the terminal device needs to quickly switch to the neighboring cell with better channel quality, and the premise that the terminal device switches to the neighboring cell is that the terminal device has been synchronized with the neighboring cell, because the terminal device is in the service state. If the time required for synchronization with the neighboring cell is longer, the terminal device cannot switch to the neighboring cell in time.
- the channel quality of the serving cell changes continuously with time and the terminal cannot switch to the neighboring cell in time, which may result in The service of the terminal device is interrupted.
- the present invention provides a resource scheduling method and a terminal device, which can be quickly synchronized with the neighboring cell to prevent the terminal device from being interrupted due to failure to access the neighboring cell in time.
- the embodiment of the present application provides a resource scheduling method, which is applied to a terminal device having a diversity receiving function, where the terminal device includes a main set antenna and a diversity antenna, and the method includes:
- the terminal device acquires a scheduling task to be processed, and the terminal device is in a service state. If the scheduling task is a neighboring cell synchronization task, the terminal device performs the neighboring cell synchronization task by using the idle resource of the diversity antenna.
- the terminal device in the service state refers to a terminal device that has established a communication channel with the network device in the serving cell and is performing data interaction with the network device, for example, in the LTE system, the terminal device with the RRC state being RRC-CONNECTED It is the terminal device in the business state.
- the terminal device performs the neighboring area synchronization task using the idle resources of the diversity antenna, since the diversity antenna is occupied only in the diversity reception and the secondary card paging, and the resources occupied by the diversity reception and the secondary card paging are only A very small part of the resources of the diversity antenna, the remaining resources can be allocated to the neighboring area synchronization task, so that the terminal equipment has sufficient resources to perform the neighboring area synchronization task, and when the resources are sufficient, the terminal equipment receives the neighboring area.
- the neighboring area has a greater probability of synchronizing signals, and can synchronize with the neighboring area more quickly, thereby quickly accessing the neighboring area and ensuring that the services of the terminal equipment are not interrupted.
- the idle resource of the diversity antenna may be the remaining resources of the resource of the diversity antenna except for the secondary card paging occupied resource, and the idle resource of the diversity antenna may also be the secondary card of the diversity antenna.
- the paging occupies resources and the remaining resources of the occupied resources that receive the serving cell data.
- the neighboring area synchronization task may be allocated resources according to the scenario or environment in which the terminal device is located, and the specific implementation manner includes, but is not limited to, the following two types:
- the terminal device allocates resources to the neighboring area synchronization task according to the receiving mode in the current serving cell.
- the receiving mode is the single antenna receiving mode
- the terminal device allocates the idle resource of the diversity antenna to the neighboring area synchronization task.
- the terminal device may allocate resources to the neighboring area synchronization task according to the existing neighboring area synchronization task allocation scheme, or allocate the idle resources of the diversity antenna to the Neighbor synchronization tasks.
- the idle resources of the diversity antenna in the single antenna receiving mode can be applied to the initial neighboring area synchronization task and the periodic neighboring area synchronization task, and the idle resources of the diversity antenna in the dual antenna receiving mode can be applied to the periodic neighboring area synchronization task.
- the terminal device allocates resources to the neighboring area synchronization task according to the state of the terminal device.
- the terminal device allocates the idle resource of the diversity antenna to the neighboring area synchronization task;
- the terminal device may allocate resources to the neighboring cells synchronously according to the existing neighboring area synchronization task allocation scheme.
- the terminal device when the terminal device is in the location transition state, it indicates that the terminal device may currently be in the motion scenario.
- the terminal device After the terminal device allocates resources to the neighboring area synchronization task, the terminal device can perform the neighboring area synchronization task by using the allocated resources.
- the terminal device can evaluate the status of the terminal device in accordance with the following manner:
- the terminal device directly evaluates the state of the terminal device by using the moving speed of the terminal device.
- the terminal device determines the moving speed of the terminal device. When the moving speed is greater than the moving speed threshold, the terminal device determines that the terminal device is in the position shifting state.
- the terminal device indirectly evaluates the state of the terminal device by using the signal strength reduction rate of the signal received by the terminal device from the current serving cell.
- the terminal device determines a signal strength weakening rate of the signal received from the current serving cell, and in a case where the signal strength weakening rate is greater than the weakening rate threshold, the terminal device determines that the terminal device is in the location transition state.
- the terminal device may combine the motion speed of the terminal device, the acceleration of the terminal device, the signal strength of the serving cell, and the signal strength weakening rate of the serving cell, etc., by using the characteristics detected by the terminal device.
- Comprehensive evaluation of the status of the terminal device is not limited in this application.
- the terminal device may further determine a signal receiving state of the diversity antenna of the terminal device before performing the neighboring cell synchronization task using the idle resource of the diversity antenna, and determine a signal receiving state of the diversity antenna. In the case of a state, the terminal device performs the neighboring area synchronization task using the idle resources of the diversity antenna.
- the signal receiving state of the diversity antenna of the terminal device is used to indicate whether the diversity antenna can work normally.
- the terminal device can determine the signal reception status of the diversity antenna of the terminal device in the following manner:
- the terminal device acquires a first signal strength of a signal received by the diversity antenna of the terminal device from the target cell; if the first signal strength is greater than a signal strength threshold, the terminal device determines that the signal receiving state of the diversity antenna is First state.
- the terminal device acquires a first signal strength of a signal received by the diversity antenna of the terminal device from the target cell; and the terminal device acquires a second signal strength of the signal received by the diversity antenna of the terminal device from the target cell;
- the terminal device determines that the signal receiving state of the diversity antenna is the first state.
- the target cell is a cell detected by the terminal device in the process of the cell signal detection, and the target cell may be designed according to the actual situation, and the target cell may be the cell with the strongest signal strength detected by the terminal device in the cell signal detection process, and the target The cell may also be the current serving cell, or may be other preset cells, for example, a cell with the signal strength in the second place.
- the terminal device may allocate all idle resources of the diversity antenna to the neighboring area synchronization task; the terminal device may also allocate part of the idle resources of the diversity antenna as the target resource to the neighboring area synchronization.
- the task then performs the neighbor synchronization task using the target resource, and the terminal device determines the target resource as follows:
- the terminal device determines a system attribute of a neighboring cell corresponding to the neighboring area synchronization task and a task attribute of the neighboring area synchronization task; the terminal device determines the target resource in the idle resource of the diversity antenna according to the system attribute and the task attribute.
- the terminal device may determine the period of the synchronization signal sent by the neighboring area according to the system attribute of the neighboring area; the terminal device will divide the diversity.
- the first resource in the idle resource of the antenna is determined as the target resource, and the time length of the first resource is greater than or equal to the length of time of the cycle.
- the terminal device may determine, according to the system attribute of the neighboring area, the resource occupied by the synchronization signal sent by the neighboring area; the terminal device The second resource in the idle resource of the diversity antenna is determined as the target resource, and the time length of the second resource is greater than or equal to the length of time of the resource occupied by the synchronization signal.
- the present application provides a terminal device having the function of implementing the method of the first aspect.
- the functions may be implemented by hardware or by corresponding software implemented by hardware.
- the hardware or software includes one or more units corresponding to the functions described above.
- the terminal device comprises a processing unit, wherein the processing unit is configured to acquire a scheduling task to be processed, wherein the terminal device is in a service state; the processing unit is further configured to be in the scheduling In the case that the task is a neighboring area synchronization task, the neighboring area synchronization task is performed using the idle resources of the diversity antenna.
- the terminal device comprises a processor, a memory and a transceiver, the processor, the memory and the transceiver being connected to each other, wherein the transceiver comprises a main set antenna and a diversity antenna, the memory being used for Storing a program code, the processor is configured to invoke the program code, and perform the following operations: acquiring a scheduled task to be processed, wherein the terminal device is in a service state; and in the case that the scheduled task is a neighboring zone synchronization task, The diversity antenna performs the neighbor synchronization task using the idle resources of the diversity antenna.
- the principle and the beneficial effects of the terminal device can be found in the method and the beneficial effects of the first aspect.
- the implementation of the terminal device refer to the implementation of the method in the first aspect, and repeat I won't go into details here.
- the present application provides a computer readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the first aspect and various possible implementations of the first aspect Any of the methods.
- the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform any one of the first aspect and each of the possible implementations of the first aspect.
- the present application provides a chip, including a processor and a memory, for storing a computer program, the processor for calling and running the computer program from a memory, the computer program for implementing the first aspect thereof
- a chip including a processor and a memory, for storing a computer program, the processor for calling and running the computer program from a memory, the computer program for implementing the first aspect thereof
- the method in any possible implementation.
- FIG. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application.
- FIG. 2 is a schematic diagram of an application scenario provided by an embodiment of the present application.
- 3 is a schematic diagram of resource allocation schemes for several neighboring area synchronization tasks
- 4a-4c are schematic diagrams of the time required to perform a neighboring area synchronization task using the resource allocation scheme of the neighboring area synchronization task shown in FIG. 3;
- 5a-5d are some possible scenarios of the neighboring area synchronization task solution provided by the embodiment of the present application.
- FIG. 6 is a schematic flowchart diagram of a resource scheduling method according to an embodiment of the present application.
- FIG. 7 is a schematic diagram of the time required to perform a neighboring area synchronization task by using the resource allocation scheme of the neighboring area synchronization task shown in FIG. 5a and 5c;
- FIG. 8 is a structural block diagram of an implementation manner of a terminal device provided by the present application.
- FIG. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application, where the communication system includes a terminal device and a network device.
- the terminal device and the network device communicate with each other through some air interface technology.
- a plurality of air interface technologies can coexist, and the air interface technology can include: existing 2G (such as GSM system), 3G (such as Universal Mobile Telecommunications System (UMTS), wideband code division) (Wideband Code Division Multiple Access (WCDMA), TD-SCDMA), 4G (such as FDD LTE, TDD LTE) and New RAT systems, such as 5G systems to be launched in the future.
- 2G such as GSM system
- 3G such as Universal Mobile Telecommunications System (UMTS), wideband code division) (Wideband Code Division Multiple Access (WCDMA), TD-SCDMA)
- 4G such as FDD LTE, TDD LTE
- New RAT systems such as 5G systems to be launched in the future.
- the terminal device described in this application will be introduced in the general sense of the UE.
- the terminal device may also be referred to as user equipment, mobile station, access terminal, subscriber unit, subscriber station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device.
- the user equipment can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), and a wireless communication function.
- PLMN Public Land Mobile Network
- the network device described in the present application may be a device for communicating with the terminal device.
- the network device is a device that communicates with the terminal device in a wireless manner
- the network device may be A Base Transceiver Station (BTS) in a GSM or CDMA system, which may also be an NB (NodeB) in WCDMA, or an evolved Node B (eNB) in LTE, and a network in a future 5G network.
- BTS Base Transceiver Station
- NB NodeB
- eNB evolved Node B
- the cell (serving cell and neighboring cell) described in the present application refers to an area that can be covered by a network device that communicates with the terminal device, in which the terminal device can communicate with the network device in the cell by using a wireless signal.
- the serving cell refers to the area covered by the network device currently accessed by the terminal device;
- the neighboring cell refers to the area covered by the network device that is close to the network device currently accessed by the terminal device.
- a terminal device accessing a cell may be understood as a terminal device accessing a network device.
- the system attribute of the cell is related to the system to which the network device belongs. For example, if the network device belongs to the GSM system, the cell corresponding to the network device is a GSM cell.
- FIG. 2 is a schematic diagram of an application scenario provided by an embodiment of the present application.
- Figure 2 shows a serving cell and a cell adjacent thereto.
- the serving cell is a cell currently accessed by the terminal device.
- the serving cell In the vicinity of the serving cell, there are multiple cells whose coverage ranges partially overlap with each other, which is called a neighboring cell.
- the terminal device In some cases, the terminal device is served.
- the cell switches to access these neighboring areas, and the terminal equipment needs to obtain downlink synchronization with these neighboring areas before switching to access these neighboring areas.
- the central frequency of some of the neighboring cells is different from the central frequency of the serving cell, and these neighboring cells are referred to as neighboring cells that are different from the serving cell.
- the downlink synchronization described in the present application refers to that the terminal device acquires a synchronization signal sent by the network device in the cell, and according to the synchronization signal, the terminal device can determine the clock signal of the network device, and further, in the case of the cell where the access network device is located.
- the terminal device uses the clock signal of the network device as a reference signal to perform timing adjustment on the content transmitted in the uplink and downlink channels to implement clock synchronization with the accessed cell.
- the resource described in the present application refers to a time domain resource that the terminal device can use when performing a certain wireless communication task, where the time domain resource includes a length of time (ie, time) that the terminal device can occupy when performing the wireless communication task.
- Resources and hardware and software resources required to perform the wireless communication task in the length of time wherein the hardware resources may include an antenna for performing the wireless communication task, a modem module corresponding to the antenna, and the like, and the software resources may include A computer program or the like that implements the wireless communication task, the time domain resource may further include a start time and a stop time of the time resource.
- the solution of the present application is applicable to a cell in which the serving cell and the neighboring cell are inter-frequency. First, the situation of the serving cell and the neighboring cell, the neighboring zone synchronization task, and the resource allocation scheme of some neighboring zone synchronization tasks are introduced.
- the serving cell and the neighboring cell can be divided into two categories: the serving cell and the neighboring cell of the same system, the serving cell of the different system, and the neighboring cell according to whether the system attributes are the same.
- the system attribute refers to a wireless communication technology used by a network device in a cell to communicate with a terminal device.
- the serving cell and the neighboring cell are cells of the same system.
- the wireless communication technology used by the serving cell and the neighboring cell is the same.
- the serving cell and the neighboring cell may be in the following situations: the serving cell is a GSM system, the neighboring cell is a GSM system; the serving cell is a TD-SCDMA system, the neighboring cell is a TD-SCDMA system; the serving cell is a TDD-LTE system, and the neighboring cell For the TDD-LTE system.
- the serving cell and the neighboring cell are cells of different systems.
- the wireless communication technologies used by the serving cell and the neighboring cell are different.
- the serving cell and the neighboring cell may be in the following situations: the serving cell is a 2G system, the neighboring cell is any one of a 3G system, a 4G system, or a 5G system; the serving cell is a 3G system, and the neighboring cell is a 2G system or a 4G system.
- the serving cell is a 4G system
- the neighboring cell is any one of a 2G system, a 3G system, or a 5G system
- the serving cell is a 5G system
- the neighboring cell is a 2G system, a 3G system, or a 4G system. Any system in the system.
- the serving cell and the neighboring cell of the same system and the serving cell and the neighboring cell of the different system are not limited to the above-mentioned cases, and the serving cell and the neighboring cell adopting the same wireless communication technology may be referred to as the same system.
- the serving cell and the neighboring cell, the serving cell and the neighboring cell adopting different wireless communication technologies may be referred to as the serving cell and the neighboring cell of the different system.
- the serving cell is a TD-SCDMA system
- the neighboring area is a WCDMA system.
- both are 3G systems
- the used wireless communication technologies are different
- the serving cell and the neighboring cell are different service cells and neighboring cells.
- the wireless communication technology refers to a specification that must be observed in communication between various terminal devices such as a frame structure, a communication protocol, and a communication configuration and a network device in a cell.
- the solution of the present application is applicable to the case where all the serving cells and the neighboring cells are cells of different frequencies.
- the terminal device synchronizes with the serving cell clock, and the resource distribution of the terminal device is determined by the wireless communication technology used by the serving cell and the resources occupied by the terminal device to receive data and transmit data.
- the terminal device When the terminal device is in the service state, the terminal device performs the neighboring cell synchronization task on the premise of not colliding with the task of the serving cell to complete the synchronization with the neighboring cell.
- the terminal device in the service state refers to a terminal device in which the terminal device has established a communication channel with the network device in the serving cell, and the terminal device is performing uplink and downlink data transmission, for example, the terminal device is performing a call service, and the terminal device is performing a short message service.
- the terminal device is performing an upload task, the terminal device is performing a download task, and the like.
- Neighbor synchronization tasks can be divided into initial neighbor synchronization tasks and periodic neighbor synchronization tasks according to task attributes.
- the initial neighboring area synchronization task refers to that the terminal device acquires the synchronization signal sent by the neighboring area by using the blind detection mode, and then synchronizes with the neighboring area according to the synchronization signal sent by the neighboring area.
- the periodic neighboring area synchronization task means that the terminal device has synchronized with the neighboring area at the first moment, and the terminal device can determine the period of the synchronization signal sent by the neighboring area according to the system attribute of the neighboring area, according to the period and the previous neighboring
- the first time at which the region obtains the synchronization determines the target time at which the synchronization signal is sent by the neighboring cell, wherein the target time is separated from the first time by the length of one or more cycles, and the terminal device acquires the neighboring region at the target time.
- the synchronization signal is synchronized with the neighboring area according to the synchronization signal sent by the neighboring area.
- the terminal device may need to perform multiple blind detections to detect the synchronization signal sent by the neighboring area, and the required time resource is long.
- the terminal device allocates some fixed resources (fixed resources of the main set antenna, or fixed resources of the main set antenna and the diversity antenna) to the neighboring area synchronization task, and the terminal device can
- the neighboring area synchronization task is executed in the time period corresponding to the resource, and the synchronization signal sent by the neighboring area can be received at the time within the resources.
- the terminal device uses 26 radio frames as a period, in which resources of the idle frame are allocated to the neighboring area synchronization task, and the terminal equipment is in the idle frame.
- the neighboring area synchronization task is performed.
- the duration of one frame is 4.615 ms, that is, the time length of the time resource that can be allocated to the neighboring area synchronization task in one period is 4.615 ms; the serving cell is TD-SCDMA.
- the terminal device uses a radio subframe as a period, in which the resources of the idle time slot are allocated to the neighboring area synchronization task, and the terminal equipment performs the neighboring area synchronization task in the idle time slot, and the terminal device is in the terminal device.
- the terminal device occupies at least 2 time slots to perform the task of the serving cell (ie, receiving data and transmitting data), and another time slot is a pilot time slot, and the terminal device can be in up to 4 idle time slots.
- the neighboring area synchronization task is performed.
- the duration of one subframe is 5 ms, that is, the time resource that can be allocated to the neighboring area synchronization task in one cycle.
- the length is 2.7 ms.
- the terminal device allocates 6 ms measurement interval (GAP) resources to the neighboring area synchronization task in a 40 ms period, and the terminal device performs the neighboring area synchronization task at the measurement interval. ,and many more.
- GAP measurement interval
- FIG. 3 shows a resource allocation scheme of a primary set antenna and a diversity antenna of a terminal device. In a case where the terminal device is in a single antenna receiving mode, the terminal device may be in FIG. 3 .
- the resource allocated to the neighboring area synchronization task performs the neighboring area synchronization task through the primary set antenna; in the case that the terminal device is in the dual antenna receiving mode, the terminal device can pass the resource allocated to the neighboring area synchronization task shown in FIG.
- the main set antenna and the diversity antenna simultaneously perform the neighboring area synchronization task.
- the resource allocation scheme using the neighboring area synchronization task described above takes a long time to perform the initial neighboring area synchronization task.
- the GSM system's cell sends 5 times of synchronization signals in the 0th frame, 10th frame, 20th frame, 30th frame, and 40th frame respectively.
- the synchronization signal refers to a Frequency Correction Burst (FB) in the Frequency Correction Channel (FCCH), and the synchronization signal occupies 1 time slot.
- FB Frequency Correction Burst
- FCCH Frequency Correction Channel
- the terminal equipment can obtain the neighboring area.
- the synchronization signal then completes the neighbor synchronization.
- the time at which the neighboring area synchronization signal is sent last time is the same as the time when the time resource of the last neighboring area synchronization task of the terminal device ends, and the terminal device starts timing at the time when the time resource of the last neighboring area synchronization task ends.
- the time required for the terminal device to perform the neighboring area synchronization task in the cell with different system attributes is as shown in FIG. 4a to FIG. 4c, and the unit of time in FIG. 4a-4c is ms. As shown in FIG.
- the terminal device performs a neighboring cell synchronization task in an idle frame, that is, the terminal device receives the synchronization signal of the neighboring cell in the idle frame, and the terminal device needs to blindly check 9 times for nearly 1080 ms. The time can obtain the complete synchronization signal sent by the neighboring cell; as shown in FIG.
- the terminal device performs the neighboring area synchronization task in the idle time slot, that is, when the terminal device is idle
- the slot receives the synchronization signal of the neighboring area, and the terminal device needs to perform a blind detection 28 times for a total of 138.45 ms to obtain a complete synchronization signal sent by the neighboring cell; as shown in FIG.
- the terminal The device performs the neighboring area synchronization task at the measurement interval of 6 ms, that is, the terminal receives the synchronization signal of the neighboring area at the measurement interval of 6 ms, and the terminal device needs to perform blind detection for 6 times for a total of 235.365 ms to obtain the complete synchronization signal sent by the neighboring area. .
- the terminal device may not be able to acquire the synchronization signal sent by the neighboring area only by one blind detection in a limited time resource, and multiple blind detections are required to obtain the synchronization signal.
- the synchronization signal sent by the neighboring area is synchronized with the neighboring area, and the terminal equipment takes a long time to synchronize with the neighboring area.
- the resource allocation scheme of the neighboring area synchronization task cannot satisfy the synchronization of the terminal equipment in the high-speed motion process. time requirement.
- the resources allocated to the neighbor synchronization task are less in the scheme shown in FIG. 3, and the resources for the periodic neighbor synchronization task are relatively less.
- the idle resources of the diversity antenna are allocated to the neighboring area synchronization task, and the resources of the diversity antenna are occupied only during the diversity reception and the secondary card paging, and other resources of the diversity antenna are idle resources, and the diversity is
- the idle resource of the antenna is more than the resources of the main set antenna, so that the terminal device can obtain the synchronization signal sent by the neighboring area through a small number of blind detection times, and can synchronize with the neighboring area in a short time, which is satisfied.
- the terminal device of the present application has a diversity receiving function.
- the terminal equipment is in the single antenna receiving mode in the serving cell.
- the resources of the main set antenna are used to perform tasks in the serving cell (such as receiving data, transmitting data, etc.) and tasks that other terminal devices need to perform, and only use resources of the main set antenna when receiving data. Receive is performed without using the resources of the diversity antenna for reception.
- the resources of the diversity antenna of the terminal device are occupied only when the secondary card is paged. That is, in the single antenna receiving mode, the idle resource of the diversity antenna is the remaining resources of the resource of the diversity antenna except the secondary card paging resource.
- the paging of the secondary card is periodic paging, and the paging cycle is generally about 5s. If the paging occupies one time slot, in the paging cycle of 5s, the paging occupies one. The resources of the time slot.
- all the idle resources of the diversity antenna may be allocated to the neighboring synchronization task, and the resources allocated to the neighboring synchronization task may be as shown in FIG. 5a, and the resources allocated to the neighboring synchronization task are the diversity.
- the resources of the antenna are removed from the resources occupied by the secondary card paging.
- the neighboring area periodically sends a synchronization signal
- the resources occupied by the synchronization signal sent by the neighboring area are fixed.
- the system attributes of the neighboring area are different, and the period of the synchronization signal sent by the neighboring area is different, and the neighboring area is different.
- the length of time that the generated sync signal occupies resources is also different.
- the cell transmits a synchronization signal at positions of 0th frame, 10 frames, 30 frames, and 40 frames in a period of 51 multiframes, and the resource occupied by the synchronization signal is a resource of one slot, the GSM system.
- the TD-SCDMA system the cell is sent in each subframe.
- One synchronization signal, the resource occupied by the synchronization signal is the downlink pilot time slot (75 ⁇ s) resource, and the subframe length in the TD-SCDMA system is 5 ms, and the period of the synchronization signal sent by the TD-SCDMA cell is 5 ms; in the LTE system
- the synchronization signal is sent every 5 ms in the neighboring cell, and the resource occupied by the synchronization signal is a resource of Orthogonal Frequency Division Multiplexing (OFDM) symbol (about 71 ⁇ s).
- OFDM Orthogonal Frequency Division Multiplexing
- the task attributes of the neighboring area synchronization task are different, and the resources required for performing the neighboring area synchronization task are different.
- the time is exactly the same as that of the terminal equipment.
- the terminal equipment can acquire the synchronization signal sent by the neighboring area, and the neighboring area periodically sends the synchronization signal, and the system attributes of the neighboring area are different.
- the period of the synchronization signal sent by the neighboring area is different, and the time length of the resources occupied by the synchronization signal sent by the neighboring area is also different. Therefore, the resources required to acquire the synchronization signal of the neighboring area are also different, so the system attributes of the neighboring area are different.
- the resources required to perform the neighbor synchronization task are different.
- the idle resources of the diversity antenna may be allocated to the neighboring synchronization task according to the neighboring system attribute corresponding to the neighboring area synchronization task and the task attribute of the neighboring area synchronization task. In such an embodiment, the length of the idle resource allocated to the neighboring synchronization task is greater than or equal to the length of time required to perform the neighboring synchronization task.
- the neighboring area synchronization task is a periodic neighboring area synchronization task
- the period of the synchronization signal sent by the neighboring area may be determined according to the system attribute of the neighboring area, according to The resources occupied by the synchronization signal sent by the neighboring area and the period of the neighboring area determine the resources allocated to the neighboring area synchronization task.
- the resource allocated to the periodic neighbor synchronization task can be as shown in FIG. 5b.
- the resource occupied by the terminal device for the first time to obtain the synchronization signal sent by the neighboring cell is resource A, and the length of the resource A is equal to the complete neighbor.
- the time length of the resource required for the area synchronization signal, the period of the synchronization signal sent by the neighboring area is B1
- the resource C is the resource allocated to the periodic neighboring area synchronization task, wherein the time interval between the resource C and the resource C is B1.
- the time interval between the resource C and the resource A is nB1 (n is greater than or equal to 1), and the length of the resource C is greater than or equal to the length of time of the resource A.
- the terminal device determines the period of the synchronization signal sent by the neighboring area according to the system attribute of the neighboring area, according to the neighboring area.
- the period in which the synchronization signal is issued determines the resources allocated to the neighboring synchronization task.
- the resource allocated to the neighboring area synchronization task may be as shown in FIG. 5c, the period in which the synchronization signal is sent by the neighboring area is B2, and the resource D is the target resource, where the starting time of the resource D is the time at which the neighboring area synchronization task is acquired.
- the length of time of resource D is greater than or equal to the length of time of B2.
- the terminal equipment is in the dual antenna receiving mode in the serving cell.
- the diversity antenna receives data when the primary antenna receives data, and the resources of the diversity antenna are occupied when receiving data and secondary card paging, that is, in the dual antenna receiving mode, the idle resources of the diversity antenna are
- the resources of the diversity antenna are excluded from the resources occupied by the received serving cell data and the secondary card paging, and the resources allocated to the neighboring synchronization task may be as shown in FIG. 5d, and the resources allocated to the neighboring synchronization task are the diversity antenna.
- the resource is excluded from the resource occupied by the secondary card paging and the resource after receiving the resource occupied by the serving cell data.
- the idle resources of the diversity antenna can be allocated to the periodic neighboring area synchronization task.
- the specific allocation refer to the introduction of the single antenna receiving mode, and details are not described herein.
- resources can also be allocated to the periodic neighbor synchronization task according to the resource allocation scheme shown in FIG.
- the terminal device may alternate between the single antenna receiving mode and the dual antenna receiving mode during the communication process.
- the idle resources of the diversity antenna in the single antenna receiving mode may be preferentially allocated to
- the initial neighboring area synchronization task allocates idle resources of the diversity antenna in the dual antenna receiving mode to the periodic neighboring area synchronization task.
- the initial neighbor synchronization task takes a long time, while the diversity antenna of the diversity antenna in the single antenna reception mode has more idle resources than the diversity antenna in the dual antenna reception mode.
- the idle resource is large, the task with a long time is executed, and when the idle resource is small, the task with a short time is executed, and the resource can be rationally utilized.
- FIG. 6 is a schematic flowchart of a resource scheduling method according to an embodiment of the present disclosure.
- the method may be implemented on a terminal device that has a diversity receiving function, where the method includes:
- Step S101 The terminal device acquires a scheduling task to be processed, where the terminal device is in a service state.
- the terminal device in the service state has been introduced in the foregoing content, and details are not described herein again.
- the scheduled scheduling tasks include, but are not limited to, a neighboring area synchronization task, a neighboring area signal measurement task, a frequency point measurement task, a data transmission task, and a data receiving task.
- the terminal device may acquire a scheduled scheduling task to be processed by using a frame interrupt processing program, where the frame interrupt processing program refers to a program that can process or allocate the scheduling task according to the priority of the scheduled task, and the frame interrupt processing program Prioritize or assign tasks with higher priority.
- the frame interrupt processing program refers to a program that can process or allocate the scheduling task according to the priority of the scheduled task, and the frame interrupt processing program Prioritize or assign tasks with higher priority.
- Step S102 If the scheduling task is a neighboring area synchronization task, the terminal device performs the neighboring area synchronization task by using an idle resource of the diversity antenna.
- the terminal device allocates resources of the primary antenna to the scheduled scheduling task.
- the scheduling task is a neighboring area synchronization task: 1) the verification period of the neighboring area synchronization task of the current arrival period needs to be resynchronized to the neighboring area, that is, the current scheduling task is a periodic neighboring area synchronization task; It is detected that a new neighboring cell is present, and the synchronization signal sent by the neighboring zone needs to be blindly detected, that is, the current scheduling task is the initial neighboring zone synchronization task.
- the new neighboring cell may be defined as a neighboring zone that becomes a new N strong neighboring cell in the current neighboring cell signal measurement process, that is, the last neighboring cell signal measurement.
- the signal strength is not in the first N bits, and in the current neighboring cell signal measurement process, the signal strength becomes the first N bits of the cell, where N is a positive integer greater than or equal to 1, and N is the serving cell accessed by the terminal device.
- the system attribute determines, for example, that in the case where the serving cell is a GSM system, N is equal to 6; in the second possible implementation, the new neighboring cell may be defined as a signal strength less than neighboring in the previous neighboring cell signal measurement process.
- the new neighbor cell may also be defined in combination with the above two cases, for example, a new The neighboring cell is defined as a cell that becomes a N strong neighboring cell and whose signal strength is greater than the neighboring cell synchronization threshold.
- the 802 system is located in the vicinity of the service neighboring cell.
- the current serving cell has 32 neighboring cells, numbered from 1 to 32.
- the signal is measured in the previous neighboring cell.
- the neighboring areas with the signal strength ranked in the first 6 positions include the neighboring areas numbered 1, 3, 10, 15, 20, 28, and the neighboring areas whose signal strength is greater than the synchronous threshold of the neighboring area include numbers 3, 10, and 15, Neighboring area of 28; in the neighboring area signal measurement process, the neighboring area with the signal strength ranked in the top 6 includes neighboring areas numbered 1, 3, 13, 15, 21, 28, and the signal strength is greater than the neighboring area synchronization threshold
- the neighborhood includes the neighbourhoods numbered 1, 3, 13, 28.
- the new neighboring cell is a neighboring cell numbered 13 and a neighboring cell numbered 21; if a new neighbor is determined according to the second possible implementation described above In the district, the new neighborhood is the adjacent area numbered 1 and the adjacent area numbered 13.
- the idle resource of the diversity antenna is used by the terminal device to perform the neighboring area synchronization task, that is, the terminal device allocates the idle resource of the diversity antenna to the neighboring area synchronization task.
- the terminal device may allocate all idle resources of the diversity antenna to the neighboring area synchronization task, as shown in FIG. 5a or FIG. 5d, where the receiving mode of the terminal device in the serving cell is In the case of the single-antenna receiving mode (that is, only the data transmitted by the serving cell is received by the primary antenna), the resources allocated by the terminal device to the neighboring synchronization task are as shown in FIG. 5a, and the resources allocated by the terminal device to the neighboring synchronization task are diversity.
- the resource of the antenna is removed from the resource occupied by the secondary card paging; the receiving mode in the serving cell of the terminal device is a dual antenna receiving mode (ie, when receiving data transmitted by the serving cell, the primary set antenna and the diversity antenna are simultaneously used.
- the resource allocated by the terminal device to the neighboring area synchronization task is as shown in FIG. 5d, and the resource allocated by the terminal device to the neighboring area synchronization task is the resource of the diversity antenna, and the resource occupied by the secondary card paging and the receiving serving cell are removed.
- the resource after the resource is occupied by the resource.
- the system attribute of the serving cell has been introduced in the foregoing, wherein the system attribute of the serving cell and the service performed by the terminal device in the serving cell are different, the resources occupied by the secondary card paging and the resources occupied by the received data. It is different. For example, if the serving cell is a GSM system and the terminal device is performing a call service, the resource occupied by the secondary card paging is 1 time slot (ie, 0.577 ms), and the resource occupied by the received data is 1 time slot.
- the resource occupied by the secondary card paging and the resource occupied by the received data and the length of the resource may be determined according to the system attribute of the serving cell and the service performed by the terminal device, and then according to FIG. 5a or FIG. 5b. All idle resources of the diversity antenna are allocated to the neighboring area synchronization task, and the terminal equipment performs the neighboring area synchronization task using the resources allocated to the neighboring area synchronization task shown in FIG. 5a or shown in FIG. 5b.
- some of the idle resources of the diversity antenna may be allocated to the neighbor synchronization task.
- the terminal device may determine a system attribute of a neighboring cell corresponding to the neighboring area synchronization task and a task attribute of the neighboring area synchronization task; determine, according to the system attribute and the task attribute, the target resource in the idle resource of the diversity antenna; and allocate the target resource to the neighboring area to synchronize task.
- the target resource allocated by the terminal device to the neighboring area synchronization task according to the system attribute of the neighboring area and the task attribute of the neighboring area synchronization task may be specifically as shown in FIG. 5b and FIG. 5c.
- the terminal device determines the resource occupied by the synchronization signal sent by the neighboring cell according to the system attribute of the neighboring cell; the terminal device determines the second resource in the idle resource of the diversity antenna as The target resource, the length of the second resource needs to be greater than or equal to the length of the resource occupied by the synchronization signal, and the target resource allocated to the neighboring synchronization task is as shown in FIG.
- the resource C is the target resource
- the resource A is The time occupied by the synchronization signal sent by the neighboring cell
- the length of the resource C is greater than or equal to the length of the resource A.
- the time interval between the resource C and the resource A is equal to nB1 (n is greater than or equal to 1)
- B1 is the neighboring area.
- the period of the synchronization signal is sent; in the case that the neighboring area synchronization task is the initial neighboring area synchronization task, the terminal device determines the period of the synchronization signal sent by the neighboring area according to the system attribute of the neighboring area; the terminal device will be the first of the idle resources of the diversity antenna.
- a resource is determined as a target resource, and the length of the first resource needs to be greater than or equal to the length of the period in which the synchronization signal is sent by the neighboring cell, and is allocated to the neighboring area for synchronization.
- Service target resource as shown in FIG 5C, wherein D is a resource target resource, B2 to send a synchronization signal in the neighboring period, resources of time equal to the length D is greater than or B2.
- the length of time of resource C and resource D in Figures 5b and 5c is determined by the system properties of the neighboring cell.
- the length of the resource A is 0.577 ms
- the length of the resource C is greater than or equal to 0.577 ms
- the period of the period in which the synchronization signal is sent by the neighboring area is 10 frames (46.15 ms, This refers to the length of 1 frame to 10 frames/11 frames to 20 frames/21 frames to 30 frames/31 frames to 40 frames in 51 multiframes) or 11 frames (50.765 ms, here refers to 41 in the previous 51 multiframes)
- the length of the resource D is greater than or equal to 11 frames from the frame to the length of the 0 frame in the current 51 multiframe.
- the terminal device may perform the neighboring area synchronization task on the target resource, thereby implementing synchronization with the neighboring area.
- the neighboring area synchronization task is the initial neighboring area synchronization task
- the time required for the terminal device to perform the neighboring area synchronization task after implementing the method of the present application is as shown in FIG. 7.
- the neighboring area corresponding to the neighboring area synchronization task is taken as the GSM system, and the serving cell is the GSM system. It is assumed that the neighboring area sends a synchronization signal to the resources of the neighboring area synchronization task once on the terminal equipment, and the terminal equipment is in the last neighbor.
- the resources of the area synchronization task are being synchronized with other neighboring cells.
- the serving cell is the GSM system
- the paging occupies resources of one time slot.
- the terminal device can immediately perform the neighboring area synchronization task when the scheduling task is determined to be the neighboring area synchronization task, and the neighboring area can be acquired after 46.15 ms.
- the synchronization signal can be synchronized with the neighboring area more quickly, ensuring that the terminal equipment is not interrupted in the high-speed motion scene.
- the idle antenna has more idle resources than the idle current resources of the primary set antenna, and the method of the present application can allocate more resources to the periodic neighboring area synchronization task.
- the terminal device may further determine a signal receiving state of the diversity antenna of the terminal device before performing the neighboring cell synchronization task using the idle resource of the diversity antenna, where the diversity antenna of the terminal device is in the first state, the terminal The device performs the neighbor synchronization task using the idle resources of the diversity antenna.
- the signal receiving state of the diversity antenna is used to indicate whether the diversity antenna can work normally, and in the case that the signal receiving state of the diversity antenna is the first state, the indicating diversity antenna can work normally.
- the terminal device may obtain a first signal strength of the signal received by the diversity antenna from the target cell, and then compare the first signal strength with a signal strength threshold, where the first signal strength is greater than the signal strength threshold Next, it is determined that the signal receiving state of the diversity antenna is the first state.
- the terminal device may save the signal strength of each cell detected by the diversity antenna in the last cell signal detection process, and then obtain the first signal of the target cell detected by the diversity antenna from the saved signal strength of each cell. strength.
- the energy difference between the received signal of the diversity antenna and the main set antenna from the same cell is required to be small, and the diversity antenna and the main set antenna can be determined.
- the energy difference of the received signal is used to determine a signal receiving state of the diversity antenna, and the terminal device may obtain a first signal strength of the signal received by the diversity antenna from the target cell, and obtain a second signal strength received by the primary antenna from the target cell, where When the difference between the second signal strength and the first signal strength is less than the signal strength difference threshold, it is determined that the signal receiving state of the diversity antenna is the first state.
- the terminal device may save the signal strength of each cell detected by the diversity antenna and the main set antenna in the last cell signal detection process, and then obtain the target detected by the diversity antenna from the saved signal strengths of the respective cells.
- the target cell is any one of the cells detected by the terminal device in the cell signal detection process, and the target cell may be the cell with the strongest signal strength detected by the terminal device in the cell signal detection process, and the target cell. It may be a current serving cell, or may be another preset cell, for example, a cell with a signal strength in the second place, which is not limited in this application.
- whether to allocate resources to the neighboring synchronization task may be determined according to the scenario or environment in which the terminal is specifically located.
- the terminal device when the signal of the serving cell is good and the signal of the neighboring cell is poor, the terminal device adopts a single antenna receiving mode. To ensure that the neighboring area can be accessed at any time, the neighboring area needs to be frequently monitored, that is, In the case that the receiving mode of the terminal device in the current serving cell is the single antenna receiving mode, the terminal device allocates the target resource in the idle resource of the diversity antenna to the neighboring cell synchronization task according to the solution of the present application; When the signal of the neighboring area becomes better, the terminal device currently performs service in the serving cell, and the terminal device adopts the dual antenna receiving mode. Because the neighboring area signal is improved, the terminal device can detect the neighboring area more quickly, which can be reduced.
- the solution in the dual antenna receiving mode in the solution of the present application may be used, and the resource allocation scheme shown in FIG. 3 may also be used.
- the adjustment scheme of the neighboring area synchronization task is adjusted according to the receiving mode of the terminal device in the serving cell, so that the terminal device is more adapted to the change of the scenario and improves the synchronization performance of the terminal device.
- the neighboring area synchronization task may be allocated resources according to the state of the terminal device, and in the case that the terminal device is in the location transition state, the solution of the present application is used to allocate resources to the neighboring area synchronization task, in the terminal device.
- the resource allocation scheme shown in FIG. 3 can be employed.
- the terminal device is in the location transition state, it indicates that the terminal device may be in the motion scenario at present.
- the solution of the neighboring zone synchronization task is allocated by using the solution of the present application to ensure that the terminal device can quickly synchronize with the neighboring cell;
- the resource allocation scheme shown in FIG. 3 can meet the synchronization requirement of the terminal device.
- the resource allocation scheme shown in FIG. 3 has less time allocated to the neighboring area synchronization task, that is, the terminal device is reduced in execution.
- the time of the neighboring area synchronization task reduces the frequency of neighboring area synchronization and achieves the effect of power saving.
- the motion speed of the terminal device may be used to directly evaluate the state of the terminal device, and if the motion speed is greater than the motion speed threshold, determine that the terminal device is in the location transition state; in another possible implementation, the signal strength weakening rate of the signal in the serving cell received by the terminal device may be used to indirectly evaluate the state of the terminal device, and if the signal strength weakening rate is greater than the weakening rate threshold, determining that the terminal device is in the location transition state; In other possible implementation manners, the characteristics of the motion condition of the terminal device detected by the terminal device, such as the motion speed of the terminal device, the acceleration of the terminal device, the signal strength of the serving cell, and the signal strength attenuation rate of the serving cell, may also be combined. To comprehensively evaluate the status of the terminal equipment.
- the terminal can be better adapted to the change of the scenario or the environment, and meet the synchronization requirements of the terminal in different scenarios or environments.
- the synchronization requirement of the terminal device is met, the time for performing the neighboring area synchronization task is reduced, the power consumption of the terminal device can be reduced, and the power saving effect can be achieved under the premise of ensuring the synchronization requirement of the terminal device.
- the terminal device includes a diversity antenna and a main set antenna, and the terminal device 20 is configured to perform the method steps corresponding to the method in FIG.
- the processing unit 201 is configured to acquire a scheduling task to be processed, where the terminal device is in a service state;
- the processing unit 201 is further configured to perform the neighboring area synchronization task by using the idle resource of the diversity antenna if the scheduling task is a neighboring area synchronization task.
- the processing unit 201 is further configured to determine a receiving mode of the terminal device in a current serving cell, where the processing unit 201 is specifically configured to be in a single antenna receiving mode in the receiving mode. In the case, the neighboring area synchronization task is performed using the idle resources of the diversity antenna.
- the processing unit 201 is specifically configured to perform the neighboring area synchronization task by using an idle resource of the diversity antenna if the terminal device is in a location transfer manner.
- the processing unit 201 is further configured to determine a motion speed of the terminal device; and in a case where the motion speed is greater than a motion speed threshold, determine that the terminal device is in a location transition state.
- the processing unit 201 is further configured to determine a signal strength weakening rate of the signal received from the current serving cell; and determine the terminal if the signal strength weakening rate is greater than the weakening rate threshold The device is in a location transfer state.
- the idle resource of the diversity antenna is the remaining resources of the resources of the diversity antenna except for the secondary card paging occupied resources.
- the idle resource of the diversity antenna is a remaining resource of the resource of the diversity antenna except for the secondary card paging occupied resource and the occupied resource that receives the serving cell data.
- the processing unit 201 is specifically configured to determine a system attribute of a neighboring area corresponding to the neighboring area synchronization task and a task attribute of the neighboring area synchronization task; according to the system attribute and the task An attribute determines a target resource in the idle resource; and the neighboring area synchronization task is performed using the target resource.
- the processing unit 201 is specifically configured to: determine, in the case that the task attribute is an initial neighbor synchronization task, determine, according to the system attribute, a period in which the synchronization signal is sent by the neighboring cell;
- the first resource in the idle resource is determined as a target resource, and the time length of the first resource is greater than or equal to a length of time of the cycle.
- the processing unit 201 is specifically configured to: when the task attribute is a periodic synchronization task, determine, according to the system attribute, a resource occupied by the synchronization signal sent by the neighboring cell; The second resource in the idle resource is determined as a target resource, and the time length of the second resource is greater than or equal to a length of time of the resource occupied by the synchronization signal.
- the processing unit 201 is specifically configured to acquire a first signal strength of a signal received by the diversity antenna from a target cell, where the target cell is detected by the terminal device during a cell signal detection process. a cell to which it is determined; in a case where the first signal strength is greater than a signal strength threshold, determining that a signal receiving state of the diversity antenna is a first state.
- the processing unit 201 is specifically configured to acquire a first signal strength of a signal received by the diversity antenna from a target cell, where the target cell is detected by the terminal device during a cell signal detection process. a cell to which the primary set antenna of the terminal device receives a second signal strength of the signal received by the target cell; and a difference between the second signal strength and the first signal strength is less than a signal strength difference threshold In the case, it is determined that the receiving state of the diversity antenna is the first state.
- FIG. 8 is a structural block diagram of an implementation manner of a terminal device provided by the present application.
- the terminal device 20 can include a baseband chip 210, a memory 220 (one or more computer readable storage media), a radio frequency (RF) module 230, and a peripheral system 240. These components can communicate over one or more communication buses 250.
- RF radio frequency
- the baseband chip 210 can be integrated to include one or more processors 211, a master modem 212, a secondary modem 213, a clock module 214, and a power management module 215.
- the clock module 214 integrated in the baseband chip 210 is primarily used to generate the clocks required for data transfer and timing control for the processor 211. In the present application, the clock module 214 synchronizes the clock generated by the processor 211 with the clock of the serving cell.
- the power management module 214 integrated in the baseband chip 210 is primarily used to provide a stable, high accuracy voltage to the processor 211, the master modem 212, the secondary modem 213, the radio frequency module 230, and the peripheral system 240.
- the processor 211 can be combined with the main modem 212 and the secondary modem 213 to implement the resource scheduling method of the present application.
- the specific implementation process of the resource scheduling method can refer to the process described in the method embodiment shown in FIG. 6. .
- a radio frequency (RF) module 230 is used to receive and transmit radio frequency signals, primarily integrating the receiver and transmitter of the terminal device 20.
- Radio frequency (RF) module 230 communicates with the communication network and other communication devices via radio frequency signals.
- the radio frequency (RF) module 230 may include, but is not limited to, an antenna system 231 (the antenna system 231 includes at least a main set antenna 2311 and a diversity antenna 2312), a SIM card 232 (including a main card SIM1 and a sub-card SIM2), and storage.
- a radio frequency (RF) module 230 can be implemented on a separate chip.
- the radio frequency module 230 can be configured to receive a signal sent by a current serving cell and a neighboring cell in the vicinity of the serving cell during the cell signal measurement process, and detect a signal strength of the signal, and receive the corresponding cell during the execution of the neighboring cell synchronization task.
- Memory 220 is coupled to processor 211 for storing various software programs and/or sets of instructions.
- the in-memory storage processor 211 implements the computer program used in the embodiment shown in FIG.
- memory 220 can include high speed random access memory, and can also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid state storage devices.
- the memory 220 can store an operating system (hereinafter referred to as a system) such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX.
- the memory 220 can also store a network communication program that can be used to communicate with one or more additional devices, one or more terminal devices, one or more network devices.
- the memory 220 can also store a user interface program, which can realistically display the content of the application through a graphical operation interface, and receive user control operations on the application through input controls such as menus, dialog boxes, and keys. .
- the memory 220 can also be used to store scheduling tasks to be processed, resources allocated by the processor 211 for neighboring synchronization tasks, signal strengths of respective cells detected by the radio frequency module 230 during cell signal measurement, and current The signal strength attenuation rate of the signal in the serving cell, the moving speed of the terminal device 20, and the like.
- resources to be processed by the memory 115 and the resources allocated by the processor for the neighboring synchronization task refer to the foregoing description.
- the peripheral system 240 is mainly used to implement the interaction function between the terminal device 20 and the user/external environment, and mainly includes input and output devices of the terminal device 20.
- the peripheral system 240 can include a touch screen controller 241, a camera controller 242, an audio controller 243, and a sensor management module 244. Each controller may be coupled to a respective peripheral device such as touch screen 245, camera 246, audio circuit 247, and sensor 248. It should be noted that the peripheral system 240 may also include other I/O peripherals.
- the peripheral system can be used to detect the motion speed and motion acceleration of the terminal device.
- the motion speed of the terminal can be detected by the displacement sensor
- the motion acceleration of the terminal device can be detected by the acceleration sensor.
- the processor acquires a scheduled task to be processed from the memory.
- the processor determines which task the scheduled task is.
- the processor sends a resource query instruction to the secondary modem to query whether the diversity antenna is in an idle state, and the secondary modem receives the resource query instruction.
- the secondary modem determines that the diversity antenna is in an idle state, and sends a resource response to the processor, to indicate that the diversity antenna is in an idle state, and the processor receives the resource response.
- the processor sends a task execution instruction to the secondary modem to instruct the secondary modem to perform a neighbor synchronization task, and the secondary modem receives the task execution instruction.
- the secondary modem receives the signal sent by the neighboring area corresponding to the neighboring area synchronization task through the diversity antenna, until the synchronization signal sent by the neighboring area is detected.
- the secondary modem demodulates the synchronization signal to obtain clock information in the synchronization signal.
- the processor may also cooperate with the peripheral system, the radio frequency module, the main modem, and the secondary modem to perform other operations in the foregoing method embodiments, which are not described herein.
- terminal device 20 is only one example provided by the present application, and that the terminal device 20 may have more or fewer components than those shown, two or more components may be combined, or may have components. Different configurations are implemented.
- the terminal device performs the neighboring area synchronization task in the idle resource of the diversity antenna, because the diversity antenna is occupied only when the diversity reception and the secondary card paging are occupied, and the decomposition reception and the secondary card paging occupy the occupation.
- the resource is only a very small part of the resources of the diversity antenna, and the remaining resources can be allocated to the neighboring area synchronization task, so that the terminal device has sufficient resources to perform the neighboring area synchronization task, and the terminal device can be more abundant when the resources are sufficient. Synchronize with the neighboring area to quickly access the neighboring area to ensure that the services of the terminal equipment are not interrupted.
- a computer storage medium for storing the computer software instructions used by the terminal device in the embodiment shown in FIG. 8 is included in the embodiment of the present application, and is configured to execute the terminal device designed in the foregoing embodiment. program of.
- the storage medium includes, but is not limited to, a flash memory, a hard disk, a solid state disk.
- a computer program product is also provided in the embodiment of the present application.
- the resource scheduling method designed for the terminal device in the foregoing embodiment of FIG. 8 may be executed.
- a chip including a processor and a memory, the memory comprising a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program from the memory, A computer program is used to implement the method in the above method embodiments.
- the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
- software it may be implemented in whole or in part in the form of a computer program product.
- the computer program product includes one or more computer instructions.
- the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
- the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
- the computer instructions can be stored in or transmitted by a computer readable storage medium.
- the computer instructions can be from a website site, computer, server or data center to another website site by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) Transfer from a computer, server, or data center.
- the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
- the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)) or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请公开了资源调度方法和终端设备,终端设备包括主集天线和分集天线,所述方法包括:终端设备获取待处理的调度任务,所述终端设备处于业务态;在所述调度任务为邻区同步任务的情况下,所述终端设备使用所述分集天线的空闲资源执行所述邻区同步任务。采用本申请的方案,可以在终端设备高速运动时快速与邻区同步,避免终端设备因无法及时接入邻区而导致业务中断。The present application discloses a resource scheduling method and a terminal device. The terminal device includes a main set antenna and a diversity antenna, and the method includes: the terminal device acquires a scheduling task to be processed, the terminal device is in a service state; In the case of a zone synchronization task, the terminal device performs the neighboring zone synchronization task using the idle resources of the diversity antenna. With the solution of the present application, the terminal device can be quickly synchronized with the neighboring cell when the terminal device moves at a high speed, so as to prevent the terminal device from being interrupted due to the inability to access the neighboring cell in time.
Description
本申请涉及任务调度领域,尤其涉及资源调度方法和终端设备。The present application relates to the field of task scheduling, and in particular, to a resource scheduling method and a terminal device.
随着通信技术的发展,出现了越来越多的通信系统,从2G通信系统(如全球移动通信系统(Global System for Mobile Communications,GSM))到3G通信系统(如时分同步码分多址系统(Time Division-Synchronization Code Division Multiple Access,TD-SCDMA)),从3G通信系统再到4G通信系统(如长期演进系统(Long Term Evolution,LTE)),甚至于再到5G通信系统(如新空口(New Radio,NR)系统)。当一种新的通信系统/空口技术提出并使用时,并不会立即替换以前的通信系统/空口技术,例如4G通信系统被使用后,3G通信系统和2G的通信系统仍在继续使用,因此,目前的通信网络中有多种通信系统共存。其中,不同的通信系统采用不同的通信技术,例如,不同的通信系统,其对应的帧结构不同、调制解调技术不同、复用技术不同,等等。但是,所有的通信系统均需保证终端设备的通信质量,即无论在什么场景下,都要使终端设备能够接入终端设备所在的位置上信道质量最好的服务小区,以获得高吞吐量和高频谱效率。With the development of communication technologies, more and more communication systems have emerged, from 2G communication systems (such as Global System for Mobile Communications (GSM)) to 3G communication systems (such as time-division synchronous code division multiple access systems). (Time Division-Synchronization Code Division Multiple Access (TD-SCDMA)), from 3G communication systems to 4G communication systems (such as Long Term Evolution (LTE)), and even to 5G communication systems (such as new air ports) (New Radio, NR) system). When a new communication system/air interface technology is proposed and used, the previous communication system/air interface technology will not be replaced immediately. For example, after the 4G communication system is used, the 3G communication system and the 2G communication system are still in use, so In the current communication network, there are multiple communication systems coexisting. Among them, different communication systems use different communication technologies, for example, different communication systems, different frame structures, different modulation and demodulation technologies, different multiplexing technologies, and the like. However, all communication systems need to ensure the communication quality of the terminal equipment, that is, in any scenario, the terminal equipment must be able to access the service channel with the best channel quality at the location where the terminal equipment is located, in order to obtain high throughput and High spectral efficiency.
为了保证终端设备的通信质量,终端设备需对当前的服务小区和邻区进行信道质量测量,并对质量较好的邻区进行跟踪和同步,以便能够随时进行小区切换或重选。在目前的一些邻区跟踪同步的方案中,在终端设备处于业务态的情况下,由于终端设备要发送或接收数据,时间资源紧张,终端设备分配给邻区同步任务的时间长度有限,通过一次邻区同步任务可能无法搜索到邻区下发的同步信号,需要进行多次邻区同步任务才能搜索到邻区下发的同步信号,终端设备需要一段比较长的时间才能搜索到邻区并与邻区同步成功。在终端设备高速运动的情况下,终端设备与当前的服务小区的距离越来越远,由于终端设备的位置变化迅速,服务小区的信道质量也会随之快速变差,当服务小区的信道质量无法满足终端的通信要求时,终端设备需要快速地切换至信道质量更好的邻区,而终端设备切换至邻区的前提是终端设备已经与邻区进行了同步,由于终端设备在业务态下与邻区同步需要的时间较长,则可能导致终端设备无法及时地切换至邻区,服务小区的信道质量随着时间的变化在不断变差而终端又无法及时切换至邻区,可能会导致终端设备的业务中断。In order to ensure the communication quality of the terminal equipment, the terminal equipment needs to perform channel quality measurement on the current serving cell and the neighboring area, and track and synchronize the neighboring areas with good quality, so that the cell switching or reselection can be performed at any time. In the current scheme of tracking synchronization in some neighboring areas, when the terminal device is in the service state, because the terminal device is to send or receive data, the time resource is tight, and the time length allocated by the terminal device to the neighboring area synchronization task is limited. The neighboring area synchronization task may not be able to search for the synchronization signal sent by the neighboring area. It is necessary to perform multiple neighboring area synchronization tasks to search for the synchronization signal sent by the neighboring area. The terminal equipment needs a relatively long time to search for the neighboring area and The neighboring area is synchronized successfully. In the case of high-speed movement of the terminal device, the distance between the terminal device and the current serving cell is getting farther and farther. Because the location of the terminal device changes rapidly, the channel quality of the serving cell will also rapidly deteriorate, when the channel quality of the serving cell When the communication requirements of the terminal cannot be met, the terminal device needs to quickly switch to the neighboring cell with better channel quality, and the premise that the terminal device switches to the neighboring cell is that the terminal device has been synchronized with the neighboring cell, because the terminal device is in the service state. If the time required for synchronization with the neighboring cell is longer, the terminal device cannot switch to the neighboring cell in time. The channel quality of the serving cell changes continuously with time and the terminal cannot switch to the neighboring cell in time, which may result in The service of the terminal device is interrupted.
发明内容Summary of the invention
本申请提供资源调度方法和终端设备,可以快速与邻区同步,避免终端设备因无法及时接入邻区而导致业务中断。The present invention provides a resource scheduling method and a terminal device, which can be quickly synchronized with the neighboring cell to prevent the terminal device from being interrupted due to failure to access the neighboring cell in time.
第一方面,本申请实施例提供一种资源调度方法,应用于具备分集接收功能的终端设备上,该终端设备包括主集天线和分集天线,该方法包括:In a first aspect, the embodiment of the present application provides a resource scheduling method, which is applied to a terminal device having a diversity receiving function, where the terminal device includes a main set antenna and a diversity antenna, and the method includes:
终端设备获取待处理的调度任务,该终端设备处于业务态;在所述调度任务为邻区同步任务的情况下,所述终端设备使用所述分集天线的空闲资源执行所述邻区同步任务。The terminal device acquires a scheduling task to be processed, and the terminal device is in a service state. If the scheduling task is a neighboring cell synchronization task, the terminal device performs the neighboring cell synchronization task by using the idle resource of the diversity antenna.
其中,处于业务态的终端设备指已经与服务小区中的网络设备建立通信信道,并正在与该网络设备进行数据交互的终端设备,例如,在LTE系统中,RRC状态为RRC-CONNECTED的终端设备即为处于业务态的终端设备。The terminal device in the service state refers to a terminal device that has established a communication channel with the network device in the serving cell and is performing data interaction with the network device, for example, in the LTE system, the terminal device with the RRC state being RRC-CONNECTED It is the terminal device in the business state.
在本申请中,终端设备使用分集天线的空闲资源执行邻区同步任务,由于分集天线只在分集接收和副卡寻呼的时候被占用,而分集接收和副卡寻呼所占用的资源仅为分集天线的资源中的极小一部分,剩余的资源均可以分配给邻区同步任务可以使终端设备有充足的资源去执行邻区同步任务,在资源充足的情况下,终端设备接收到邻区下发的邻区同步信号的几率更大,能够更快与邻区同步,从而快速接入邻区,保证终端设备的业务不中断。In the present application, the terminal device performs the neighboring area synchronization task using the idle resources of the diversity antenna, since the diversity antenna is occupied only in the diversity reception and the secondary card paging, and the resources occupied by the diversity reception and the secondary card paging are only A very small part of the resources of the diversity antenna, the remaining resources can be allocated to the neighboring area synchronization task, so that the terminal equipment has sufficient resources to perform the neighboring area synchronization task, and when the resources are sufficient, the terminal equipment receives the neighboring area. The neighboring area has a greater probability of synchronizing signals, and can synchronize with the neighboring area more quickly, thereby quickly accessing the neighboring area and ensuring that the services of the terminal equipment are not interrupted.
结合第一方面,在一些实施例中,分集天线的空闲资源可以为分集天线的资源中除去副卡寻呼占用资源的剩余资源,分集天线的空闲资源也可以为分集天线的资源中除去副卡寻呼占用资源以及接收服务小区数据的占用资源的剩余资源。With reference to the first aspect, in some embodiments, the idle resource of the diversity antenna may be the remaining resources of the resource of the diversity antenna except for the secondary card paging occupied resource, and the idle resource of the diversity antenna may also be the secondary card of the diversity antenna. The paging occupies resources and the remaining resources of the occupied resources that receive the serving cell data.
结合第一方面,在一些实施例中,可根据终端设备所处的场景或环境给邻区同步任务分配资源,具体实施方式包括但不限于以下两种:With reference to the first aspect, in some embodiments, the neighboring area synchronization task may be allocated resources according to the scenario or environment in which the terminal device is located, and the specific implementation manner includes, but is not limited to, the following two types:
第一种,终端设备根据在当前的服务小区中的接收模式给邻区同步任务分配资源,在接收模式为单天线接收模式的情况下,终端设备将分集天线的空闲资源分配给邻区同步任务。在可选实施方式中,在接收模式为双天线接收模式的情况下,终端设备可按现有的邻区同步任务分配方案给邻区同步任务分配资源,也可将分集天线的空闲资源分配给邻区同步任务。其中,单天线接收模式下的分集天线的空闲资源可适用于初始邻区同步任务和周期邻区同步任务,双天线接收模式下的分集天线的空闲资源可适用于周期邻区同步任务。First, the terminal device allocates resources to the neighboring area synchronization task according to the receiving mode in the current serving cell. When the receiving mode is the single antenna receiving mode, the terminal device allocates the idle resource of the diversity antenna to the neighboring area synchronization task. . In an optional implementation manner, in a case where the receiving mode is the dual antenna receiving mode, the terminal device may allocate resources to the neighboring area synchronization task according to the existing neighboring area synchronization task allocation scheme, or allocate the idle resources of the diversity antenna to the Neighbor synchronization tasks. The idle resources of the diversity antenna in the single antenna receiving mode can be applied to the initial neighboring area synchronization task and the periodic neighboring area synchronization task, and the idle resources of the diversity antenna in the dual antenna receiving mode can be applied to the periodic neighboring area synchronization task.
第二种,终端设备根据终端设备的状态给邻区同步任务分配资源,在终端设备处于位置转移状态的情况下,终端设备将分集天线的空闲资源分配给邻区同步任务;在终端设备未处于位置转移状态的情况下,终端设备可将按现有的邻区同步任务分配方案给邻区同步分配资源。其中,当终端设备处于位置转移状态时,则说明终端设备当前可能处于运动场景中。Second, the terminal device allocates resources to the neighboring area synchronization task according to the state of the terminal device. When the terminal device is in the location transition state, the terminal device allocates the idle resource of the diversity antenna to the neighboring area synchronization task; In the case of the location transfer state, the terminal device may allocate resources to the neighboring cells synchronously according to the existing neighboring area synchronization task allocation scheme. Wherein, when the terminal device is in the location transition state, it indicates that the terminal device may currently be in the motion scenario.
终端设备将资源分配给邻区同步任务后,终端设备可使用分配好的资源执行邻区同步任务。After the terminal device allocates resources to the neighboring area synchronization task, the terminal device can perform the neighboring area synchronization task by using the allocated resources.
结合第一方面,在一些实施例中,终端设备可根据以下方式评估终端设备的状态:In conjunction with the first aspect, in some embodiments, the terminal device can evaluate the status of the terminal device in accordance with the following manner:
第一种方式,终端设备用终端设备的运动速度来直接评估终端设备的状态。终端设备确定终端设备的运动速度,在该运动速度大于运动速度阈值的情况下,终端设备确定终端设备处于位置转移状态。In the first mode, the terminal device directly evaluates the state of the terminal device by using the moving speed of the terminal device. The terminal device determines the moving speed of the terminal device. When the moving speed is greater than the moving speed threshold, the terminal device determines that the terminal device is in the position shifting state.
第二种方式,终端设备用终端设备从当前的服务小区中接收到的信号的信号强度减弱速率来间接评估终端设备的状态。终端设备确定从当前的服务小区中接收到 的信号的信号强度减弱速率,在该信号强度减弱速率大于减弱速率阈值的情况下,终端设备确定终端设备处于位置转移状态。In the second mode, the terminal device indirectly evaluates the state of the terminal device by using the signal strength reduction rate of the signal received by the terminal device from the current serving cell. The terminal device determines a signal strength weakening rate of the signal received from the current serving cell, and in a case where the signal strength weakening rate is greater than the weakening rate threshold, the terminal device determines that the terminal device is in the location transition state.
需要说明的是,不限于上述两种评估方式,终端设备可结合终端设备的运动速度、终端设备的加速度、服务小区的信号强度、服务小区的信号强度减弱速率等通过终端设备检测到的特征来综合评估终端设备的状态,本申请不做限制。It should be noted that, not limited to the foregoing two evaluation methods, the terminal device may combine the motion speed of the terminal device, the acceleration of the terminal device, the signal strength of the serving cell, and the signal strength weakening rate of the serving cell, etc., by using the characteristics detected by the terminal device. Comprehensive evaluation of the status of the terminal device is not limited in this application.
结合第一方面,在一些实施例中,终端设备在使用分集天线的空闲资源执行邻区同步任务之前,还可以确定终端设备的分集天线的信号接收状态,在确定分集天线的信号接收状态为第一状态的情况下,终端设备使用分集天线的空闲资源执行该邻区同步任务。With reference to the first aspect, in some embodiments, the terminal device may further determine a signal receiving state of the diversity antenna of the terminal device before performing the neighboring cell synchronization task using the idle resource of the diversity antenna, and determine a signal receiving state of the diversity antenna. In the case of a state, the terminal device performs the neighboring area synchronization task using the idle resources of the diversity antenna.
其中,终端设备的分集天线的信号接收状态用于指示分集天线能否正常工作。The signal receiving state of the diversity antenna of the terminal device is used to indicate whether the diversity antenna can work normally.
结合第一方面,在一些实施例中,终端设备可通过以下方式确定终端设备的分集天线的信号接收状态:In conjunction with the first aspect, in some embodiments, the terminal device can determine the signal reception status of the diversity antenna of the terminal device in the following manner:
第一种方式,终端设备获取终端设备的分集天线从目标小区接收到的信号的第一信号强度;在该第一信号强度大于信号强度门限的情况下,终端设备确定分集天线的信号接收状态为第一状态。In a first mode, the terminal device acquires a first signal strength of a signal received by the diversity antenna of the terminal device from the target cell; if the first signal strength is greater than a signal strength threshold, the terminal device determines that the signal receiving state of the diversity antenna is First state.
第二种方式,终端设备获取终端设备的分集天线从目标小区接收到的信号的第一信号强度;终端设备获取终端设备的分集天线从目标小区接收到的信号的第二信号强度;在该第二信号强度大于该第一信号强度的差值小于信号强度差值门限的情况下,终端设备确定分集天线的信号接收状态为第一状态。In a second mode, the terminal device acquires a first signal strength of a signal received by the diversity antenna of the terminal device from the target cell; and the terminal device acquires a second signal strength of the signal received by the diversity antenna of the terminal device from the target cell; When the difference between the two signal strengths greater than the first signal strength is less than the signal strength difference threshold, the terminal device determines that the signal receiving state of the diversity antenna is the first state.
这里,目标小区为终端设备在小区信号检测过程中检测到的小区,目标小区可根据实际情况进行设计,目标小区可以为终端设备在小区信号检测过程中检测到的信号强度最强的小区,目标小区也可以为当前的服务小区,也可以为其他预先设定的小区,例如为信号强度处于第二位的小区。Here, the target cell is a cell detected by the terminal device in the process of the cell signal detection, and the target cell may be designed according to the actual situation, and the target cell may be the cell with the strongest signal strength detected by the terminal device in the cell signal detection process, and the target The cell may also be the current serving cell, or may be other preset cells, for example, a cell with the signal strength in the second place.
结合第一方面,在一些实施例中,终端设备可以将分集天线的所有空闲资源分配给邻区同步任务;终端设备也可以将分集天线的空闲资源中的部分资源作为目标资源分配给邻区同步任务,然后使用该目标资源执行邻区同步任务,终端设备确定目标资源的方式如下:With reference to the first aspect, in some embodiments, the terminal device may allocate all idle resources of the diversity antenna to the neighboring area synchronization task; the terminal device may also allocate part of the idle resources of the diversity antenna as the target resource to the neighboring area synchronization. The task then performs the neighbor synchronization task using the target resource, and the terminal device determines the target resource as follows:
终端设备确定邻区同步任务对应的邻区的系统属性以及邻区同步任务的任务属性;终端设备根据该系统属性和该任务属性在分集天线的空闲资源中确定目标资源。The terminal device determines a system attribute of a neighboring cell corresponding to the neighboring area synchronization task and a task attribute of the neighboring area synchronization task; the terminal device determines the target resource in the idle resource of the diversity antenna according to the system attribute and the task attribute.
在一种可能的实施方式中,在邻区同步任务的任务属性为初始邻区同步任务的情况下,终端设备可根据邻区的系统属性确定邻区下发同步信号的周期;终端设备将分集天线的空闲资源中的第一资源确定为目标资源,第一资源的时间长度大于或等于所述周期的时间长度。In a possible implementation manner, in a case that the task attribute of the neighboring area synchronization task is the initial neighboring area synchronization task, the terminal device may determine the period of the synchronization signal sent by the neighboring area according to the system attribute of the neighboring area; the terminal device will divide the diversity. The first resource in the idle resource of the antenna is determined as the target resource, and the time length of the first resource is greater than or equal to the length of time of the cycle.
在另一种可能的实施方式中,在邻区同步任务的任务属性为周期同步任务的情况下,终端设备可根据邻区的系统属性确定该邻区下发的同步信号占用的资源;终端设备将分集天线的空闲资源中的第二资源确定为目标资源,第二资源的时间长度大于或等于同步信号占用的资源的时间长度。In another possible implementation manner, in a case that the task attribute of the neighboring area synchronization task is a periodic synchronization task, the terminal device may determine, according to the system attribute of the neighboring area, the resource occupied by the synchronization signal sent by the neighboring area; the terminal device The second resource in the idle resource of the diversity antenna is determined as the target resource, and the time length of the second resource is greater than or equal to the length of time of the resource occupied by the synchronization signal.
第二方面,本申请提供一种终端设备,该终端设备具有实现第一方面所述方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元。In a second aspect, the present application provides a terminal device having the function of implementing the method of the first aspect. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more units corresponding to the functions described above.
在一个可能的设计中,该终端设备包括处理单元,其中,所述处理单元用于获取待处理的调度任务,其中,所述终端设备处于业务态;所述处理单元还用于在所述调度任务为邻区同步任务的情况下,使用所述分集天线的空闲资源执行所述邻区同步任务。In a possible design, the terminal device comprises a processing unit, wherein the processing unit is configured to acquire a scheduling task to be processed, wherein the terminal device is in a service state; the processing unit is further configured to be in the scheduling In the case that the task is a neighboring area synchronization task, the neighboring area synchronization task is performed using the idle resources of the diversity antenna.
在一个可能的设计中,该终端设备包括处理器、存储器和收发器,所述处理器、存储器和收发器相互连接,其中,所述收发器包括主集天线和分集天线,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码,执行以下操作:获取待处理的调度任务,其中,终端设备处于业务态;在所述调度任务为邻区同步任务的情况下,通过所述分集天线使用所述分集天线的空闲资源执行所述邻区同步任务。In one possible design, the terminal device comprises a processor, a memory and a transceiver, the processor, the memory and the transceiver being connected to each other, wherein the transceiver comprises a main set antenna and a diversity antenna, the memory being used for Storing a program code, the processor is configured to invoke the program code, and perform the following operations: acquiring a scheduled task to be processed, wherein the terminal device is in a service state; and in the case that the scheduled task is a neighboring zone synchronization task, The diversity antenna performs the neighbor synchronization task using the idle resources of the diversity antenna.
基于同一发明构思,该终端设备解决问题的原理以及有益效果可以参见第一方面所述的方法以及所带来的有益效果,该终端设备的实施可以参见第一方面所述方法的实施,重复之处不再赘述。Based on the same inventive concept, the principle and the beneficial effects of the terminal device can be found in the method and the beneficial effects of the first aspect. For the implementation of the terminal device, refer to the implementation of the method in the first aspect, and repeat I won't go into details here.
第三方面,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面和第一方面各个可能的实现方式中的任意一种方法。In a third aspect, the present application provides a computer readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the first aspect and various possible implementations of the first aspect Any of the methods.
第四方面,本申请提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面和第一方面各个可能的实现方式中的任意一种方法。In a fourth aspect, the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform any one of the first aspect and each of the possible implementations of the first aspect.
第五方面,本申请提供一种芯片,包括处理器和存储器,该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,该计算机程序用于实现上述第一方面其任意可能的实现方式中的方法。In a fifth aspect, the present application provides a chip, including a processor and a memory, for storing a computer program, the processor for calling and running the computer program from a memory, the computer program for implementing the first aspect thereof The method in any possible implementation.
为了更清楚地说明本申请的技术方案,下面将对本申请所需要使用的附图进行说明。In order to more clearly illustrate the technical solution of the present application, the drawings to be used in the present application will be described below.
图1是本申请实施例涉及的一种通信系统的架构示意图;1 is a schematic structural diagram of a communication system according to an embodiment of the present application;
图2是本申请实施例提供的一种应用场景的示意图;2 is a schematic diagram of an application scenario provided by an embodiment of the present application;
图3是几种邻区同步任务的资源分配方案的示意图;3 is a schematic diagram of resource allocation schemes for several neighboring area synchronization tasks;
图4a-图4c是采用图3所示的邻区同步任务的资源分配方案去执行邻区同步任务所需的时间示意图;4a-4c are schematic diagrams of the time required to perform a neighboring area synchronization task using the resource allocation scheme of the neighboring area synchronization task shown in FIG. 3;
图5a-图5d是本申请实施例提供的邻区同步任务方案的一些可能的情况;5a-5d are some possible scenarios of the neighboring area synchronization task solution provided by the embodiment of the present application;
图6是本申请实施例提供的一种资源调度方法的流程示意图;FIG. 6 is a schematic flowchart diagram of a resource scheduling method according to an embodiment of the present application;
图7采用图5a和5c所示的邻区同步任务的资源分配方案去执行邻区同步任务所需的时间示意图;FIG. 7 is a schematic diagram of the time required to perform a neighboring area synchronization task by using the resource allocation scheme of the neighboring area synchronization task shown in FIG. 5a and 5c;
图8是本申请提供的终端设备的一种实现方式的结构框图。FIG. 8 is a structural block diagram of an implementation manner of a terminal device provided by the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
请参见图1,是本申请实施例涉及的一种通信系统的架构示意图,该通信系统包括终端设备和网络设备。其中终端设备与网络设备通过某种空口技术相互通信。在该通信系统中,多种空口技术可以并存,所述空口技术可包括:现有的2G(如GSM系统)、3G(如通用移动通信系统(Universal Mobile Telecommunications System,UMTS)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、TD-SCDMA)、4G(如FDD LTE、TDD LTE)以及New RAT系统,例如未来即将面市的5G系统等。FIG. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application, where the communication system includes a terminal device and a network device. The terminal device and the network device communicate with each other through some air interface technology. In the communication system, a plurality of air interface technologies can coexist, and the air interface technology can include: existing 2G (such as GSM system), 3G (such as Universal Mobile Telecommunications System (UMTS), wideband code division) (Wideband Code Division Multiple Access (WCDMA), TD-SCDMA), 4G (such as FDD LTE, TDD LTE) and New RAT systems, such as 5G systems to be launched in the future.
本申请中所描述的终端设备将以一般意义上的UE来介绍。此外,终端设备也可以称为用户设备、移动台、接入终端、用户单元、用户站、移动站、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置等。用户设备可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备以及未来5G网络中的移动台或者未来演进的公共陆地移动网(Public Land Mobile Network,PLMN)网络中的终端设备等。The terminal device described in this application will be introduced in the general sense of the UE. In addition, the terminal device may also be referred to as user equipment, mobile station, access terminal, subscriber unit, subscriber station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. Wait. The user equipment can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), and a wireless communication function. Handheld device, computing device or other processing device connected to a wireless modem, in-vehicle device, wearable device, and mobile station in a future 5G network or terminal in a future evolutionary Public Land Mobile Network (PLMN) network Equipment, etc.
本申请中所描述的网络设备可以是用于与终端设备进行通信的设备,具体地,在无线通信系统中,网络设备是通过无线的方式与终端设备进行通信的设备,例如:网络设备可以是GSM或CDMA系统中的基站(Base Transceiver Station,BTS),也可以是WCDMA中的NB(NodeB),还可以是LTE中的演进型基站(evolved Node B,eNB),以及未来5G网络中的网络设备或者未来演进的PLMN网络中的网络设备等。The network device described in the present application may be a device for communicating with the terminal device. Specifically, in the wireless communication system, the network device is a device that communicates with the terminal device in a wireless manner, for example, the network device may be A Base Transceiver Station (BTS) in a GSM or CDMA system, which may also be an NB (NodeB) in WCDMA, or an evolved Node B (eNB) in LTE, and a network in a future 5G network. A device or a network device in a future evolved PLMN network.
本申请中所描述的小区(服务小区和邻区)是指与终端设备进行通信的网络设备可以覆盖的区域,在这个区域内,终端设备可以通过无线信号与该小区中的网络设备进行通信。服务小区指终端设备当前接入的网络设备所覆盖的区域;邻区指与终端设备当前接入的网络设备接近的网络设备所覆盖的区域。本申请中,终端设备接入小区可以理解为终端设备接入网络设备。小区的系统属性与网络设备所属的系统有关,例如,网络设备属于GSM系统,则该网络设备对应的小区为GSM小区。The cell (serving cell and neighboring cell) described in the present application refers to an area that can be covered by a network device that communicates with the terminal device, in which the terminal device can communicate with the network device in the cell by using a wireless signal. The serving cell refers to the area covered by the network device currently accessed by the terminal device; the neighboring cell refers to the area covered by the network device that is close to the network device currently accessed by the terminal device. In this application, a terminal device accessing a cell may be understood as a terminal device accessing a network device. The system attribute of the cell is related to the system to which the network device belongs. For example, if the network device belongs to the GSM system, the cell corresponding to the network device is a GSM cell.
参见图2,图2是本申请实施例提供的一种应用场景的示意图。图2示出了服务小区以及与其邻近的小区。如图2所示,服务小区是终端设备当前接入的小区,在服务小区的附近,存在多个覆盖范围与其有部分重合的小区,称之为邻区,在一些情况下,终端设备从服务小区切换接入这些邻区,在切换接入这些邻区前,终端设备需要与这些邻区取得下行同步。在服务小区的邻区中,有部分邻区的中心频点与服务小区的中心频点不同,这些邻区被称之为与服务小区异频的邻区。Referring to FIG. 2, FIG. 2 is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 2 shows a serving cell and a cell adjacent thereto. As shown in FIG. 2, the serving cell is a cell currently accessed by the terminal device. In the vicinity of the serving cell, there are multiple cells whose coverage ranges partially overlap with each other, which is called a neighboring cell. In some cases, the terminal device is served. The cell switches to access these neighboring areas, and the terminal equipment needs to obtain downlink synchronization with these neighboring areas before switching to access these neighboring areas. In the neighboring cell of the serving cell, the central frequency of some of the neighboring cells is different from the central frequency of the serving cell, and these neighboring cells are referred to as neighboring cells that are different from the serving cell.
本申请所描述的下行同步,是指终端设备获取小区中的网络设备下发的同步信 号,根据该同步信号终端设备可以确定网络设备的时钟信号,进而在接入网络设备所在的小区的情况下,终端设备以该网络设备的时钟信号作为参考信号,对上下行信道中传输的内容进行时序上的调整,实现与接入的小区的时钟同步。The downlink synchronization described in the present application refers to that the terminal device acquires a synchronization signal sent by the network device in the cell, and according to the synchronization signal, the terminal device can determine the clock signal of the network device, and further, in the case of the cell where the access network device is located. The terminal device uses the clock signal of the network device as a reference signal to perform timing adjustment on the content transmitted in the uplink and downlink channels to implement clock synchronization with the accessed cell.
本申请所描述的资源,是指终端设备在执行某个无线通信任务时所能使用的时域资源,其中,时域资源包括终端设备执行该无线通信任务时所能占用的时间长度(即时间资源)以及在该时间长度中执行该无线通信任务需要使用的硬件和软件资源,其中,硬件资源可包括用于执行该无线通信任务的天线以及天线对应的调制解调模块等,软件资源可包括实现该无线通信任务的计算机程序等,时域资源还可以包括时间资源的起始时刻和终止时刻。The resource described in the present application refers to a time domain resource that the terminal device can use when performing a certain wireless communication task, where the time domain resource includes a length of time (ie, time) that the terminal device can occupy when performing the wireless communication task. Resources and hardware and software resources required to perform the wireless communication task in the length of time, wherein the hardware resources may include an antenna for performing the wireless communication task, a modem module corresponding to the antenna, and the like, and the software resources may include A computer program or the like that implements the wireless communication task, the time domain resource may further include a start time and a stop time of the time resource.
本申请的方案适用于服务小区和邻区为异频的小区。首先,对服务小区和邻区的情况、邻区同步任务以及一些邻区同步任务的资源分配方案进行介绍。The solution of the present application is applicable to a cell in which the serving cell and the neighboring cell are inter-frequency. First, the situation of the serving cell and the neighboring cell, the neighboring zone synchronization task, and the resource allocation scheme of some neighboring zone synchronization tasks are introduced.
服务小区和邻区按照系统属性是否相同可分为同系统的服务小区和邻区、异系统的服务小区和邻区两大类。这里,系统属性是指小区中的网络设备与终端设备通信所采用的无线通信技术。The serving cell and the neighboring cell can be divided into two categories: the serving cell and the neighboring cell of the same system, the serving cell of the different system, and the neighboring cell according to whether the system attributes are the same. Here, the system attribute refers to a wireless communication technology used by a network device in a cell to communicate with a terminal device.
第一类,服务小区和邻区为同系统的小区。在本类别中,服务小区和邻区所采用的无线通信技术相同。服务小区和邻区可以为以下几种情况:服务小区为GSM系统,邻区为GSM系统;服务小区为TD-SCDMA系统,邻区为TD-SCDMA系统;服务小区为TDD-LTE系统,邻区为TDD-LTE系统。In the first category, the serving cell and the neighboring cell are cells of the same system. In this category, the wireless communication technology used by the serving cell and the neighboring cell is the same. The serving cell and the neighboring cell may be in the following situations: the serving cell is a GSM system, the neighboring cell is a GSM system; the serving cell is a TD-SCDMA system, the neighboring cell is a TD-SCDMA system; the serving cell is a TDD-LTE system, and the neighboring cell For the TDD-LTE system.
第二类,服务小区和邻区为异系统的小区。在本类别中,服务小区和邻区所采用的无线通信技术不同。服务小区和邻区可以为以下几种情况:服务小区为2G系统,邻区为3G系统、4G系统或5G系统中的任意一种系统;服务小区为3G系统,邻区为2G系统、4G系统或5G系统中的任意一种系统;服务小区为4G系统,邻区为2G系统、3G系统或5G系统中的任意一种系统;服务小区为5G系统,邻区为2G系统、3G系统或4G系统中的任意一种系统。In the second category, the serving cell and the neighboring cell are cells of different systems. In this category, the wireless communication technologies used by the serving cell and the neighboring cell are different. The serving cell and the neighboring cell may be in the following situations: the serving cell is a 2G system, the neighboring cell is any one of a 3G system, a 4G system, or a 5G system; the serving cell is a 3G system, and the neighboring cell is a 2G system or a 4G system. Or any one of the 5G systems; the serving cell is a 4G system, the neighboring cell is any one of a 2G system, a 3G system, or a 5G system; the serving cell is a 5G system, and the neighboring cell is a 2G system, a 3G system, or a 4G system. Any system in the system.
需要说明的是,同系统的服务小区和邻区以及异系统的服务小区和邻区不限于以上所述的几种情况,采用相同的无线通信技术的服务小区和邻区均可以称为同系统的服务小区和邻区,采用不同的无线通信技术的服务小区和邻区均可以称为异系统的服务小区和邻区。例如,服务小区为TD-SCDMA系统,邻区为WCDMA系统,虽然二者均为3G系统,但是所采用的无线通信技术不同,则服务小区与邻区为异系统的服务小区和邻区。这里,无线通信技术是指帧结构、通信协议、通信配置等各种终端设备与小区中的网络设备之间进行通信所必须遵守的规范。It should be noted that the serving cell and the neighboring cell of the same system and the serving cell and the neighboring cell of the different system are not limited to the above-mentioned cases, and the serving cell and the neighboring cell adopting the same wireless communication technology may be referred to as the same system. The serving cell and the neighboring cell, the serving cell and the neighboring cell adopting different wireless communication technologies may be referred to as the serving cell and the neighboring cell of the different system. For example, the serving cell is a TD-SCDMA system, and the neighboring area is a WCDMA system. Although both are 3G systems, the used wireless communication technologies are different, and the serving cell and the neighboring cell are different service cells and neighboring cells. Here, the wireless communication technology refers to a specification that must be observed in communication between various terminal devices such as a frame structure, a communication protocol, and a communication configuration and a network device in a cell.
本申请的方案适用于上述所有服务小区和邻区为异频的小区的情况。在服务小区和邻区所构成的无线通信系统中,终端设备与服务小区时钟同步,终端设备的资源分布情况由服务小区所采用的无线通信技术以及终端设备接收数据和发送数据所占用的资源决定。在终端设备处于业务态的情况下,终端设备在保证不与服务小区的任务冲突的前提下执行邻区同步任务,来完成与邻区同步。The solution of the present application is applicable to the case where all the serving cells and the neighboring cells are cells of different frequencies. In the wireless communication system formed by the serving cell and the neighboring cell, the terminal device synchronizes with the serving cell clock, and the resource distribution of the terminal device is determined by the wireless communication technology used by the serving cell and the resources occupied by the terminal device to receive data and transmit data. . When the terminal device is in the service state, the terminal device performs the neighboring cell synchronization task on the premise of not colliding with the task of the serving cell to complete the synchronization with the neighboring cell.
本申请中,处于业务态的终端设备指终端设备已经与服务小区中的网络设备建立通信信道,正在进行上下行数据传输的终端设备,例如,终端设备正在进行通话 业务,终端设备正在进行短信业务,终端设备正在进行上传任务,终端设备正在进行下载任务,等等。In the present application, the terminal device in the service state refers to a terminal device in which the terminal device has established a communication channel with the network device in the serving cell, and the terminal device is performing uplink and downlink data transmission, for example, the terminal device is performing a call service, and the terminal device is performing a short message service. The terminal device is performing an upload task, the terminal device is performing a download task, and the like.
邻区同步任务按任务属性可分为初始邻区同步任务和周期邻区同步任务。其中,初始邻区同步任务是指终端设备在还未与邻区取得同步的情况下,通过盲检的方式获取邻区下发的同步信号,然后根据邻区下发的同步信号与邻区同步;周期邻区同步任务是指终端设备在之前的第一时刻已经与邻区取得同步,终端设备可根据该邻区的系统属性确定邻区下发同步信号的周期,根据该周期以及之前与邻区取得同步的第一时刻确定邻区下发同步信号的目标时刻,其中,目标时刻与第一时刻之间间隔一个或多个周期的时间长度,终端设备在该目标时刻获取邻区下发的同步信号并根据邻区下发的同步信号与邻区同步。在初始邻区同步任务中,由于终端设备不知道邻区具体在何时下发同步信号,终端设备可能需要经过多次盲检才能检测到邻区下发的同步信号,需要的时间资源较长。Neighbor synchronization tasks can be divided into initial neighbor synchronization tasks and periodic neighbor synchronization tasks according to task attributes. The initial neighboring area synchronization task refers to that the terminal device acquires the synchronization signal sent by the neighboring area by using the blind detection mode, and then synchronizes with the neighboring area according to the synchronization signal sent by the neighboring area. The periodic neighboring area synchronization task means that the terminal device has synchronized with the neighboring area at the first moment, and the terminal device can determine the period of the synchronization signal sent by the neighboring area according to the system attribute of the neighboring area, according to the period and the previous neighboring The first time at which the region obtains the synchronization determines the target time at which the synchronization signal is sent by the neighboring cell, wherein the target time is separated from the first time by the length of one or more cycles, and the terminal device acquires the neighboring region at the target time. The synchronization signal is synchronized with the neighboring area according to the synchronization signal sent by the neighboring area. In the initial neighboring area synchronization task, because the terminal device does not know when the synchronization signal is sent by the neighboring area, the terminal device may need to perform multiple blind detections to detect the synchronization signal sent by the neighboring area, and the required time resource is long.
在一些邻区同步任务的资源分配方案中,终端设备分配一些固定的资源(主集天线的固定资源,或者,主集天线和分集天线的固定资源)给邻区同步任务,终端设备可在这些资源对应的时间段内执行邻区同步任务,即可在这些资源内的时间接收邻区下发的同步信号。例如,如图3所示,在服务小区为GSM系统的资源分配方案中,终端设备以26个无线帧为周期,在该周期中分配空闲帧的资源给邻区同步任务,终端设备在空闲帧执行邻区同步任务,由GSM系统的特性可知,一帧的时长为4.615ms,即在一个周期中可分配给邻区同步任务的时间资源的时间长度为4.615ms;在服务小区为TD-SCDMA系统的资源分配方案中,终端设备以1个无线子帧为周期,在该周期中分配空闲时隙的资源给邻区同步任务,终端设备在空闲时隙执行邻区同步任务,在终端设备处于业务态时,终端设备至少占用2个时隙去执行服务小区的任务(即接收数据和发送数据),另外还有一个时隙为导频时隙,则终端设备最多可以在4个空闲时隙执行邻区同步任务,由TD-SCDMA系统的特性可知,一个子帧的时长为5ms,即在一个周期中,可分配给邻区同步任务的时间资源的时间长度为2.7ms;在服务小区为LTE系统的资源分配方案中,终端设备在40ms的周期中分配6ms的测量间隔(GAP)的资源给邻区同步任务,终端设备在测量间隔执行邻区同步任务,等等。需要说明的是,图3所示的资源分配方案示出的是终端设备的主集天线和分集天线的资源分配方案,在终端设备处于单天线接收模式的情况下,终端设备可在图3所示的分配给邻区同步任务的资源通过主集天线执行邻区同步任务;在终端设备处于双天线接收模式的情况下,终端设备可在图3所示的分配给邻区同步任务的资源通过主集天线和分集天线同时执行邻区同步任务。In some resource allocation schemes for neighboring synchronization tasks, the terminal device allocates some fixed resources (fixed resources of the main set antenna, or fixed resources of the main set antenna and the diversity antenna) to the neighboring area synchronization task, and the terminal device can The neighboring area synchronization task is executed in the time period corresponding to the resource, and the synchronization signal sent by the neighboring area can be received at the time within the resources. For example, as shown in FIG. 3, in a resource allocation scheme in which the serving cell is a GSM system, the terminal device uses 26 radio frames as a period, in which resources of the idle frame are allocated to the neighboring area synchronization task, and the terminal equipment is in the idle frame. The neighboring area synchronization task is performed. According to the characteristics of the GSM system, the duration of one frame is 4.615 ms, that is, the time length of the time resource that can be allocated to the neighboring area synchronization task in one period is 4.615 ms; the serving cell is TD-SCDMA. In the resource allocation scheme of the system, the terminal device uses a radio subframe as a period, in which the resources of the idle time slot are allocated to the neighboring area synchronization task, and the terminal equipment performs the neighboring area synchronization task in the idle time slot, and the terminal device is in the terminal device. In the service state, the terminal device occupies at least 2 time slots to perform the task of the serving cell (ie, receiving data and transmitting data), and another time slot is a pilot time slot, and the terminal device can be in up to 4 idle time slots. The neighboring area synchronization task is performed. According to the characteristics of the TD-SCDMA system, the duration of one subframe is 5 ms, that is, the time resource that can be allocated to the neighboring area synchronization task in one cycle. The length is 2.7 ms. In the resource allocation scheme in which the serving cell is the LTE system, the terminal device allocates 6 ms measurement interval (GAP) resources to the neighboring area synchronization task in a 40 ms period, and the terminal device performs the neighboring area synchronization task at the measurement interval. ,and many more. It should be noted that the resource allocation scheme shown in FIG. 3 shows a resource allocation scheme of a primary set antenna and a diversity antenna of a terminal device. In a case where the terminal device is in a single antenna receiving mode, the terminal device may be in FIG. 3 . The resource allocated to the neighboring area synchronization task performs the neighboring area synchronization task through the primary set antenna; in the case that the terminal device is in the dual antenna receiving mode, the terminal device can pass the resource allocated to the neighboring area synchronization task shown in FIG. The main set antenna and the diversity antenna simultaneously perform the neighboring area synchronization task.
采用上述的邻区同步任务的资源分配方案在执行初始邻区同步任务时需要的时间较长。以邻区同步任务对应的邻区为GSM系统为例,GSM系统的小区以51复帧为周期分别在第0帧、10帧、20帧、30帧、40帧共下发5次同步信号(这里同步信号指频率校正信道(Frequency Correction Channel,FCCH)中的频率校正突发(Frequency Correction Burst,FB)),同步信号占用1个时隙,GSM系统中,一帧有8个时隙,同步信号的时长为4.615ms/8=0.577ms。当邻区下发邻区同步信号 的时间正好与终端设备为邻区同步任务分配的时间资源重合或者在终端设备为邻区同步任务分配的时间资源中时,终端设备可以获取到邻区下发的同步信号进而完成邻区同步。The resource allocation scheme using the neighboring area synchronization task described above takes a long time to perform the initial neighboring area synchronization task. Taking the neighboring area corresponding to the neighboring area synchronization task as the GSM system, the GSM system's cell sends 5 times of synchronization signals in the 0th frame, 10th frame, 20th frame, 30th frame, and 40th frame respectively. Here, the synchronization signal refers to a Frequency Correction Burst (FB) in the Frequency Correction Channel (FCCH), and the synchronization signal occupies 1 time slot. In the GSM system, there are 8 time slots in one frame, and synchronization is performed. The duration of the signal is 4.615ms/8=0.577ms. When the neighboring area sends the neighboring area synchronization signal to coincide with the time resource allocated by the terminal equipment for the neighboring area synchronization task, or when the terminal equipment is the time resource allocated by the neighboring area synchronization task, the terminal equipment can obtain the neighboring area. The synchronization signal then completes the neighbor synchronization.
假设邻区上一次下发邻区同步信号结束的时刻正好与终端设备上一次邻区同步任务的时间资源结束的时刻相同,以终端设备在上一次邻区同步任务的时间资源结束的时刻开始计时,终端设备在系统属性不同的小区中执行邻区同步任务所需的时间如图4a-图4c所示,图4a-4c中时间的单位是ms。如图4a所示,在服务小区为GSM系统的情况下,终端设备在空闲帧执行邻区同步任务,即终端设备在空闲帧接收邻区的同步信号,终端设备需要盲检9次近1080ms的时间才能获取到邻区下发的完整的同步信号;如图4b所示,在服务小区为TD-SCDMA系统的情况下,终端设备在空闲时隙执行邻区同步任务,即终端设备在空闲时隙接收邻区的同步信号,终端设备需要盲检28次共138.45ms的时间才能获取到邻区下发的完整的同步信号;如图4c所示,在服务小区为LTE系统的情况下,终端设备在6ms的测量间隔执行邻区同步任务,即终端在6ms的测量间隔接收邻区的同步信号,终端设备需要盲检6次共235.365ms的时间才能获取到邻区下发的完整的同步信号。It is assumed that the time at which the neighboring area synchronization signal is sent last time is the same as the time when the time resource of the last neighboring area synchronization task of the terminal device ends, and the terminal device starts timing at the time when the time resource of the last neighboring area synchronization task ends. The time required for the terminal device to perform the neighboring area synchronization task in the cell with different system attributes is as shown in FIG. 4a to FIG. 4c, and the unit of time in FIG. 4a-4c is ms. As shown in FIG. 4a, in the case that the serving cell is a GSM system, the terminal device performs a neighboring cell synchronization task in an idle frame, that is, the terminal device receives the synchronization signal of the neighboring cell in the idle frame, and the terminal device needs to blindly check 9 times for nearly 1080 ms. The time can obtain the complete synchronization signal sent by the neighboring cell; as shown in FIG. 4b, in the case that the serving cell is a TD-SCDMA system, the terminal device performs the neighboring area synchronization task in the idle time slot, that is, when the terminal device is idle The slot receives the synchronization signal of the neighboring area, and the terminal device needs to perform a blind detection 28 times for a total of 138.45 ms to obtain a complete synchronization signal sent by the neighboring cell; as shown in FIG. 4c, in the case that the serving cell is an LTE system, the terminal The device performs the neighboring area synchronization task at the measurement interval of 6 ms, that is, the terminal receives the synchronization signal of the neighboring area at the measurement interval of 6 ms, and the terminal device needs to perform blind detection for 6 times for a total of 235.365 ms to obtain the complete synchronization signal sent by the neighboring area. .
从图4a-图4c可知,对于初始邻区同步任务来说,在有限的时间资源中终端设备仅通过一次盲检可能无法获取到邻区下发的同步信号,需要进行多次盲检才能获取邻区下发的同步信号进而与邻区同步,终端设备需要较长的时间才能与邻区取得同步,上述的邻区同步任务的资源分配方案无法满足终端设备在高速运动过程对邻区同步的时间要求。另外,对于周期邻区同步任务来说,图3所示的方案中分配给邻区同步任务的资源较少,用于周期邻区同步的任务的资源也相对较少。As can be seen from FIG. 4a to FIG. 4c, for the initial neighboring area synchronization task, the terminal device may not be able to acquire the synchronization signal sent by the neighboring area only by one blind detection in a limited time resource, and multiple blind detections are required to obtain the synchronization signal. The synchronization signal sent by the neighboring area is synchronized with the neighboring area, and the terminal equipment takes a long time to synchronize with the neighboring area. The resource allocation scheme of the neighboring area synchronization task cannot satisfy the synchronization of the terminal equipment in the high-speed motion process. time requirement. In addition, for the periodic neighbor synchronization task, the resources allocated to the neighbor synchronization task are less in the scheme shown in FIG. 3, and the resources for the periodic neighbor synchronization task are relatively less.
在本申请的方案中,将分集天线的空闲资源分配给邻区同步任务,由于分集天线的资源只在分集接收和副卡寻呼的时候被占用,分集天线的其他资源均为空闲资源,分集天线的空闲资源比主集天线的资源更多,可以使终端设备通过较少的盲检次数即获取到邻区下发的同步信号,在较短的时间内即可与邻区取得同步,满足终端设备在高速运动过程中对邻区同步的时间要求。In the solution of the present application, the idle resources of the diversity antenna are allocated to the neighboring area synchronization task, and the resources of the diversity antenna are occupied only during the diversity reception and the secondary card paging, and other resources of the diversity antenna are idle resources, and the diversity is The idle resource of the antenna is more than the resources of the main set antenna, so that the terminal device can obtain the synchronization signal sent by the neighboring area through a small number of blind detection times, and can synchronize with the neighboring area in a short time, which is satisfied. The time requirement for the neighboring device to synchronize in the high-speed motion.
接下来,介绍本申请的邻区同步任务的资源分配方案的一些可能的情况,本申请的终端设备具备分集接收功能。Next, some possible cases of the resource allocation scheme of the neighboring area synchronization task of the present application are introduced. The terminal device of the present application has a diversity receiving function.
(一)终端设备在服务小区中处于单天线接收模式(1) The terminal equipment is in the single antenna receiving mode in the serving cell.
在单天线接收模式下,主集天线的资源用于正常执行服务小区中的任务(如接收数据、发送数据等)及其他终端设备需要执行的任务,在接收数据时只使用主集天线的资源进行接收,而无需使用分集天线的资源进行接收。终端设备的分集天线的资源只在副卡寻呼的时候被占用,即在单天线接收模式下,分集天线的空闲资源为分集天线的资源中除去副卡寻呼占用资源的剩余资源。在终端设备处于业务态的情况下,副卡的寻呼为周期性寻呼,寻呼周期一般在5s左右,假设寻呼占用一个时隙,则在5s的寻呼周期中,寻呼占用一个时隙的资源。In the single antenna receiving mode, the resources of the main set antenna are used to perform tasks in the serving cell (such as receiving data, transmitting data, etc.) and tasks that other terminal devices need to perform, and only use resources of the main set antenna when receiving data. Receive is performed without using the resources of the diversity antenna for reception. The resources of the diversity antenna of the terminal device are occupied only when the secondary card is paged. That is, in the single antenna receiving mode, the idle resource of the diversity antenna is the remaining resources of the resource of the diversity antenna except the secondary card paging resource. In the case that the terminal device is in the service state, the paging of the secondary card is periodic paging, and the paging cycle is generally about 5s. If the paging occupies one time slot, in the paging cycle of 5s, the paging occupies one. The resources of the time slot.
在第一种可能的情况中,可将分集天线的所有空闲资源全部分配给邻区同步任 务,分配给邻区同步任务的资源可如图5a所示,分配给邻区同步任务的资源为分集天线的资源中除去副卡寻呼占用的资源之后的资源。In the first possible scenario, all the idle resources of the diversity antenna may be allocated to the neighboring synchronization task, and the resources allocated to the neighboring synchronization task may be as shown in FIG. 5a, and the resources allocated to the neighboring synchronization task are the diversity. The resources of the antenna are removed from the resources occupied by the secondary card paging.
本申请中,邻区周期性地下发同步信号,邻区下发的同步信号所占用的资源是固定的,其中,邻区的系统属性不同,邻区下发同步信号的周期不同,邻区下发的同步信号所占用的资源的时间长度也不同。例如,在GSM系统中,小区以51复帧为周期分别在第0帧、10帧、30帧、40帧的位置下发同步信号,同步信号占用的资源为1个时隙的资源,GSM系统中,一帧的长度为4.615ms,一帧有8个时隙,则同步信号占用的资源的时间长度为4.615ms/8=57.7μs;在TD-SCDMA系统中,小区在每个子帧下发一次同步信号,同步信号占用的资源为下行导频时隙(75μs)的资源,TD-SCDMA系统中子帧长度为5ms,则TD-SCDMA的小区下发同步信号的周期为5ms;在LTE系统中,邻区每5ms下发一次同步信号,同步信号占用的资源为一个正交频分复用(Orthogonal Frequency Division Multiplexing,OFDM)符号(约为71μs)的资源。In the present application, the neighboring area periodically sends a synchronization signal, and the resources occupied by the synchronization signal sent by the neighboring area are fixed. The system attributes of the neighboring area are different, and the period of the synchronization signal sent by the neighboring area is different, and the neighboring area is different. The length of time that the generated sync signal occupies resources is also different. For example, in the GSM system, the cell transmits a synchronization signal at positions of 0th frame, 10 frames, 30 frames, and 40 frames in a period of 51 multiframes, and the resource occupied by the synchronization signal is a resource of one slot, the GSM system. In the TD-SCDMA system, the cell is sent in each subframe. The length of one frame is 4.615 ms, and the time of the resource occupied by the synchronization signal is 4.615 ms/8=57.7 μs. One synchronization signal, the resource occupied by the synchronization signal is the downlink pilot time slot (75 μs) resource, and the subframe length in the TD-SCDMA system is 5 ms, and the period of the synchronization signal sent by the TD-SCDMA cell is 5 ms; in the LTE system The synchronization signal is sent every 5 ms in the neighboring cell, and the resource occupied by the synchronization signal is a resource of Orthogonal Frequency Division Multiplexing (OFDM) symbol (about 71 μs).
由前述内容可知,邻区同步任务的任务属性不同,执行邻区同步任务所需要的资源不同;由前述内容可知,当邻区下发邻区同步信号的时间正好与终端设备为邻区同步任务分配的时间资源重合或者在终端设备为邻区同步任务分配的时间资源中时,终端设备可以获取到邻区下发的同步信号,而邻区周期性地下发同步信号,邻区的系统属性不同,邻区下发同步信号的周期不同,邻区下发的同步信号所占用的资源的时间长度也不同,所以要获取到邻区同步信号所需要的资源也不同,故邻区的系统属性不同,执行邻区同步任务所需要的资源不同。在第二种可能的情况中,可根据邻区同步任务对应的邻区系统属性以及邻区同步任务的任务属性为邻区同步任务分配分集天线的空闲资源。在此种实施方式中,分配给邻区同步任务的空闲资源的时间长度大于或等于执行该邻区同步任务所需的资源的时间长度。It can be seen from the foregoing that the task attributes of the neighboring area synchronization task are different, and the resources required for performing the neighboring area synchronization task are different. It can be known from the foregoing that when the neighboring area sends the neighboring area synchronization signal, the time is exactly the same as that of the terminal equipment. When the allocated time resources are coincident or the time resources allocated by the terminal equipment for the neighboring area synchronization task, the terminal equipment can acquire the synchronization signal sent by the neighboring area, and the neighboring area periodically sends the synchronization signal, and the system attributes of the neighboring area are different. The period of the synchronization signal sent by the neighboring area is different, and the time length of the resources occupied by the synchronization signal sent by the neighboring area is also different. Therefore, the resources required to acquire the synchronization signal of the neighboring area are also different, so the system attributes of the neighboring area are different. The resources required to perform the neighbor synchronization task are different. In the second possible case, the idle resources of the diversity antenna may be allocated to the neighboring synchronization task according to the neighboring system attribute corresponding to the neighboring area synchronization task and the task attribute of the neighboring area synchronization task. In such an embodiment, the length of the idle resource allocated to the neighboring synchronization task is greater than or equal to the length of time required to perform the neighboring synchronization task.
在邻区同步任务为周期邻区同步任务的情况下,由于终端设备在之前已经与邻区取得过至少一次同步,可根据该邻区的系统属性确定该邻区下发同步信号的周期,根据邻区下发的同步信号占用的资源以及该邻区的周期确定分配给邻区同步任务的资源。分配给周期邻区同步任务的资源可如图5b所示,图5b中,终端设备首次获取到邻区下发的同步信号所占用的资源为资源A,资源A的时间长度等于获取完整的邻区同步信号所需的资源的时间长度,邻区下发同步信号的周期为B1,资源C为分配给周期邻区同步任务的资源,其中,资源C与资源C之间的时间间隔为B1,资源C与资源A之间的时间间隔为nB1(n大于等于1),资源C的时间长度大于或等于资源A的时间长度。In the case that the neighboring area synchronization task is a periodic neighboring area synchronization task, since the terminal device has previously obtained at least one synchronization with the neighboring area, the period of the synchronization signal sent by the neighboring area may be determined according to the system attribute of the neighboring area, according to The resources occupied by the synchronization signal sent by the neighboring area and the period of the neighboring area determine the resources allocated to the neighboring area synchronization task. The resource allocated to the periodic neighbor synchronization task can be as shown in FIG. 5b. In FIG. 5b, the resource occupied by the terminal device for the first time to obtain the synchronization signal sent by the neighboring cell is resource A, and the length of the resource A is equal to the complete neighbor. The time length of the resource required for the area synchronization signal, the period of the synchronization signal sent by the neighboring area is B1, and the resource C is the resource allocated to the periodic neighboring area synchronization task, wherein the time interval between the resource C and the resource C is B1. The time interval between the resource C and the resource A is nB1 (n is greater than or equal to 1), and the length of the resource C is greater than or equal to the length of time of the resource A.
在邻区同步任务为初始邻区同步任务的情况下,终端设备还未与邻区同步过,终端设备根据该邻区的系统属性确定该邻区下发同步信号的周期,可根据该邻区下发同步信号的周期确定分配给邻区同步任务的资源。分配给邻区同步任务的资源可如图5c所示,邻区下发同步信号的周期为B2,资源D为目标资源,其中,资源D的起始时刻为获取到邻区同步任务的时刻,资源D的时间长度大于或等于B2的时间长度。In the case that the neighboring area synchronization task is the initial neighboring area synchronization task, the terminal device has not synchronized with the neighboring area, and the terminal device determines the period of the synchronization signal sent by the neighboring area according to the system attribute of the neighboring area, according to the neighboring area. The period in which the synchronization signal is issued determines the resources allocated to the neighboring synchronization task. The resource allocated to the neighboring area synchronization task may be as shown in FIG. 5c, the period in which the synchronization signal is sent by the neighboring area is B2, and the resource D is the target resource, where the starting time of the resource D is the time at which the neighboring area synchronization task is acquired. The length of time of resource D is greater than or equal to the length of time of B2.
(二)终端设备在服务小区中处于双天线接收模式(2) The terminal equipment is in the dual antenna receiving mode in the serving cell.
在双天线接收模式下,分集天线在主集天线接收数据时接收数据,分集天线的资源在接收数据和副卡寻呼的时候被占用,即在双天线接收模式下,分集天线的空闲资源为分集天线的资源中除去接收服务小区数据和副卡寻呼所占用的资源外的剩余资源,分配给邻区同步任务的资源可如5d所示,分配给邻区同步任务的资源为分集天线的资源中除去副卡寻呼占用的资源和接收服务小区数据占用的资源之后的资源。In the dual antenna receiving mode, the diversity antenna receives data when the primary antenna receives data, and the resources of the diversity antenna are occupied when receiving data and secondary card paging, that is, in the dual antenna receiving mode, the idle resources of the diversity antenna are The resources of the diversity antenna are excluded from the resources occupied by the received serving cell data and the secondary card paging, and the resources allocated to the neighboring synchronization task may be as shown in FIG. 5d, and the resources allocated to the neighboring synchronization task are the diversity antenna. The resource is excluded from the resource occupied by the secondary card paging and the resource after receiving the resource occupied by the serving cell data.
在此种接收模式下,分集天线的空闲资源可分配给周期邻区同步任务,其具体分配的情况可参考上述单天线接收模式的介绍,此处不再赘述。In this type of receiving mode, the idle resources of the diversity antenna can be allocated to the periodic neighboring area synchronization task. For the specific allocation, refer to the introduction of the single antenna receiving mode, and details are not described herein.
在此种接收模式下,也可根据图3所示的资源分配方案将资源分配给周期邻区同步任务。In this reception mode, resources can also be allocated to the periodic neighbor synchronization task according to the resource allocation scheme shown in FIG.
在一种可能的场景下,终端设备在通信过程中可能以单天线接收模式和双天线接收模式交替进行,在交替进行过程中,可将单天线接收模式下的分集天线的空闲资源优先分配给初始邻区同步任务,将双天线接收模式下的分集天线的空闲资源分配给周期邻区同步任务。,相较于周期邻区同步任务来说,初始邻区同步任务需要的时间比较长,而单天线接收模式下的分集天线的空闲资源多于双天线接收模式下的分集天线的空闲资源,在空闲资源多的时候执行时间较长的任务,在空闲资源少的时候执行时间较短的任务,可以做到对资源的合理利用。In a possible scenario, the terminal device may alternate between the single antenna receiving mode and the dual antenna receiving mode during the communication process. During the alternate process, the idle resources of the diversity antenna in the single antenna receiving mode may be preferentially allocated to The initial neighboring area synchronization task allocates idle resources of the diversity antenna in the dual antenna receiving mode to the periodic neighboring area synchronization task. Compared with the periodic neighbor synchronization task, the initial neighbor synchronization task takes a long time, while the diversity antenna of the diversity antenna in the single antenna reception mode has more idle resources than the diversity antenna in the dual antenna reception mode. When the idle resource is large, the task with a long time is executed, and when the idle resource is small, the task with a short time is executed, and the resource can be rationally utilized.
上述介绍了本申请的资源分配方案的一些可能的情况,接下来对本申请实施例的方法进行介绍。The foregoing describes some possible scenarios of the resource allocation scheme of the present application. Next, the method of the embodiment of the present application is introduced.
参见图6,图6是本申请实施例提供的一种资源调度方法的流程示意图,所述方法可以实现具备分集接收功能的终端设备上,所述方法包括:Referring to FIG. 6 , FIG. 6 is a schematic flowchart of a resource scheduling method according to an embodiment of the present disclosure. The method may be implemented on a terminal device that has a diversity receiving function, where the method includes:
步骤S101,终端设备获取待处理的调度任务,其中,终端设备处于业务态。Step S101: The terminal device acquires a scheduling task to be processed, where the terminal device is in a service state.
其中,处于业务态的终端设备已在前述内容中介绍,此处不再赘述。The terminal device in the service state has been introduced in the foregoing content, and details are not described herein again.
本申请实施例中,待处理的调度任务包括但不限于邻区同步任务、邻区信号测量任务、频点测量任务、数据发送任务、数据接收任务。In the embodiment of the present application, the scheduled scheduling tasks include, but are not limited to, a neighboring area synchronization task, a neighboring area signal measurement task, a frequency point measurement task, a data transmission task, and a data receiving task.
在一种实现方式中,终端设备可以通过帧中断处理程序获取待处理的调度任务,这里帧中断处理程序是指能根据调度任务的优先级对调度任务进行处理或者分配的程序,帧中断处理程序优先处理或分配将优先级高的任务。In an implementation manner, the terminal device may acquire a scheduled scheduling task to be processed by using a frame interrupt processing program, where the frame interrupt processing program refers to a program that can process or allocate the scheduling task according to the priority of the scheduled task, and the frame interrupt processing program Prioritize or assign tasks with higher priority.
步骤S102,在所述调度任务为邻区同步任务的情况下,所述终端设备使用分集天线的空闲资源执行所述邻区同步任务。Step S102: If the scheduling task is a neighboring area synchronization task, the terminal device performs the neighboring area synchronization task by using an idle resource of the diversity antenna.
在待处理的调度任务不为邻区同步任务的情况下,终端设备将主集天线的资源分配给该待处理的调度任务。If the scheduled scheduling task is not the neighboring synchronization task, the terminal device allocates resources of the primary antenna to the scheduled scheduling task.
这里,调度任务为邻区同步任务的情况有两种情况:1)当前到达周期邻区同步任务的验证周期,需要对邻区进行重新同步,即当前的调度任务为周期邻区同步任务;2)当前检测到有新的邻区出现,需要盲检该邻区下发的同步信号,即当前的调度任务为初始邻区同步任务。Here, there are two cases in which the scheduling task is a neighboring area synchronization task: 1) the verification period of the neighboring area synchronization task of the current arrival period needs to be resynchronized to the neighboring area, that is, the current scheduling task is a periodic neighboring area synchronization task; It is detected that a new neighboring cell is present, and the synchronization signal sent by the neighboring zone needs to be blindly detected, that is, the current scheduling task is the initial neighboring zone synchronization task.
本申请实施例中,在第一种可能的实施方式中,新的邻区可以定义为在当前的邻区信号测量过程中新成为N强邻区的邻区,即在上一次邻区信号测量过程中信号强度不在前N位,而在当前的邻区信号测量过程中信号强度变为前N位的小区,其中,N为大于等于1的正整数,N由终端设备接入的服务小区的系统属性决定,例如,在服务小区为GSM系统的情况下,N等于6;在第二种可能的实施方式中,新的邻区可以定义为在之前的邻区信号测量过程中信号强度小于邻区同步门限,而在当前的邻区信号测量过程中信号强度大于邻区同步门限的小区;在可选实施方式中,还可以结合上述两种情况对新的邻区进行定义,例如,将新的邻区定义为新成为N强邻区且信号强度大于邻区同步门限的小区。In the first embodiment of the present application, the new neighboring cell may be defined as a neighboring zone that becomes a new N strong neighboring cell in the current neighboring cell signal measurement process, that is, the last neighboring cell signal measurement. In the process, the signal strength is not in the first N bits, and in the current neighboring cell signal measurement process, the signal strength becomes the first N bits of the cell, where N is a positive integer greater than or equal to 1, and N is the serving cell accessed by the terminal device. The system attribute determines, for example, that in the case where the serving cell is a GSM system, N is equal to 6; in the second possible implementation, the new neighboring cell may be defined as a signal strength less than neighboring in the previous neighboring cell signal measurement process. a cell synchronization threshold, and a cell whose signal strength is greater than a neighboring cell synchronization threshold in the current neighbor cell signal measurement process; in an optional implementation manner, the new neighbor cell may also be defined in combination with the above two cases, for example, a new The neighboring cell is defined as a cell that becomes a N strong neighboring cell and whose signal strength is greater than the neighboring cell synchronization threshold.
下面举例对新的邻区进行说明,以终端设备当前所在的服务邻区为GSM系统为例,当前的服务小区附近有32个邻区,编号分别为1~32,在上一次邻区信号测量过程中,信号强度排在前6位的邻区包括编号为1,3,10,15,20,28的邻区,信号强度大于邻区同步门限的邻区包括编号为3,10,15,28的邻区;在本次邻区信号测量过程中,信号强度排在前6位的邻区包括编号为1,3,13,15,21,28的邻区,信号强度大于邻区同步门限的邻区包括编号为1,3,13,28的邻区。如果根据上述第一种可能的实施方式确定新的邻区,则新的邻区为编号为13的邻区和编号为21的邻区;如果根据上述第二种可能的实施方式确定新的邻区,则新的邻区为编号为1的邻区和编号为13的邻区。The following is an example of a new neighboring cell. The 802 system is located in the vicinity of the service neighboring cell. The current serving cell has 32 neighboring cells, numbered from 1 to 32. The signal is measured in the previous neighboring cell. In the process, the neighboring areas with the signal strength ranked in the first 6 positions include the neighboring areas numbered 1, 3, 10, 15, 20, 28, and the neighboring areas whose signal strength is greater than the synchronous threshold of the neighboring area include
本申请中,分集天线的空闲资源被终端设备用于执行邻区同步任务,即终端设备将分集天线的空闲资源分配给邻区同步任务。In the present application, the idle resource of the diversity antenna is used by the terminal device to perform the neighboring area synchronization task, that is, the terminal device allocates the idle resource of the diversity antenna to the neighboring area synchronization task.
在一些可能的实施方式中,终端设备可将分集天线的所有的空闲资源分配给邻区同步任务,具体可以如图5a或图5d所示,其中,在终端设备在服务小区中的接收模式为单天线接收模式(即只用主集天线接收服务小区发送的数据)的情况下,终端设备分配给邻区同步任务的资源如图5a所示,终端设备分配给邻区同步任务的资源为分集天线的资源中除去副卡寻呼占用的资源之后的资源;在终端设备在服务小区中的接收模式为双天线接收模式(即在接收服务小区发送的数据时,采用主集天线和分集天线同时接收)的情况下,终端设备分配给邻区同步任务的资源如图5d所示,终端设备分配给邻区同步任务的资源为分集天线的资源中除去副卡寻呼占用的资源和接收服务小区数据占用的资源之后的资源。In some possible implementation manners, the terminal device may allocate all idle resources of the diversity antenna to the neighboring area synchronization task, as shown in FIG. 5a or FIG. 5d, where the receiving mode of the terminal device in the serving cell is In the case of the single-antenna receiving mode (that is, only the data transmitted by the serving cell is received by the primary antenna), the resources allocated by the terminal device to the neighboring synchronization task are as shown in FIG. 5a, and the resources allocated by the terminal device to the neighboring synchronization task are diversity. The resource of the antenna is removed from the resource occupied by the secondary card paging; the receiving mode in the serving cell of the terminal device is a dual antenna receiving mode (ie, when receiving data transmitted by the serving cell, the primary set antenna and the diversity antenna are simultaneously used. In the case of receiving, the resource allocated by the terminal device to the neighboring area synchronization task is as shown in FIG. 5d, and the resource allocated by the terminal device to the neighboring area synchronization task is the resource of the diversity antenna, and the resource occupied by the secondary card paging and the receiving serving cell are removed. The resource after the resource is occupied by the resource.
本申请中,服务小区的系统属性已在前述内容中介绍,其中,服务小区的系统属性以及终端设备在服务小区所进行的业务不同,副卡寻呼所占用的资源和接收数据所占用的资源则不同。例如,服务小区为GSM系统且终端设备正在进行通话业务,则副卡寻呼占用的资源为1个时隙(即0.577ms),接收数据所占用的资源为1个时隙。在具体实现中,可根据服务小区的系统属性以及终端设备所进行的业务确定副卡寻呼所占用的资源和接收数据所占用的资源以及该资源的时间长度,然后按图5a或图5b所示将分集天线的所有的空闲资源分配给邻区同步任务,终端设备使用图5a所示或图5b所示的分配给邻区同步任务的资源执行邻区同步任务。In the present application, the system attribute of the serving cell has been introduced in the foregoing, wherein the system attribute of the serving cell and the service performed by the terminal device in the serving cell are different, the resources occupied by the secondary card paging and the resources occupied by the received data. It is different. For example, if the serving cell is a GSM system and the terminal device is performing a call service, the resource occupied by the secondary card paging is 1 time slot (ie, 0.577 ms), and the resource occupied by the received data is 1 time slot. In a specific implementation, the resource occupied by the secondary card paging and the resource occupied by the received data and the length of the resource may be determined according to the system attribute of the serving cell and the service performed by the terminal device, and then according to FIG. 5a or FIG. 5b. All idle resources of the diversity antenna are allocated to the neighboring area synchronization task, and the terminal equipment performs the neighboring area synchronization task using the resources allocated to the neighboring area synchronization task shown in FIG. 5a or shown in FIG. 5b.
在另一些可能的实施方式中,可将分集天线的空闲资源中的部分资源分配给邻 区同步任务。In other possible implementations, some of the idle resources of the diversity antenna may be allocated to the neighbor synchronization task.
由前述内容可知,邻区的系统属性不同,则执行邻区同步任务所需要的资源不同,而邻区同步任务的属性不同,则执行初始邻区同步任务和周期邻区同步任务所需要的资源也不同。终端设备可以确定邻区同步任务对应的邻区的系统属性以及邻区同步任务的任务属性;根据系统属性和任务属性确定在分集天线的空闲资源中确定目标资源;将目标资源分配给邻区同步任务。It can be seen from the foregoing that if the system attributes of the neighboring cells are different, the resources required for performing the neighboring area synchronization task are different, and the attributes of the neighboring area synchronization tasks are different, and the resources required for the initial neighboring area synchronization task and the periodic neighboring area synchronization task are performed. It is also different. The terminal device may determine a system attribute of a neighboring cell corresponding to the neighboring area synchronization task and a task attribute of the neighboring area synchronization task; determine, according to the system attribute and the task attribute, the target resource in the idle resource of the diversity antenna; and allocate the target resource to the neighboring area to synchronize task.
终端设备根据邻区的系统属性和邻区同步任务的任务属性分配给邻区同步任务的目标资源具体可如图5b和图5c所示。在邻区同步任务为周期邻区同步任务的情况下,终端设备根据邻区的系统属性确定邻区下发的同步信号占用的资源;终端设备将分集天线的空闲资源中的第二资源确定为目标资源,第二资源的时间长度需大于或等于所述同步信号占用的资源的时间长度,分配给邻区同步任务的目标资源如图5b所示,其中,资源C为目标资源,资源A为邻区下发的同步信号占用的资源,资源C的时间长度大于或等于资源A的时间长度,资源C与资源A之间的时间间隔等于nB1(n大于或等于1),B1为邻区下发同步信号的周期;在邻区同步任务为初始邻区同步任务的情况下,终端设备根据邻区的系统属性确定邻区下发同步信号的周期;终端设备将分集天线的空闲资源中的第一资源确定为目标资源,第一资源的时间长度需大于或等于邻区下发同步信号的周期的时间长度,分配给邻区同步任务的目标资源如图5c所示,其中,资源D为目标资源,B2为邻区下发同步信号的周期,资源D大于或等于B2的时间长度。图5b和图5c中的资源C与资源D的时间长度由邻区的系统属性决定。例如,在邻区为GSM系统的情况下,资源A的时间长度0.577ms,则资源C的时间长度大于或等于0.577ms,邻区下发同步信号的周期的时间长度为10帧(46.15ms,这里指51复帧中的1帧~10帧/11帧~20帧/21帧~30帧/31帧~40帧的长度)或者11帧(50.765ms,这里指上一个51复帧中的41帧至当前的51复帧中的0帧的长度),则资源D的时间长度大于或等于11帧。The target resource allocated by the terminal device to the neighboring area synchronization task according to the system attribute of the neighboring area and the task attribute of the neighboring area synchronization task may be specifically as shown in FIG. 5b and FIG. 5c. In the case that the neighboring cell synchronization task is a periodic neighboring cell synchronization task, the terminal device determines the resource occupied by the synchronization signal sent by the neighboring cell according to the system attribute of the neighboring cell; the terminal device determines the second resource in the idle resource of the diversity antenna as The target resource, the length of the second resource needs to be greater than or equal to the length of the resource occupied by the synchronization signal, and the target resource allocated to the neighboring synchronization task is as shown in FIG. 5b, where the resource C is the target resource, and the resource A is The time occupied by the synchronization signal sent by the neighboring cell, the length of the resource C is greater than or equal to the length of the resource A. The time interval between the resource C and the resource A is equal to nB1 (n is greater than or equal to 1), and B1 is the neighboring area. The period of the synchronization signal is sent; in the case that the neighboring area synchronization task is the initial neighboring area synchronization task, the terminal device determines the period of the synchronization signal sent by the neighboring area according to the system attribute of the neighboring area; the terminal device will be the first of the idle resources of the diversity antenna. A resource is determined as a target resource, and the length of the first resource needs to be greater than or equal to the length of the period in which the synchronization signal is sent by the neighboring cell, and is allocated to the neighboring area for synchronization. Service target resource as shown in FIG 5C, wherein D is a resource target resource, B2 to send a synchronization signal in the neighboring period, resources of time equal to the length D is greater than or B2. The length of time of resource C and resource D in Figures 5b and 5c is determined by the system properties of the neighboring cell. For example, in the case that the neighboring area is the GSM system, the length of the resource A is 0.577 ms, the length of the resource C is greater than or equal to 0.577 ms, and the period of the period in which the synchronization signal is sent by the neighboring area is 10 frames (46.15 ms, This refers to the length of 1 frame to 10 frames/11 frames to 20 frames/21 frames to 30 frames/31 frames to 40 frames in 51 multiframes) or 11 frames (50.765 ms, here refers to 41 in the previous 51 multiframes) The length of the resource D is greater than or equal to 11 frames from the frame to the length of the 0 frame in the current 51 multiframe.
在本申请中,将分集天线的空闲资源中的目标资源分配给邻区同步任务后,终端设备可在目标资源执行邻区同步任务,从而实现与邻区的同步。在邻区同步任务为初始邻区同步任务的情况下,实施本申请的方法后终端设备执行邻区同步任务所需的时间如图7所示。仍以邻区同步任务对应的邻区为GSM系统为例,服务小区为GSM系统,假设邻区在终端设备上一次执行邻区同步任务的资源下发过一次同步信号,终端设备在上一次邻区同步任务的资源中正在与别的邻区进行同步,服务小区为GSM系统的情况下,寻呼占用1个时隙的资源。从图7可知,采用本申请图5a和图5c的方案,终端设备在确定调度任务为邻区同步任务的情况下即可立即执行邻区同步任务,经过46.15ms的时间即可获取到邻区的同步信号,从而能够更快地与邻区同步,保证终端设备在高速运动场景中业务不中断。在邻区同步任务为周期邻区同步任务的情况下,分集天线的空闲资源多于主集天线的空闲资源,实施本申请的方法可将更多的资源分配给周期邻区同步任务。In this application, after the target resource in the idle resource of the diversity antenna is allocated to the neighboring area synchronization task, the terminal device may perform the neighboring area synchronization task on the target resource, thereby implementing synchronization with the neighboring area. In the case that the neighboring area synchronization task is the initial neighboring area synchronization task, the time required for the terminal device to perform the neighboring area synchronization task after implementing the method of the present application is as shown in FIG. 7. The neighboring area corresponding to the neighboring area synchronization task is taken as the GSM system, and the serving cell is the GSM system. It is assumed that the neighboring area sends a synchronization signal to the resources of the neighboring area synchronization task once on the terminal equipment, and the terminal equipment is in the last neighbor. The resources of the area synchronization task are being synchronized with other neighboring cells. When the serving cell is the GSM system, the paging occupies resources of one time slot. As can be seen from FIG. 7, with the scheme of FIG. 5a and FIG. 5c of the present application, the terminal device can immediately perform the neighboring area synchronization task when the scheduling task is determined to be the neighboring area synchronization task, and the neighboring area can be acquired after 46.15 ms. The synchronization signal can be synchronized with the neighboring area more quickly, ensuring that the terminal equipment is not interrupted in the high-speed motion scene. In the case that the neighboring area synchronization task is a periodic neighboring area synchronization task, the idle antenna has more idle resources than the idle current resources of the primary set antenna, and the method of the present application can allocate more resources to the periodic neighboring area synchronization task.
在一些实施例中,终端设备在使用分集天线的空闲资源执行邻区同步任务之前,还可以确定终端设备的分集天线的信号接收状态,在终端设备的分集天线处于第一状态的情况下,终端设备使用分集天线的空闲资源执行邻区同步任务。In some embodiments, the terminal device may further determine a signal receiving state of the diversity antenna of the terminal device before performing the neighboring cell synchronization task using the idle resource of the diversity antenna, where the diversity antenna of the terminal device is in the first state, the terminal The device performs the neighbor synchronization task using the idle resources of the diversity antenna.
这里,分集天线的信号接收状态用于指示分集天线能否正常工作,在分集天线的信号接收状态为第一状态的情况下,指示分集天线能正常工作。Here, the signal receiving state of the diversity antenna is used to indicate whether the diversity antenna can work normally, and in the case that the signal receiving state of the diversity antenna is the first state, the indicating diversity antenna can work normally.
在一种可能的实施方式中,在分集天线能正常工作的情况下,对分集天线能接收的信号的能量有一定的要求,可通过确定分集天线接收到的信号能量是否满足设定的要求来确定分集天线的信号接收状态,终端设备可获取分集天线从目标小区接收到的信号的第一信号强度,然后将第一信号强度与信号强度门限比较,在第一信号强度大于信号强度门限的情况下,确定分集天线的信号接收状态为第一状态。具体实现中,终端设备可保存最后一次小区信号检测过程中通过分集天线检测到的各个小区的信号强度,然后从保存的各个小区的信号强度中获取通过分集天线检测到的目标小区的第一信号强度。In a possible implementation manner, when the diversity antenna can work normally, there is a certain requirement on the energy of the signal that the diversity antenna can receive, and it can be determined whether the signal energy received by the diversity antenna satisfies the set requirement. Determining a signal receiving state of the diversity antenna, the terminal device may obtain a first signal strength of the signal received by the diversity antenna from the target cell, and then compare the first signal strength with a signal strength threshold, where the first signal strength is greater than the signal strength threshold Next, it is determined that the signal receiving state of the diversity antenna is the first state. In a specific implementation, the terminal device may save the signal strength of each cell detected by the diversity antenna in the last cell signal detection process, and then obtain the first signal of the target cell detected by the diversity antenna from the saved signal strength of each cell. strength.
在另一种可能的实施方式中,在分集天线能正常工作的情况下,要求分集天线与主集天线从同一小区的接收到的信号的能量差异较小,可通过确定分集天线与主集天线接收的信号的能量差异来确定分集天线的信号接收状态,终端设备可获取分集天线从目标小区接收到的信号的第一信号强度,获取主集天线从目标小区接收到的第二信号强度,在第二信号强度与第一信号强度的差值小于信号强度差值门限的情况下,确定分集天线的信号接收状态为第一状态。具体实现中,终端设备可保存最后一次小区信号检测过程中通过分集天线和主集天线检测到的各个小区的信号强度,然后从保存的各个小区的信号强度中分别获取通过分集天线检测到的目标小区的第一信号强度和通过主集天线检测到的目标小区的第二信号强度。In another possible implementation manner, in the case that the diversity antenna can work normally, the energy difference between the received signal of the diversity antenna and the main set antenna from the same cell is required to be small, and the diversity antenna and the main set antenna can be determined. The energy difference of the received signal is used to determine a signal receiving state of the diversity antenna, and the terminal device may obtain a first signal strength of the signal received by the diversity antenna from the target cell, and obtain a second signal strength received by the primary antenna from the target cell, where When the difference between the second signal strength and the first signal strength is less than the signal strength difference threshold, it is determined that the signal receiving state of the diversity antenna is the first state. In a specific implementation, the terminal device may save the signal strength of each cell detected by the diversity antenna and the main set antenna in the last cell signal detection process, and then obtain the target detected by the diversity antenna from the saved signal strengths of the respective cells. The first signal strength of the cell and the second signal strength of the target cell detected by the primary set antenna.
本申请实施例中,目标小区为所述终端设备在小区信号检测过程中检测到的任意一个小区,目标小区可以为终端设备在小区信号检测过程中检测到的信号强度最强的小区,目标小区也可以为当前的服务小区,也可以为其他预先设定的小区,例如为信号强度处于第二位的小区,本申请不做限制。In the embodiment of the present application, the target cell is any one of the cells detected by the terminal device in the cell signal detection process, and the target cell may be the cell with the strongest signal strength detected by the terminal device in the cell signal detection process, and the target cell. It may be a current serving cell, or may be another preset cell, for example, a cell with a signal strength in the second place, which is not limited in this application.
通过判断分集天线的状态,可确保分集天线能正常使用,使本申请的方案能够正常执行。By judging the state of the diversity antenna, it is ensured that the diversity antenna can be used normally, so that the solution of the present application can be performed normally.
在一些实施例中,可根据终端具体所处的场景或环境确定是否采用本申请的方案给邻区同步任务分配资源。In some embodiments, whether to allocate resources to the neighboring synchronization task may be determined according to the scenario or environment in which the terminal is specifically located.
在一种可能的场景中,当服务小区的信号好而邻区的信号差时,终端设备采用单天线接收模式,为保证能随时接入邻区,需要对邻区进行频繁地监测,即在终端设备在当前的服务小区中的接收模式为单天线接收模式的情况下,采用本申请的方案,终端设备将分集天线的空闲资源中的目标资源分配给邻区同步任务;当服务小区的信号变差而邻区的信号变好时,终端设备当前还在服务小区中进行业务,终端设备采用双天线接收模式,由于邻区信号提升,终端设备能更快地检测到邻区,可减小邻区同步的频度,此时可采用本申请的方案中双天线接收模式下的方案,也可 采用图3所示的资源分配方案。根据终端设备在服务小区中的接收模式去调整邻区同步任务的分配方案,能使终端设备更适应于场景的变化,提高终端设备的同步性能。In a possible scenario, when the signal of the serving cell is good and the signal of the neighboring cell is poor, the terminal device adopts a single antenna receiving mode. To ensure that the neighboring area can be accessed at any time, the neighboring area needs to be frequently monitored, that is, In the case that the receiving mode of the terminal device in the current serving cell is the single antenna receiving mode, the terminal device allocates the target resource in the idle resource of the diversity antenna to the neighboring cell synchronization task according to the solution of the present application; When the signal of the neighboring area becomes better, the terminal device currently performs service in the serving cell, and the terminal device adopts the dual antenna receiving mode. Because the neighboring area signal is improved, the terminal device can detect the neighboring area more quickly, which can be reduced. For the frequency of the neighboring cell synchronization, the solution in the dual antenna receiving mode in the solution of the present application may be used, and the resource allocation scheme shown in FIG. 3 may also be used. The adjustment scheme of the neighboring area synchronization task is adjusted according to the receiving mode of the terminal device in the serving cell, so that the terminal device is more adapted to the change of the scenario and improves the synchronization performance of the terminal device.
在另一种可能的场景中,可根据终端设备的状态给邻区同步任务分配资源,在终端设备处于位置转移状态的情况下,采用本申请的方案给邻区同步任务分配资源,在终端设备未处于位置转移状态的情况下,可采用图3所示的资源分配方案。因为当终端设备处于位置转移状态时,说明终端设备当前可能处于运动场景中,此时采用本申请的方案给邻区同步任务分配资源可保证终端设备能快速与邻区同步;当终端设备未处于位置转移状态时,图3所示的资源分配方案可满足终端设备的同步需求,由于在图3所示的资源分配方案中,分配给邻区同步任务的时间较少,即减少了终端设备执行邻区同步任务的时间,减小了邻区同步的频度,达到省电的效果。In another possible scenario, the neighboring area synchronization task may be allocated resources according to the state of the terminal device, and in the case that the terminal device is in the location transition state, the solution of the present application is used to allocate resources to the neighboring area synchronization task, in the terminal device. In the case where the location transition state is not in place, the resource allocation scheme shown in FIG. 3 can be employed. When the terminal device is in the location transition state, it indicates that the terminal device may be in the motion scenario at present. In this case, the solution of the neighboring zone synchronization task is allocated by using the solution of the present application to ensure that the terminal device can quickly synchronize with the neighboring cell; In the location transfer state, the resource allocation scheme shown in FIG. 3 can meet the synchronization requirement of the terminal device. Since the resource allocation scheme shown in FIG. 3 has less time allocated to the neighboring area synchronization task, that is, the terminal device is reduced in execution. The time of the neighboring area synchronization task reduces the frequency of neighboring area synchronization and achieves the effect of power saving.
在一种可能的实施方式中,可采用终端设备的运动速度来直接评估终端设备的状态,在运动速度大于运动速度阈值的情况下,确定终端设备处于位置转移状态;在另一种可能的实施方式中,可采用终端设备接收到的服务小区中的信号的信号强度减弱速率来间接评估终端设备的状态,在信号强度减弱速率大于减弱速率阈值的情况下,确定终端设备处于位置转移状态;在另一些可能的实施方式中,还可结合终端设备的运动速度、终端设备的加速度、服务小区的信号强度、服务小区的信号强度减弱速率等通过终端设备检测到的预示终端设备的运动情况的特征来综合评估终端设备的状态。In a possible implementation manner, the motion speed of the terminal device may be used to directly evaluate the state of the terminal device, and if the motion speed is greater than the motion speed threshold, determine that the terminal device is in the location transition state; in another possible implementation In the mode, the signal strength weakening rate of the signal in the serving cell received by the terminal device may be used to indirectly evaluate the state of the terminal device, and if the signal strength weakening rate is greater than the weakening rate threshold, determining that the terminal device is in the location transition state; In other possible implementation manners, the characteristics of the motion condition of the terminal device detected by the terminal device, such as the motion speed of the terminal device, the acceleration of the terminal device, the signal strength of the serving cell, and the signal strength attenuation rate of the serving cell, may also be combined. To comprehensively evaluate the status of the terminal equipment.
实施上述实施例后,能使终端更好地适应场景或环境的变化,满足终端的在不同的场景或环境中的同步需求。在满足终端设备的同步需求的情况下减少执行邻区同步任务的时间,可以减少终端设备的电量消耗,在保证终端设备的同步需求的前提下达到省电的效果。After the implementation of the foregoing embodiment, the terminal can be better adapted to the change of the scenario or the environment, and meet the synchronization requirements of the terminal in different scenarios or environments. When the synchronization requirement of the terminal device is met, the time for performing the neighboring area synchronization task is reduced, the power consumption of the terminal device can be reduced, and the power saving effect can be achieved under the premise of ensuring the synchronization requirement of the terminal device.
上述详细阐述了本申请实施例的方法,下面提供了本申请实施例的装置。The above describes the method of the embodiment of the present application in detail, and the apparatus of the embodiment of the present application is provided below.
本申请实施例提供的一种终端设备,该终端设备包括分集天线和主集天线,该终端设备20用于执行图6对应的方法步骤,所述终端设备还包括:A terminal device provided by the embodiment of the present application, the terminal device includes a diversity antenna and a main set antenna, and the
处理单元201,用于获取待处理的调度任务,该终端设备处于业务状态;The processing unit 201 is configured to acquire a scheduling task to be processed, where the terminal device is in a service state;
所述处理单元201还用于在所述调度任务为邻区同步任务的情况下,使用所述分集天线的空闲资源执行所述邻区同步任务。The processing unit 201 is further configured to perform the neighboring area synchronization task by using the idle resource of the diversity antenna if the scheduling task is a neighboring area synchronization task.
在一些可能的实施方式中,所述处理单元201还用于确定所述终端设备在当前的服务小区中的接收模式,所述处理单元201具体用于在所述接收模式为单天线接收模式的情况下,使用所述分集天线的空闲资源执行所述邻区同步任务。In some possible implementations, the processing unit 201 is further configured to determine a receiving mode of the terminal device in a current serving cell, where the processing unit 201 is specifically configured to be in a single antenna receiving mode in the receiving mode. In the case, the neighboring area synchronization task is performed using the idle resources of the diversity antenna.
在一些可能的实施方式中,所述处理单元201具体用于在所述终端设备处于位置转移状的情况下,使用所述分集天线的空闲资源执行所述邻区同步任务。In some possible implementation manners, the processing unit 201 is specifically configured to perform the neighboring area synchronization task by using an idle resource of the diversity antenna if the terminal device is in a location transfer manner.
在一些可能的实施方式中,所述处理单元201还用于确定所述终端设备的运动速度;在所述运动速度大于运动速度阈值的情况下,确定所述终端设备处于位置转移状态。In some possible implementations, the processing unit 201 is further configured to determine a motion speed of the terminal device; and in a case where the motion speed is greater than a motion speed threshold, determine that the terminal device is in a location transition state.
在一些可能的实施方式中,所述处理单元201还用于确定从当前的服务小区中接收到的信号的信号强度减弱速率;在所述信号强度减弱速率大于减弱速率阈值的情况下,确定终端设备处于位置转移状态。In some possible implementations, the processing unit 201 is further configured to determine a signal strength weakening rate of the signal received from the current serving cell; and determine the terminal if the signal strength weakening rate is greater than the weakening rate threshold The device is in a location transfer state.
在一些可能的实施方式中,所述分集天线的空闲资源为所述分集天线的资源中除去副卡寻呼占用资源的剩余资源。In some possible implementation manners, the idle resource of the diversity antenna is the remaining resources of the resources of the diversity antenna except for the secondary card paging occupied resources.
在一些可能的实施方式中,所述分集天线的空闲资源为所述分集天线的资源中除去副卡寻呼占用资源以及接收服务小区数据的占用资源的剩余资源。In some possible implementation manners, the idle resource of the diversity antenna is a remaining resource of the resource of the diversity antenna except for the secondary card paging occupied resource and the occupied resource that receives the serving cell data.
在一些可能的实施方式中,所述处理单元201具体用于确定所述邻区同步任务对应的邻区的系统属性以及所述邻区同步任务的任务属性;根据所述系统属性和所述任务属性在所述空闲资源中确定目标资源;使用所述目标资源执行所述邻区同步任务。In some possible implementations, the processing unit 201 is specifically configured to determine a system attribute of a neighboring area corresponding to the neighboring area synchronization task and a task attribute of the neighboring area synchronization task; according to the system attribute and the task An attribute determines a target resource in the idle resource; and the neighboring area synchronization task is performed using the target resource.
在一些可能的实施方式中,所述处理单元201具体用于:在所述任务属性为初始邻区同步任务的情况下,根据所述系统属性确定所述邻区下发同步信号的周期;将所述空闲资源中的第一资源确定为目标资源,所述第一资源的时间长度大于或等于所述周期的时间长度。In some possible implementations, the processing unit 201 is specifically configured to: determine, in the case that the task attribute is an initial neighbor synchronization task, determine, according to the system attribute, a period in which the synchronization signal is sent by the neighboring cell; The first resource in the idle resource is determined as a target resource, and the time length of the first resource is greater than or equal to a length of time of the cycle.
在一些可能的实施方式中,所述处理单元201具体用于:在所述任务属性为周期同步任务的情况下,根据所述系统属性确定所述邻区下发的同步信号占用的资源;将所述空闲资源中的第二资源确定为目标资源,所述第二资源的时间长度大于或等于所述同步信号占用的资源的时间长度。In some possible implementations, the processing unit 201 is specifically configured to: when the task attribute is a periodic synchronization task, determine, according to the system attribute, a resource occupied by the synchronization signal sent by the neighboring cell; The second resource in the idle resource is determined as a target resource, and the time length of the second resource is greater than or equal to a length of time of the resource occupied by the synchronization signal.
在一些可能的实施方式中,所述处理单元201具体用于获取所述分集天线从目标小区接收到的信号的第一信号强度,所述目标小区为所述终端设备在小区信号检测过程中检测到的小区;在所述第一信号强度大于信号强度门限的情况下,确定所述分集天线的信号接收状态为第一状态。In some possible implementations, the processing unit 201 is specifically configured to acquire a first signal strength of a signal received by the diversity antenna from a target cell, where the target cell is detected by the terminal device during a cell signal detection process. a cell to which it is determined; in a case where the first signal strength is greater than a signal strength threshold, determining that a signal receiving state of the diversity antenna is a first state.
在一些可能的实施方式中,所述处理单元201具体用于获取所述分集天线从目标小区接收到的信号的第一信号强度,所述目标小区为所述终端设备在小区信号检测过程中检测到的小区;获取所述终端设备的主集天线从目标小区接收到的信号的第二信号强度;在所述第二信号强度与所述第一信号强度的差值小于信号强度差值门限的情况下,确定所述分集天线的接收状态为第一状态。In some possible implementations, the processing unit 201 is specifically configured to acquire a first signal strength of a signal received by the diversity antenna from a target cell, where the target cell is detected by the terminal device during a cell signal detection process. a cell to which the primary set antenna of the terminal device receives a second signal strength of the signal received by the target cell; and a difference between the second signal strength and the first signal strength is less than a signal strength difference threshold In the case, it is determined that the receiving state of the diversity antenna is the first state.
需要说明的是,上述装置实施例中未提及的内容以及处理单元执行步骤的具体实现方式可参见方法实施例的描述,这里不再赘述。It should be noted that the content that is not mentioned in the foregoing device embodiment and the specific implementation manner of the processing unit are described in the description of the method embodiment, and details are not described herein again.
在一种可能的实现方式中,上述装置实施例所述的处理单元201所实现的相关功能可以结合基带芯片与射频模块来实现。参见图8,图8是本申请提供的终端设备的一种实现方式的结构框图。如图8所示,终端设备20可包括:基带芯片210、存储器220(一个或多个计算机可读存储介质)、射频(RF)模块230、外围系统240。这些部件可在一个或多个通信总线250上通信。In a possible implementation, the related functions implemented by the processing unit 201 described in the foregoing device embodiments may be implemented by combining a baseband chip and a radio frequency module. Referring to FIG. 8, FIG. 8 is a structural block diagram of an implementation manner of a terminal device provided by the present application. As shown in FIG. 8, the
基带芯片210可集成包括:一个或多个处理器211、主调制解调器212、辅调制解调器213、时钟模块214以及电源管理模块215。集成于基带芯片210中的时钟模块214主要用于为处理器211产生数据传输和时序控制所需要的时钟。在本申 请中,时钟模块214为处理器211产生的时钟与服务小区的时钟同步。集成于基带芯片210中的电源管理模块214主要用于为处理器211、主调制解调器212、辅调制解调器213、射频模块230以及外围系统240提供稳定的、高精确度的电压。The
在本申请中,处理器211可与主调制解调器212、辅调制解调器213结合实现本申请的资源调度方法,其中,资源调度方法的具体实现过程可参考图6所示的方法实施例中所描述的过程。In the present application, the processor 211 can be combined with the
射频(RF)模块230用于接收和发送射频信号,主要集成了终端设备20的接收器和发射器。射频(RF)模块230通过射频信号与通信网络和其他通信设备通信。具体实现中,射频(RF)模块230可包括但不限于:天线系统231(天线系统231至少包括主集天线2311和分集天线2312)、SIM卡232(包括主卡SIM1和副卡SIM2)、存储介质、RF收发器、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器和CODEC芯片等。在一些实施例中,可在单独的芯片上实现射频(RF)模块230。A radio frequency (RF)
在本申请中,射频模块230可用于在小区信号测量过程中接收当前的服务小区以及服务小区附近的邻区发出的信号并检测该信号的信号强度,在邻区同步任务执行过程中接收对应小区下发的同步信号。In the present application, the
存储器220与处理器211耦合,用于存储各种软件程序和/或多组指令。在本申请中,存储器中存储处理器211实现图6所示的实施例所用的计算机程序。具体实现中,存储器220可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器220可以存储操作系统(下述简称系统),例如ANDROID,IOS,WINDOWS,或者LINUX等嵌入式操作系统。存储器220还可以存储网络通信程序,该网络通信程序可用于与一个或多个附加设备,一个或多个终端设备,一个或多个网络设备进行通信。存储器220还可以存储用户接口程序,该用户接口程序可以通过图形化的操作界面将应用程序的内容形象逼真的显示出来,并通过菜单、对话框以及按键等输入控件接收用户对应用程序的控制操作。
在本申请中,存储器220还可以用于存储待处理的调度任务、处理器211为邻区同步任务分配的资源、通过射频模块230在小区信号测量过程中检测到的各个小区的信号强度、当前服务小区中的信号的信号强度减弱速率、终端设备20的运动速度,等等。其中,存储器115存储的待处理的调度任务和处理器为邻区同步任务分配的资源可参考前述描述。In the present application, the
外围系统240主要用于实现终端设备20和用户/外部环境之间的交互功能,主要包括终端设备20的输入输出装置。具体实现中,外围系统240可包括:触摸屏控制器241、摄像头控制器242、音频控制器243以及传感器管理模块244。其中,各个控制器可与各自对应的外围设备(如触摸屏245、摄像头246、音频电路247以及传感器248)耦合。需要说明的,外围系统240还可以包括其他I/O外设。The
本申请中,外围系统可以用于检测终端设备的运动速度和运动加速度,例如,可以通过位移传感器检测终端运动速度,通过加速度传感器检测终端设备的运动加 速度。In the present application, the peripheral system can be used to detect the motion speed and motion acceleration of the terminal device. For example, the motion speed of the terminal can be detected by the displacement sensor, and the motion acceleration of the terminal device can be detected by the acceleration sensor.
下面以图8为例详细说明终端设备20的各个部件在本申请中的协作关系。The cooperative relationship of the various components of the
1、处理器从存储器中获取待处理的调度任务。1. The processor acquires a scheduled task to be processed from the memory.
2、处理器判断该调度任务为何种任务。2. The processor determines which task the scheduled task is.
3、在该调度任务为邻区同步任务的情况下,处理器向辅调制解调器发送资源查询指令,用于查询分集天线是否处于空闲状态,辅调制解调器接收该资源查询指令。3. In the case that the scheduling task is a neighboring area synchronization task, the processor sends a resource query instruction to the secondary modem to query whether the diversity antenna is in an idle state, and the secondary modem receives the resource query instruction.
4、辅调制解调器确定分集天线处于空闲状态,向处理器发送资源响应,用于指示分集天线处于空闲状态,处理器接收该资源响应。4. The secondary modem determines that the diversity antenna is in an idle state, and sends a resource response to the processor, to indicate that the diversity antenna is in an idle state, and the processor receives the resource response.
5、处理器向辅调制解调器发送任务执行指令,用于指示辅调制解调器执行邻区同步任务,辅调制解调器接收该任务执行指令。5. The processor sends a task execution instruction to the secondary modem to instruct the secondary modem to perform a neighbor synchronization task, and the secondary modem receives the task execution instruction.
6、辅调制解调器通过分集天线接收该邻区同步任务对应的邻区下发的信号,直到检测到邻区下发的同步信号。6. The secondary modem receives the signal sent by the neighboring area corresponding to the neighboring area synchronization task through the diversity antenna, until the synchronization signal sent by the neighboring area is detected.
7、辅调制解调器对该同步信号进行解调,获取该同步信号中的时钟信息。7. The secondary modem demodulates the synchronization signal to obtain clock information in the synchronization signal.
在一些可能的实施例中,处理器还可与外围系统、射频模块、主调制解调器以及辅调制解调其协同完成上述方法实施例中的其他操作,这里不再一一描述。In some possible embodiments, the processor may also cooperate with the peripheral system, the radio frequency module, the main modem, and the secondary modem to perform other operations in the foregoing method embodiments, which are not described herein.
应当理解,终端设备20仅为本申请提供的一个例子,并且,终端设备20可具有比示出的部件更多或更少的部件,可以组合两个或更多个部件,或者可具有部件的不同配置实现。It should be understood that the
在本申请实施例中,终端设备使用分集天线的空闲资源中执行邻区同步任务,由于分集天线只在分集接收和副卡寻呼的时候被占用,而分解接收和副卡寻呼所占用的资源仅为分集天线的资源中的极小一部分,剩余的资源均可以分配给邻区同步任务可以使终端设备有充足的资源去执行邻区同步任务,在资源充足的情况下,终端设备能够更快与邻区同步,从而快速接入邻区,保证终端设备的业务不中断。In the embodiment of the present application, the terminal device performs the neighboring area synchronization task in the idle resource of the diversity antenna, because the diversity antenna is occupied only when the diversity reception and the secondary card paging are occupied, and the decomposition reception and the secondary card paging occupy the occupation. The resource is only a very small part of the resources of the diversity antenna, and the remaining resources can be allocated to the neighboring area synchronization task, so that the terminal device has sufficient resources to perform the neighboring area synchronization task, and the terminal device can be more abundant when the resources are sufficient. Synchronize with the neighboring area to quickly access the neighboring area to ensure that the services of the terminal equipment are not interrupted.
在本申请实施例中还提供了一种计算机存储介质,可以用于存储图8所示实施例中所述终端设备所用的计算机软件指令,其包含用于执行上述实施例中为终端设备所设计的程序。该存储介质包括但不限于快闪存储器、硬盘、固态硬盘。A computer storage medium for storing the computer software instructions used by the terminal device in the embodiment shown in FIG. 8 is included in the embodiment of the present application, and is configured to execute the terminal device designed in the foregoing embodiment. program of. The storage medium includes, but is not limited to, a flash memory, a hard disk, a solid state disk.
在本申请实施例中还提供了一种计算机程序产品,该计算机产品被计算设备运行时,可以执行上述图8实施例中为终端设备所设计的资源调度方法。A computer program product is also provided in the embodiment of the present application. When the computer product is run by the computing device, the resource scheduling method designed for the terminal device in the foregoing embodiment of FIG. 8 may be executed.
在本申请实施例中还提供一种芯片,包括处理器和存储器,该存储器用包括处理器和存储器,该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,该计算机程序用于实现上述方法实施例中的方法。Also provided in the embodiment of the present application is a chip, including a processor and a memory, the memory comprising a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program from the memory, A computer program is used to implement the method in the above method embodiments.
本领域普通技术人员可以意识到,结合本申请中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来 实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in or transmitted by a computer readable storage medium. The computer instructions can be from a website site, computer, server or data center to another website site by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) Transfer from a computer, server, or data center. The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)) or the like.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.
Claims (33)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201780095134.8A CN111108701B (en) | 2017-10-20 | 2017-12-07 | Resource scheduling method and terminal equipment |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710982812.4 | 2017-10-20 | ||
| CN201710982812 | 2017-10-20 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019075876A1 true WO2019075876A1 (en) | 2019-04-25 |
Family
ID=66174242
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/114931 Ceased WO2019075876A1 (en) | 2017-10-20 | 2017-12-07 | Resource scheduling method and terminal device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN111108701B (en) |
| WO (1) | WO2019075876A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112333734A (en) * | 2020-11-04 | 2021-02-05 | 维沃移动通信有限公司 | Serving cell switching method and device |
| CN112449392A (en) * | 2020-12-07 | 2021-03-05 | 中国联合网络通信集团有限公司 | Switching method and related device for service base station of terminal equipment |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112910491B (en) | 2021-01-28 | 2022-08-02 | 维沃移动通信有限公司 | Terminal double-card communication method, device, equipment and storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008041802A1 (en) * | 2006-10-02 | 2008-04-10 | Posdata Co., Ltd. | Method and apparatus for performing handover in wireless telecommunication system |
| CN101378574A (en) * | 2008-09-26 | 2009-03-04 | 华为技术有限公司 | Method for searching neighboring area signal and mobile terminal |
| US20100316163A1 (en) * | 2004-04-02 | 2010-12-16 | Antonio Forenza | System and method for DIDO precoding interpolation in multicarrier systems |
| CN103348608A (en) * | 2010-11-01 | 2013-10-09 | 李尔登公司 | System and method for coordinating transmissions in a distributed wireless system via a cluster of users |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102448176B (en) * | 2010-09-30 | 2015-10-07 | 中国移动通信集团公司 | Resource regulating method in multi-carrier communications systems and scheduling of resource equipment |
| MY172853A (en) * | 2012-05-11 | 2019-12-12 | Apple Inc | Determining proximity of user equipment for device-to-device communication |
| US10045244B2 (en) * | 2015-09-03 | 2018-08-07 | Qualcomm Incorporated | Enhanced connection performance in UL/DL imbalance scenarios |
| CN106790482B (en) * | 2016-12-13 | 2020-05-22 | 网宿科技股份有限公司 | Resource scheduling method and resource scheduling system |
-
2017
- 2017-12-07 WO PCT/CN2017/114931 patent/WO2019075876A1/en not_active Ceased
- 2017-12-07 CN CN201780095134.8A patent/CN111108701B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100316163A1 (en) * | 2004-04-02 | 2010-12-16 | Antonio Forenza | System and method for DIDO precoding interpolation in multicarrier systems |
| WO2008041802A1 (en) * | 2006-10-02 | 2008-04-10 | Posdata Co., Ltd. | Method and apparatus for performing handover in wireless telecommunication system |
| CN101378574A (en) * | 2008-09-26 | 2009-03-04 | 华为技术有限公司 | Method for searching neighboring area signal and mobile terminal |
| CN103348608A (en) * | 2010-11-01 | 2013-10-09 | 李尔登公司 | System and method for coordinating transmissions in a distributed wireless system via a cluster of users |
Non-Patent Citations (1)
| Title |
|---|
| "3GPP; TSGRAN; Study on New Radio (NR) Access Technology (Release 14)", 3GPP TR 38.912, no. V1.0.0, 31 March 2017 (2017-03-31), XP051290550 * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112333734A (en) * | 2020-11-04 | 2021-02-05 | 维沃移动通信有限公司 | Serving cell switching method and device |
| CN112333734B (en) * | 2020-11-04 | 2022-11-18 | 维沃移动通信有限公司 | Serving cell switching method and device |
| CN112449392A (en) * | 2020-12-07 | 2021-03-05 | 中国联合网络通信集团有限公司 | Switching method and related device for service base station of terminal equipment |
| CN112449392B (en) * | 2020-12-07 | 2022-09-13 | 中国联合网络通信集团有限公司 | Switching method and related device for service base station of terminal equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111108701B (en) | 2021-09-14 |
| CN111108701A (en) | 2020-05-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113810924B (en) | A community measurement method and device | |
| CN107454998B (en) | In-device coexistence with other technologies in LTE licensed assisted access operation | |
| US20230188281A1 (en) | Method for measuring reference signal, terminal, and network side device | |
| US9467880B2 (en) | Management of device-to-device discovery signals and small cell discovery signals | |
| CN108668366A (en) | Signal transmission method and device | |
| US20250220647A1 (en) | Resource configuration method and apparatus, and terminal and network side device | |
| US20230328684A1 (en) | Positioning measurement method and apparatus, device and readable storage medium | |
| US10952168B2 (en) | Method for transmitting downlink control signal and apparatus | |
| EP3542586A1 (en) | Opportunistic use of drs instances in lte-u stand alone systems | |
| JP2024507977A (en) | Communication methods, terminal devices and network devices | |
| CN115706914A (en) | Positioning reference signal processing method, terminal and network side equipment | |
| CN116724611A (en) | Measuring a reference signal with an associated synchronization signal | |
| WO2023001227A1 (en) | Method, apparatus, and terminal for gap execution | |
| WO2021087878A1 (en) | Apparatus, system, and method for cell detection and measurement for nr unlicensed | |
| WO2014188330A1 (en) | Preventing interrupts on active cell operation | |
| EP4192065A1 (en) | Sidelink resource selection method and terminal | |
| CN111108701B (en) | Resource scheduling method and terminal equipment | |
| US20230318784A1 (en) | Wireless communication method and device | |
| JP7425885B2 (en) | Physical broadcast channel extension in wireless communications | |
| CN112867029A (en) | Measurement configuration method and device | |
| US11297523B2 (en) | Measurement method and measurement apparatus | |
| EP4195522A1 (en) | Data transmission method, terminal device, and network device | |
| CN115038097A (en) | Gap configuration method, device, equipment and storage medium | |
| US20250184785A1 (en) | Method and apparatus for processing measurement, terminal, and network side device | |
| EP4529291A1 (en) | Communication method, network device, and terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17928985 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17928985 Country of ref document: EP Kind code of ref document: A1 |