CN111930787A - Synchronization method and device - Google Patents

Synchronization method and device Download PDF

Info

Publication number
CN111930787A
CN111930787A CN202010858644.XA CN202010858644A CN111930787A CN 111930787 A CN111930787 A CN 111930787A CN 202010858644 A CN202010858644 A CN 202010858644A CN 111930787 A CN111930787 A CN 111930787A
Authority
CN
China
Prior art keywords
data
electronic device
correlation
synchronization
ssb
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.)
Withdrawn
Application number
CN202010858644.XA
Other languages
Chinese (zh)
Inventor
刘君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010858644.XA priority Critical patent/CN111930787A/en
Publication of CN111930787A publication Critical patent/CN111930787A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24568Data stream processing; Continuous queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2474Sequence data queries, e.g. querying versioned data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The application discloses a synchronization method and a synchronization device, which are applied to electronic equipment, wherein the method comprises the following steps: extracting data to obtain a plurality of pieces of data, wherein the plurality of pieces of data correspond to the plurality of effective SSBs one by one, and each piece of data comprises data sent by the corresponding effective SSB; splicing the plurality of segments of data to obtain a data stream; performing correlation operation on the data stream and a local PSS sequence to obtain a correlation result; and acquiring synchronous information based on the correlation result. By adopting the embodiment of the application, the synchronization information can be quickly acquired, and the time required by cell search is further reduced.

Description

Synchronization method and device
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a synchronization method and apparatus.
Background
The electronic device needs to connect with the network device, and must perform cell search to acquire synchronization information to complete the synchronization operation. Currently, the method of acquiring Synchronization information is generally that an electronic device correlates all received data in one period with a local Primary Synchronization Signal (PSS) sequence, and acquires Synchronization information by finding a peak. Therefore, the acquisition mode has large processing calculation amount, is not beneficial to quickly acquiring the synchronous information, and increases the time required by cell search.
Disclosure of Invention
The embodiment of the application provides a synchronization method and a synchronization device.
In a first aspect, an embodiment of the present application provides a synchronization method, which is applied to an electronic device, and the method includes:
extracting data to obtain a plurality of pieces of data, wherein the plurality of pieces of data correspond to the plurality of effective SSBs one by one, and each piece of data comprises data sent by the corresponding effective SSB;
splicing the plurality of segments of data to obtain a data stream;
performing correlation operation on the data stream and a local PSS sequence to obtain a correlation result;
and acquiring synchronous information based on the correlation result.
In a second aspect, an embodiment of the present application provides a synchronization apparatus, which is applied to an electronic device, and the apparatus includes:
the data extraction unit is used for extracting data to obtain a plurality of pieces of data, the plurality of pieces of data correspond to the plurality of effective SSBs one by one, and each piece of data comprises data sent by the corresponding effective SSB;
the data processing unit is used for splicing the plurality of segments of data to obtain a data stream; performing correlation operation on the data stream and a local PSS sequence to obtain a correlation result;
and the synchronization unit is used for acquiring synchronization information based on the correlation result.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, data is first extracted to obtain multiple pieces of data, where the multiple pieces of data correspond to multiple effective SSBs one to one, each piece of data includes data sent by the corresponding effective SSBs, then the multiple pieces of data are spliced to obtain a data stream, then the data stream is subjected to correlation operation with a local PSS sequence to obtain a correlation result, and finally synchronization information is obtained based on the correlation result, so that only part of data is processed, the computation amount is small, synchronization information is quickly obtained, the time required for cell search is reduced, and power consumption is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a synchronization method provided in an embodiment of the present application;
fig. 4 illustrates a time domain position of an SSB in a radio frame according to an embodiment of the present disclosure;
fig. 5 is a SSB mapping relationship diagram provided in the embodiment of the present application;
FIG. 6 is a schematic diagram of data splicing provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a synchronization apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
In order to better understand the scheme of the embodiments of the present application, the following first introduces the related terms and concepts that may be involved in the embodiments of the present application.
1) The electronic device is a device with a wireless communication function, can be deployed on land and comprises an indoor or outdoor part, a handheld part, a wearable part or a vehicle-mounted part; can also be deployed on the water surface (such as a ship and the like); and may also be deployed in the air (e.g., airplanes, balloons, satellites, etc.). The electronic device may be a mobile phone (mobile phone), a tablet computer (pad), a computer with wireless transceiving function, a Virtual Reality (VR) electronic device, an Augmented Reality (AR) electronic device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in smart home (smart home), and the like. The electronic device may also be a handheld device with wireless communication capabilities, an in-vehicle device, a wearable device, a computer device or other processing device connected to a wireless modem, etc. Electronic devices in different networks may be called different names, such as: a terminal device, an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent or user equipment, a cellular telephone, a cordless telephone, a Session Initiation Protocol (SIP) telephone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), an electronic device in a 5G network or a future evolution network, etc.
2) A network device is a device deployed in a radio access network to provide wireless communication functions. For example, the Network device may be a Radio Access Network (RAN) device on an Access Network side in a cellular Network, and the RAN device is a device for accessing a terminal device to a wireless Network, and includes but is not limited to: evolved Node B (eNB), Radio Network Controller (RNC), Node B (NB), Base Station Controller (BSC), Base Transceiver Station (BTS), Home Base Station (e.g., Home evolved Node B, or Home Node B, HNB), baseband Unit (BBU), Management Entity (Mobility Management Entity, MME); for another example, the Network device may also be a node device in a Wireless Local Area Network (WLAN), such as an Access Controller (AC), a gateway, or a WIFI Access Point (AP); for another example, the network device may also be a transmission node or a transmission reception point (TRP or TP) in the NR system.
In a first section, the software and hardware operating environment of the technical solution disclosed in the present application is described as follows.
Fig. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, a pointer 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 101 may also include one or more processors 110. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution. In other embodiments, a memory may also be provided in processor 110 for storing instructions and data. Illustratively, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. This avoids repeated accesses and reduces the latency of the processor 110, thereby increasing the efficiency with which the electronic device 101 processes data or executes instructions.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a SIM card interface, a USB interface, and/or the like. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 101, and may also be used to transmit data between the electronic device 101 and peripheral devices. The USB interface 130 may also be used to connect to a headset to play audio through the headset.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (blue tooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), UWB, and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (mini-light-emitting diode, mini), a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or more display screens 194.
The electronic device 100 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or more cameras 193.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may cause the electronic device 101 to execute the synchronization method provided in some embodiments of the present application, and various applications and data processing, etc. by executing the above-mentioned instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage program area may also store one or more applications (e.g., gallery, contacts, etc.), and the like. The storage data area may store data (such as photos, contacts, etc.) created during use of the electronic device 101, and the like. Further, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage components, flash memory components, Universal Flash Storage (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 101 to execute the synchronization method provided in the embodiments of the present application and other applications and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110. The electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. Such as music playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., X, Y and the Z axis) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
Fig. 2 shows a block diagram of a software structure of the electronic device 100. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In a second section, example application scenarios disclosed in embodiments of the present application are described below.
The present application may be applied to a global system for mobile Communication (CSM), a Code Division Multiple Access (CDMA) system, a Wideband Code Division Multiple Access (WCDMA) system, a Worldwide Interoperability for Microwave Access (WiMAX) system, a Long Term Evolution (LTE) system, a 5G communication system (e.g., new radio, NR)), a communication system in which a plurality of communication technologies are merged (e.g., a communication system in which an LTE technology and an NR technology are merged), or a subsequent evolution communication system.
The application scenario of the present application includes, for example, a Discontinuous Reception (DRX) scenario, a Radio Resource Management (RRM) scenario, and the like.
Or, the application scenario is that continuous data is divided into multiple discontinuous data scenarios, and as in the frequency scenario, the SMTC data is divided into discontinuous data segments due to the presence of uplink data in the SMTC time.
In the third section, the scope of protection of the claims disclosed in the embodiments of the present application is described below.
Referring to fig. 3, fig. 3 is a flowchart illustrating a synchronization method applied to an electronic device according to an embodiment of the present disclosure.
Step 301: and extracting data to obtain a plurality of pieces of data, wherein the plurality of pieces of data correspond to a plurality of effective Synchronous Signal Blocks (SSBs) one by one, and each piece of data comprises data sent by the corresponding effective SSB.
In the NR system, the PSS sequence is transmitted in SSBs (as shown in fig. 4, one radio frame contains 10 subframes, each subframe contains 14 Orthogonal Frequency Division Multiplexing (OFDM) symbols, and 2-5 and 8-11 bits on each radio frame are two SSBs. as shown in fig. 5, each SSB occupies 4 OFDM symbols, and the PSS sequence occupies the first OFDM symbol of the SSB, the subcarriers are 56-182, and occupy 127 subcarriers in total), and there are 64 SSBs in one cycle (e.g., 5 ms). In the DRX scenario, in order to achieve the purpose of saving power consumption, the electronic device wakes up in advance before a Paging Occasion (PO) arrives. The electronic device wakes up far from the original synchronization information and needs to complete synchronization before receiving the PO.
Optionally, the valid SSB is an SSB that determines the sent data. Specifically, in the DRX scenario, the SSBs in one cycle do not transmit all data, and only a part of the SSBs transmit data, and the SSBs transmitting data are valid SSBs.
Compared with the prior art, the method only processes partial data, and has small operand so as to reduce power consumption loss.
Optionally, the valid SSB is network device indicated. Specifically, the valid SSB is a Radio Resource Control (RRC) signaling indication sent by a network device, for example, the RRC signaling carries first indication information, where the first indication information is used to indicate the valid SSB, and certainly, the valid SSB may also be indicated by other signaling.
It can be seen that since the network device knows which SSBs send data and which SSBs do not send data in advance, the network device can notify the electronic device of which SSBs send data through signaling before synchronization, without the need for the electronic device to decide by itself, thereby speeding up data extraction and further shortening the time required for cell search.
Optionally, the valid SSB is protocol-specific. Specifically, in the DRX scenario, the SSBs in one cycle do not all send data, but only a part of the SSBs send data, so that a protocol can specify which SSBs send data and which SSBs do not send data, and an electronic device does not need to decide by itself, thereby speeding up data extraction and further shortening the time required for cell search.
Optionally, the length of each piece of data is greater than the length of the data sent by its corresponding valid SSB.
Wherein the length of each piece of data in the plurality of pieces of data is the same.
Wherein the length of the data transmitted by each effective SSB in the plurality of effective SSBs is the same. Each valid SSB transmits data that is 4 symbols in length.
Wherein, the range of each segment of data is [ left-k of data sent by SSB, right + k of data sent by SSB ], and k is a synchronization deviation range. k may be predetermined by the electronic device and the network device, may be customized by the electronic device, or may be specified by a protocol, and is not limited herein.
Step 302: and splicing the plurality of segments of data to obtain a data stream.
Optionally, the method further comprises: when data splicing is carried out, the length of each piece of data and the starting position of each piece of data are recorded.
Optionally, the splicing the multiple pieces of data to obtain a data stream includes: and splicing the plurality of pieces of data based on the initial position of each piece of data to obtain the data stream.
As shown in fig. 6, for example, assume that there are 64 SSBs in one period (e.g., 5ms), among the 64 SSBs, 8 SSBs are determined to transmit data (such as SSB0, SSB8, SSB16, SSB24, SSB32, SSB40, SSB48 and SSB56), data extraction is carried out to obtain 8 segments of data, the 8 pieces of data are data 0, data 1, data 2, data 3, data 4, data 5, data 6, data 7, wherein data 0 comprises data sent by SSB0, data 1 comprises data sent by SSB8, data 2 comprises data sent by SSB16, data 3 comprises data sent by SSB24, data 4 comprises data sent by SSB32, data 5 comprises data sent by SSB40, data 6 comprises data sent by SSB48, and data 7 comprises data sent by SSB56, the spliced data stream is data 0-data 1-data 2-data 3-data 4-data 5-data 6-data 7.
Step 303: and carrying out correlation operation on the data stream and the local PSS sequence to obtain a correlation result.
Wherein the electronic device stores in advance 3 sets of local complex PSS sequences generated from ZC (Zadoff-Chu) sequences.
Optionally, the performing a correlation operation on the data stream and the local PSS sequence to obtain a correlation result includes:
s1: filtering the data stream to remove clutter and interference signals;
s2: down-sampling the filtered data stream to obtain first time domain data;
s3: performing Fast Fourier Transform (FFT) on the first time domain data to obtain first frequency domain data;
s4: carrying out differential correlation on the first frequency domain data to obtain a target sequence;
s5: adding 3 groups of local PSS sequences to obtain a first PSS sequence;
s6: carrying out differential correlation on the first PSS sequence to obtain a second PSS sequence;
s7: and performing sliding correlation on the second PSS sequence and the frequency domain data to obtain the correlation result.
Since the time domain data is obtained at S2, and the local PSS sequence is frequency domain data, which cannot be directly related by sliding, the time domain data needs to be converted, and the first time domain data is r (n), then the first frequency domain data obtained by conversion is XNk(m)=fft(r(n)*)M
Wherein, the first frequency domain data is differentially correlated to obtainIs as follows
Figure BDA0002647362910000091
Wherein, let 3 groups of local PSS sequences be PSS respectively0(n)、PSS1(n) and PSS2(n), then the first PSS sequence obtained by adding the three groups of local PSS sequences is PSSsum(n)=PSS0(n)+PSS1(n)+PSS2(n) of (a). The second PSS sequence obtained by carrying out differential correlation on the first PSS sequence is
Figure BDA0002647362910000092
Wherein, the sliding correlation between the second PSS sequence and the first frequency domain data results in a correlation result:
Figure BDA0002647362910000093
wherein, PNk(m) is the correlation peak at position m.
Step 304: and acquiring synchronous information based on the correlation result.
Optionally, the obtaining synchronization information based on the correlation result includes:
performing Inverse Fast Fourier Transform (IFFT) on the correlation result to obtain second time domain data;
performing normalization calculation on the second time domain data to obtain a normalized maximum value;
and acquiring synchronization information based on the normalized maximum value.
Wherein, the second time domain data obtained by IFFT of the correlation result is PNk(n)=ifft(PNk(m)), the second time domain data is a set of the sliding correlation results in the time domain, and N is 0, 1, 2, …, N-1.
The specific implementation manner of performing normalization calculation on the second time domain data to obtain a normalization maximum value is as follows: calculating the sum of the amplitude squared values of all the data of the second time domain data as:
Figure BDA0002647362910000101
normalizing all the data of the second time domain data to be:
Figure BDA0002647362910000102
searching all normalized data to obtain a normalized maximum value, and recording an index value of the normalized maximum value.
Wherein the obtaining synchronization information based on the normalized maximum value includes:
determining a corresponding first data block and an offset position in a second data block according to the index value of the normalized maximum value; and determining synchronization information according to the starting position corresponding to the first data of the first data block and the offset position, wherein the synchronization information comprises a synchronization position.
It can be seen that, in the embodiment of the present application, only part of data is processed, and the operand is small, so as to quickly acquire synchronization information, thereby reducing the time required for cell search and reducing power consumption.
It will be appreciated that the electronic device, in order to implement the above-described functions, comprises corresponding hardware and/or software modules for performing the respective functions. The present application is capable of being implemented in hardware or a combination of hardware and computer software in conjunction with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, with the embodiment described in connection with the particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In this embodiment, the electronic device may be divided into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in the form of hardware. It should be noted that the division of the modules in this embodiment is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of dividing each functional module by corresponding each function, fig. 7 shows a schematic diagram of a synchronization apparatus, as shown in fig. 7, the synchronization apparatus 700 is applied to an electronic device, and the synchronization apparatus 700 may include: a data extraction unit 701, a data processing unit 702, and a synchronization unit 703.
Among other things, data extraction unit 701 may be used to support an electronic device performing steps 301, etc., described above, and/or other processes for the techniques described herein.
The data processing unit 702 may be used to support the electronic device in performing the above-described steps 302, 303, etc., and/or other processes for the techniques described herein.
The synchronization unit 703 may be used to enable the electronic device to perform the above-described steps 304, etc., and/or other processes for the techniques described herein.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The electronic device provided by the embodiment is used for executing the synchronization method, so that the same effect as the implementation method can be achieved.
In case an integrated unit is employed, the electronic device may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage actions of the electronic device, and for example, may be configured to support the electronic device to execute steps executed by the data extraction unit 701, the data processing unit 702, and the synchronization unit 703. The memory module may be used to support the electronic device in executing stored program codes and data, etc. The communication module can be used for supporting the communication between the electronic equipment and other equipment.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having the structure shown in fig. 1.
The present embodiment also provides a computer storage medium, in which computer instructions are stored, and when the computer instructions are run on an electronic device, the electronic device executes the above related method steps to implement the synchronization method in the above embodiments.
The present embodiment also provides a computer program product, which when running on a computer, causes the computer to execute the relevant steps described above, so as to implement the synchronization method in the above embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the synchronization method in the above-mentioned method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A synchronization method applied to an electronic device, the method comprising:
extracting data to obtain a plurality of pieces of data, wherein the plurality of pieces of data correspond to a plurality of effective Synchronous Signal Blocks (SSBs) one by one, and each piece of data comprises data sent by the corresponding effective SSB;
splicing the plurality of segments of data to obtain a data stream;
carrying out correlation operation on the data stream and a local primary synchronization signal PSS sequence to obtain a correlation result;
and acquiring synchronous information based on the correlation result.
2. The method of claim 1, wherein the valid SSB is an SSB that determines data has been sent.
3. The method of claim 2, wherein the valid SSB is network device indicated or wherein the valid SSB is protocol specified.
4. A method according to any of claims 1-3, wherein the length of each piece of data is greater than the length of the data sent by its corresponding valid SSB.
5. The method according to any one of claims 1-4, further comprising: when data splicing is carried out, the length of each piece of data and the starting position of each piece of data are recorded.
6. The method of any of claims 1 to 5, wherein correlating the data stream with a local PSS sequence to obtain a correlation result comprises:
filtering the data stream;
down-sampling the filtered data stream to obtain first time domain data;
performing Fast Fourier Transform (FFT) on the first time domain data to obtain first frequency domain data;
carrying out differential correlation on the first frequency domain data to obtain a target sequence;
adding 3 groups of local PSS sequences to obtain a first PSS sequence;
carrying out differential correlation on the first PSS sequence to obtain a second PSS sequence;
and performing sliding correlation on the second PSS sequence and the frequency domain data to obtain the correlation result.
7. The method according to any of claims 1-6, applied to a new air interface NR system or a long term evolution LTE system.
8. A synchronization apparatus applied to an electronic device, the apparatus comprising:
the data extraction unit is used for extracting data to obtain a plurality of pieces of data, the plurality of pieces of data correspond to the plurality of effective synchronous signal blocks SSBs one by one, and each piece of data comprises data sent by the corresponding effective SSBs;
the data processing unit is used for splicing the plurality of segments of data to obtain a data stream; performing correlation operation on the data stream and a local primary synchronization signal PSS sequence to obtain a correlation result;
and the synchronization unit is used for acquiring synchronization information based on the correlation result.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-7.
CN202010858644.XA 2020-08-24 2020-08-24 Synchronization method and device Withdrawn CN111930787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010858644.XA CN111930787A (en) 2020-08-24 2020-08-24 Synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010858644.XA CN111930787A (en) 2020-08-24 2020-08-24 Synchronization method and device

Publications (1)

Publication Number Publication Date
CN111930787A true CN111930787A (en) 2020-11-13

Family

ID=73306275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010858644.XA Withdrawn CN111930787A (en) 2020-08-24 2020-08-24 Synchronization method and device

Country Status (1)

Country Link
CN (1) CN111930787A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351474A (en) * 2021-01-08 2021-02-09 江苏永鼎通信有限公司 Method, system and storage medium for rapidly searching 5G cell synchronous frequency point
CN112672403A (en) * 2020-12-08 2021-04-16 复旦大学 Initial cell discovery method suitable for 5G-NR millimeter wave communication system
CN114281895A (en) * 2021-12-24 2022-04-05 成都索贝数码科技股份有限公司 Multi-data center synchronization method supporting remote pulling

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351766A (en) * 2019-07-17 2019-10-18 南京创远信息科技有限公司 The method for carrying out multiple cell blind examination and measurement processing for 5G NR
CN111066357A (en) * 2017-09-11 2020-04-24 中兴通讯股份有限公司 Information transmission system
CN111132272A (en) * 2019-12-31 2020-05-08 重庆邮电大学 Cell search timing synchronization method for 5G NR system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111066357A (en) * 2017-09-11 2020-04-24 中兴通讯股份有限公司 Information transmission system
CN110351766A (en) * 2019-07-17 2019-10-18 南京创远信息科技有限公司 The method for carrying out multiple cell blind examination and measurement processing for 5G NR
CN111132272A (en) * 2019-12-31 2020-05-08 重庆邮电大学 Cell search timing synchronization method for 5G NR system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672403A (en) * 2020-12-08 2021-04-16 复旦大学 Initial cell discovery method suitable for 5G-NR millimeter wave communication system
CN112351474A (en) * 2021-01-08 2021-02-09 江苏永鼎通信有限公司 Method, system and storage medium for rapidly searching 5G cell synchronous frequency point
CN112351474B (en) * 2021-01-08 2021-04-20 江苏永鼎通信有限公司 Method, system and storage medium for rapidly searching 5G cell synchronous frequency point
CN114281895A (en) * 2021-12-24 2022-04-05 成都索贝数码科技股份有限公司 Multi-data center synchronization method supporting remote pulling
CN114281895B (en) * 2021-12-24 2023-12-08 成都索贝数码科技股份有限公司 Multi-data center synchronization method supporting remote pulling

Similar Documents

Publication Publication Date Title
EP3872609B1 (en) Application display method and electronic device
CN111182614B (en) Method and device for establishing network connection and electronic equipment
CN111768416B (en) Photo cropping method and device
CN111953627B (en) Method and device for detecting SSB serial number
CN111553846B (en) Super-resolution processing method and device
CN113115439B (en) Positioning method and related equipment
CN111930787A (en) Synchronization method and device
CN113994317A (en) User interface layout method and electronic equipment
CN111555825B (en) Radio frequency resource allocation method and device
CN113115460B (en) Time slot selection method and related equipment
CN112130788A (en) Content sharing method and device
CN114513847B (en) Positioning method, device, system, electronic equipment and storage medium
CN113973398A (en) Wireless network connection method, electronic equipment and chip system
CN111988798B (en) Method and device for detecting SSB sequence number
WO2020233593A1 (en) Method for displaying foreground element, and electronic device
CN115119048B (en) Video stream processing method and electronic equipment
WO2022135195A1 (en) Method and apparatus for displaying virtual reality interface, device, and readable storage medium
CN111953452A (en) Method and device for detecting SSB serial number
CN111615207A (en) Resource mapping method, device and storage medium
CN116095512B (en) Photographing method of terminal equipment and related device
CN116048772B (en) Method and device for adjusting frequency of central processing unit and terminal equipment
CN115378550B (en) Signal transmission control method, system and related device
CN117917632A (en) Display method, electronic equipment and system
CN117666810A (en) Input method and electronic equipment
CN117666819A (en) Mouse operation method, electronic device, mouse and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20201113

WW01 Invention patent application withdrawn after publication