CN109756855B - Communication terminal, starting method thereof and storage device - Google Patents
Communication terminal, starting method thereof and storage device Download PDFInfo
- Publication number
- CN109756855B CN109756855B CN201811385868.2A CN201811385868A CN109756855B CN 109756855 B CN109756855 B CN 109756855B CN 201811385868 A CN201811385868 A CN 201811385868A CN 109756855 B CN109756855 B CN 109756855B
- Authority
- CN
- China
- Prior art keywords
- communication
- kernel
- ptt
- operating system
- communication terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000006854 communication Effects 0.000 title claims abstract description 327
- 238000004891 communication Methods 0.000 title claims abstract description 224
- 238000000034 method Methods 0.000 title claims abstract description 130
- 230000008569 process Effects 0.000 claims abstract description 75
- 230000006870 function Effects 0.000 claims description 79
- 230000005540 biological transmission Effects 0.000 description 24
- 238000010586 diagram Methods 0.000 description 9
- 230000000977 initiatory effect Effects 0.000 description 5
- 230000005059 dormancy Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000007958 sleep Effects 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a communication terminal, a starting method and a storage device thereof. Wherein the method comprises the following steps: the communication terminal receives a starting-up instruction and enters a starting-up flow; after running the AP kernel, the AP kernel establishes a communication process related to the PTT function in preference to a service process of an operating system; the communication process is a process that implements the basic PTT communication function. By the scheme, the communication efficiency of the communication terminal during starting can be improved.
Description
Technical Field
The present application relates to the field of communication networks, and in particular, to a communication terminal, a power-on start method thereof, and a storage device.
Background
At present, communication terminals such as mobile phones and interphones have become inseparable electronic devices in people's lives. The communication modes of the existing communication terminals are all realized by calling in the upper layer application of the communication terminal, namely, the communication modes need to be realized on an operating system. Therefore, when a user needs to communicate, the user often needs to wait for the downward call from the operating system in sequence to realize the communication, particularly, when the user starts the computer, the time for starting the operating system is usually long, and the user also needs to wait for the completion of the starting of the operating system and then can realize the communication to the downward call party, obviously, the long waiting time is needed, and the communication efficiency is low.
Disclosure of Invention
The technical problem mainly solved by the application is to provide a communication terminal, a starting method and a storage device thereof, which can improve the communication efficiency of the communication terminal during starting.
In order to solve the above problem, a first aspect of the present application provides a method for starting up a communication terminal, where the method includes: the communication terminal receives a starting-up instruction and enters a starting-up flow; after an Application Processor (AP) kernel is operated, the AP kernel establishes a communication process related to a PTT function in preference to a service process of an operating system; the communication process is a process that implements the basic PTT communication function.
In order to solve the above-mentioned problems, a second aspect of the present application provides a communication terminal including a memory, a processor, and a communication circuit; the communication circuit is used for realizing communication with other equipment; the processor is configured to execute the computer instructions stored by the memory to perform the above-described method.
In order to solve the above problem, a third aspect of the present application provides a storage device storing processor executable computer instructions for performing the above method.
In the scheme, when the communication terminal is started, the AP kernel directly takes precedence over the service process of the operating system to establish the communication process related to the PTT function, so that the communication terminal can directly realize the transmission of the PTT service data by the AP kernel without passing through the AP operating system, the PTT service data transmission can be realized without waiting for the completion of the loading of the AP operating system, and the data transmission flow is simplified and the data transmission time is reduced when the PTT service data transmission is carried out every time, therefore, the communication efficiency of the communication terminal is improved when the communication terminal is started.
Drawings
Fig. 1 is a schematic flowchart of a first embodiment of a power-on method of a communication terminal according to the present application;
fig. 2 is a schematic diagram illustrating a call flow of a communication method of a conventional communication terminal;
fig. 3 is a flowchart illustrating a second embodiment of a power-on method of a communication terminal according to the present application;
fig. 4 is a schematic flowchart of different starting modes of the communication terminal in an application scenario of the present application;
fig. 5 is a schematic diagram illustrating a correspondence relationship between a value in a CPLD register of a communication terminal and a channel in an application scenario of the present application;
fig. 6 is a schematic partial flowchart of a third embodiment of a power-on method of a communication terminal according to the present application;
FIG. 7 is a schematic structural diagram of an embodiment of a communication terminal according to the present application;
fig. 8 is a schematic structural diagram of another embodiment of the communication terminal of the present application;
FIG. 9 is a schematic structural diagram of an embodiment of a memory device of the present application;
fig. 10 is a schematic structural diagram of an embodiment of a cluster communication device according to the present application.
Detailed Description
The following describes in detail the embodiments of the present application with reference to the drawings attached hereto.
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular system structures, interfaces, techniques, etc. in order to provide a thorough understanding of the present application.
The terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a first embodiment of a power-on method of a communication terminal according to the present application. In this embodiment, the method is executed by a communication terminal, such as a mobile phone, an intercom, a computer, and the like, and specifically may be executed by a processor of the communication terminal, such as an Application Processor (AP), and the method includes the following steps:
s11: and the communication terminal receives the starting-up instruction and enters a starting-up process.
For example, when a power-on key of the communication terminal is triggered or a combination key for realizing power-on is triggered, a power-on starting process is entered. For example, the boot process includes: the method includes the steps of powering on, running a BootLoader (BootLoader) to initialize hardware such as a communication circuit (e.g., a radio frequency circuit) thereof, running a kernel (also referred to herein as an AP kernel), and loading an operating system (also referred to herein as an AP operating system). The process of loading the operating system can comprise the following steps: loading a kernel and a subsystem; starting system service; the virtual machine is started/resources are loaded. And when the loading process is finished, the startup is finished.
S12: after the communication terminal runs the AP kernel, the AP kernel takes precedence over a service process of an operating system to create a communication process related to the PTT function.
Wherein the communication process is a process for implementing a Push To Talk (PTT) based communication function. The basic PTT communication function may specifically be a normal voice call function. In this embodiment, a communication terminal (such as the application processor) does not need to wait for the completion of the loading of the AP operating system, but first creates a communication process related to the PTT function by the AP kernel, for example, initializes a communication circuit related to the PTT function, creates a communication process by the AP kernel to interact with a network (such as a base station) to transmit a protocol, and after the protocol interaction is completed, establishes a communication channel, where the communication terminal can already implement the communication of PTT related service data, so that the AP kernel can encapsulate the service data when the related service data needs to be transmitted, and transmit the encapsulated service data through a related network regardless of whether the operating system has been started. The transmitting of the service data may include transmitting and/or receiving the service data.
It can be understood that after running the AP kernel, the communication terminal defaults to directly execute the service process that is created by the AP kernel in preference to the operating system to the communication process related to the PTT function; or the creation of the communication process related to the PTT function by the AP kernel in preference to the service process of the operating system may be performed upon determining that the preset condition is satisfied. The preset condition may include that the current narrowband signal strength does not meet a predetermined strength requirement; alternatively, the communication terminal is set to the PTT priority mode. For example, the step S12 includes, after the AP kernel is executed, when the communication terminal is set to the PTT priority mode, creating a communication process related to the PTT function by the AP kernel in preference to a service process of the operating system; or after the AP kernel of the application processor is operated and the current narrow-band signal strength does not meet the preset strength requirement, the AP kernel establishes a communication process related to the PTT function in preference to a service process of an operating system. The PTT priority mode refers to starting the PTT communication function preferentially at the AP, prior to running the AP operating system. The detection of whether the current narrowband signal strength meets the predetermined strength requirement may be as described below with reference to the embodiment shown in fig. 3.
In this embodiment, since it takes a long time for the communication terminal to start the AP operating system when the communication terminal is powered on, if PTT service data transmission needs to be performed during the power-on process, the communication terminal needs to wait for completion of power-on. In view of this, when the communication terminal is powered on, the AP kernel creates a communication process related to the PTT function in preference to the service process of the operating system, so that the AP kernel can directly implement PTT service data transmission, thereby reducing the waiting time of data communication during power on and improving the data transmission efficiency during power on. For example, the time consumed for communication after the operating system is loaded is more than 20s, while the time consumed for the AP kernel to preferentially establish the communication process related to the PTT function is less than 9s, so that the communication efficiency during startup is improved, and the user experience is greatly improved.
Moreover, the AP kernel preferentially creates the communication process related to the PTT function, so that the starting time of communication is reduced when the AP kernel is started, and the time consumed during communication is also reduced. The communication terminal includes an AP operating system located on an upper layer and an AP kernel located on a bottom layer on software, and an existing communication mode of the communication terminal is implemented by upper layer call, for example, the communication terminal uses an android operating system and uses Radio voice signals to pass through an IP transmission technology (Radio Over Internet Protocol, ROIP), as shown in fig. 2, the ROIP is applied in an upper layer application, so when PTT service data needs to be transmitted, the communication terminal a calls a function of implementing the ROIP by the upper layer application, that is, an ROIP call sequentially passes through an SDK layer, a framework layer, and the kernel from the upper layer until the function is called to a modem baseband layer, and then sends the service data to an external network, and further sends the service data to the communication terminal B through the external network. The communication terminal B calls the upper layer ROIP from the modem layer through the corresponding call sequence to obtain the PTT service data at the upper layer ROIP. Obviously, the foregoing data transmission calling process is long, which easily causes a delay in communication, so that the AP kernel proposed in the present application preferentially creates a communication process related to the PTT function, and when PTT service data needs to be transmitted, the PTT service data transmission is directly run on the AP kernel, that is, without passing through the AP operating system, the AP kernel directly creates a process to implement data transmission thereof. And the method is directly realized in a kernel layer, uncertainty delay caused by an operating system is avoided, and system stability can be improved.
Due to the limited processing resources of the communication terminal, the communication terminal can allocate the processing resources to implement different partial processes of the power-on process (such as loading the AP operating system and creating a communication process related to the PTT function) according to the situation.
As in some embodiments, the application processor of the communication terminal may first execute S12 to create a communication process related to the PTT function by the AP kernel in preference to a service process of the operating system, and load the operating system after creating the communication process. That is, at least after the protocol interaction is completed, the operating system is loaded, so that the communication terminal can use all available processing resources to create a communication process related to the PTT function, thereby greatly shortening the mode start time and enabling the transmission of service data to be faster and more efficient.
As another example, in some embodiments, the application processor of the communication terminal may also synchronously initiate the creation of communication processes associated with the PTT function and load the AP operating system. That is, the communication terminal divides the available processing resources into two parts for respectively creating a communication process related to the PTT function and loading the AP operating system, so that the transmission delay of the PTT service data can be better avoided, the startup time can be reduced, and the startup delay can be avoided.
For example, an application processor of a communication terminal includes a first processing circuit and a second processing circuit; executing S12 by the first processing circuit, namely creating a communication process related to the PTT function by the AP kernel in preference to the service process of the operating system; and the AP operating system is synchronously loaded by the second processing circuit while the first processing circuit executes S12. The processing capability of the first processing circuit may be higher than the processing capability of the second processing circuit, and/or the main frequency of the first processing circuit may be higher than the main frequency of the second processing circuit, so that the communication terminal uses most of the processing resources preferentially for creating the communication process related to the PTT function. In a specific application, the first processing circuit and the second processing circuit may comprise one or more processor cores, for example, the first processing circuit comprises 7 cores and is a high dominant frequency, and the second processing circuit comprises 1 core and is a low dominant frequency. The master frequency is the operating clock frequency. It is understood that the processing capabilities and the main frequencies of the first processing circuit and the second processing circuit may be adjusted according to the situation, for example, for a scenario with high requirement on the boot-up time, the communication terminal may adjust the processing capabilities of the first processing circuit and the second processing circuit to be the same, for example, both processing circuits are 4 cores.
Referring to fig. 3, fig. 3 is a flowchart illustrating a boot method of a communication terminal according to a second embodiment of the present application. In this embodiment, the method is executed by a communication terminal, specifically, by an AP and a Baseband Processor (BP) of the communication terminal, and the communication terminal is a dual-mode communication terminal, that is, the communication terminal can implement both narrowband PTT communication and broadband communication. The narrow-band communication is to transmit service data to be transmitted, such as PTT service data, through a narrow-band network, and the broadband communication is to transmit service data to be transmitted through a broadband network. Considering that the signal strength of the narrowband network in the environment where the communication terminal is located may be poor, thereby causing failure or poor quality of narrowband communication, the present embodiment further detects the signal strength of the narrowband network, and selects the broadband network or the narrowband network to transmit the PTT service data according to the detected strength.
Specifically, the method comprises the following steps:
s31: and the communication terminal receives the starting-up instruction and enters a starting-up process.
As described in step S11, detailed description thereof is omitted here.
S32: and the communication terminal detects whether the current narrowband signal intensity meets the preset intensity requirement or not through the BP. If not, go to S33, otherwise, go to S34.
The communication terminal may be preset with an intensity requirement for the intensity of the narrowband signal, where the preset intensity requirement may be set by the communication terminal according to an intensity requirement input by a user, or may be set by the communication terminal according to a certain rule, where the certain rule is, for example, an intensity requirement corresponding to different times or different locations. Generally, the preset strength requirement is specifically that the detected narrowband signal strength is greater than the set signal strength.
The communication terminal is a dual-mode communication terminal, so the communication circuit comprises a narrow-band communication circuit and a broadband communication circuit, the narrow-band communication circuit and the broadband communication circuit are required to be initialized usually in a starting process of the communication terminal, the narrow-band communication circuit is initialized usually, at the moment, a current narrow-band signal can be obtained by using the narrow-band communication circuit, so that the current narrow-band signal strength is obtained by using the current narrow-band signal by the BP, whether the current narrow-band signal strength meets the preset strength requirement or not is judged, and different starting modes of the AP are selected according to the judgment result. As shown in fig. 4, after the AP of the communication terminal is powered on, the starting apparatus and the kernel are operated, and then different starting modes are selected according to the determination result. The startup modes include an operating system startup mode 410 and a PTT priority mode startup mode 420. The os boot method 410 represents a normal boot process, i.e., the AP kernel does not need to create a communication process related to the PTT function in preference to the service process of the os, and the os is booted normally after the kernel runs. The PTT priority mode initiation mode 420 indicates that after the kernel runs, a communication process related to the PTT function needs to be created by the AP kernel in preference to a service process of the operating system, where the PTT priority mode initiation mode 420 includes a synchronous initiation mode 421 and an individual initiation mode 422, and the synchronous initiation mode 421 indicates that after the kernel runs, the operating system and the PTT priority mode are synchronously initiated; the single boot mode 422 indicates that after the kernel runs, the PTT priority mode is started first, and then the operating system is started.
S33: the BP writes a first predetermined value in the fast PTT flag bit.
S34: and the BP writes a second preset value in the normal starting identification bit.
Specifically, the BP of the communication terminal may set corresponding values for the fast PTT flag bit and the normal start flag bit according to the current narrowband signal strength to inform the AP to select its start mode. The fast PTT flag bit and/or the normal start flag bit may be stored in a Complex Programmable Logic Device (CPLD). For example, after the initialization of the narrowband communication circuit is completed, the BP detects the current narrowband signal intensity by using the narrowband communication circuit, and sets a value of a fast PTT flag bit or a normal start flag bit in the CPLD according to the current narrowband signal intensity, wherein when the current narrowband signal intensity is lower than a set intensity threshold (for example, no narrowband signal or very weak narrowband signal), a first predetermined value is written in the fast PTT flag bit; and when the current narrowband signal intensity is not lower than the set intensity threshold, writing a second preset value in the normal starting identification bit. The first preset value indicates that the AP adopts a quick PTT mode starting mode; the second predetermined value indicates that the AP should use an operating system boot method. In an application scenario, the activation status of the communication terminal may be represented by one byte, for example, the activation status may be composed of bit0, bit1, …, and bit7, where bit0 is a fast PTT flag bit, bit1 is a fast PTT flag bit, and the first predetermined value and the second predetermined value are both first characters. When bit0 is the first character and bit1 is the second character, determining to adopt a quick PTT mode starting mode; when bit0 is the second character and bit1 is the first character, it is determined that the operating system boot method is used, and one of the first character and the second character can be 0 and the other can be 1.
After the value of the quick PTT identification bit or the normal start identification bit is set in the BP, the AP reads the value of the quick PTT identification bit or the normal start identification bit and judges and selects the different start modes according to the quick PTT identification bit or the normal start identification bit value. For example, when the fast PTT flag is a first predetermined value, it is determined that the current narrowband signal strength does not meet the preset strength requirement, so the fast PTT mode start-up mode is selected, and a synchronous start-up mode or an individual start-up mode can be specifically selected according to actual conditions; and when the normal starting identification bit is a second preset value, determining that the current narrowband signal intensity meets the preset intensity requirement, and selecting an operating system starting mode.
S35: after the communication terminal runs the AP kernel, the AP kernel takes precedence over a service process of an operating system to create a communication process related to the PTT function.
In this embodiment, the created communication process related to the PTT function is for transmitting PTT service data through a broadband network, that is, the PTT service data is directly transmitted by the AP kernel through the broadband network without passing through the AP operating system. Under general conditions, the PTT service data is communicated by adopting a narrow band, and the application considers that when the current narrow band signal strength is not satisfactory, a broadband network is used for transmitting the PTT service data so as to ensure the effective transmission of the PTT service data and further improve the robustness of the PTT service communication.
Specifically, after S32, the BP actively notifies the AP to make the AP core read the PTT flag or make the AP actively read the PTT flag through its AP core, at this time, the PTT flag is the first predetermined value, that is, it is determined that the narrowband signal strength does not meet the requirement, because the AP is currently in the power-on process, its operating system is not loaded, the application processor of the communication terminal first creates a communication process related to the PTT function from its core, for example, initializes the broadband communication circuit, creates a broadband communication process in the core to interact with a network end (e.g., a base station) to transmit a protocol, after the protocol interaction is completed, it may be considered that a communication process related to the PTT function has been created, and when the PTT service data needs to be transmitted, the AP core encapsulates the PTT service data, and transmits the PTT service data after the broadband encapsulation through the network. It is understood that, as described above in S12, the communication terminal can either create the communication process related to the PTT function first and then load the operating system, or create the communication process related to the PTT function and load the operating system simultaneously.
For example, by using an intercom, after the protocol interaction is completed, the PTT button of the intercom is pressed and triggered, that is, the AP of the intercom reads the register of the CPLD to read and obtain the value representing the channel corresponding to the PTT service data, where, as shown in fig. 5, different values read from the register correspond to different channels. For example, a read value of 00000001 would indicate channel CH 1; a read value of 00000002 would indicate channel CH2 and so on. And the AP determines a channel corresponding to the PTT service data according to the read value, so that a transmission path of the PTT service data can be obtained. And the AP packages the PTT service data by the inner core thereof and sends the packaged PTT service data out by adopting the obtained transmission path through the broadband network. The register value may be determined by the communication terminal according to the rotation of the knob of the communication terminal by the user and stored in the register.
Further, after a communication process related to the PTT function is created by the AP kernel, the current narrowband signal strength may be detected at regular time, i.e., the method is executed at regular time, so as to recover to transmit PTT service data by the narrowband network when the narrowband signal strength is good. Specifically, after the S35 is executed to execute the communication process related to the PTT function created by the AP kernel, and after the AP operating system is loaded, if it is detected that the current narrowband signal meets the preset strength requirement, the PTT service data to be transmitted is transmitted through the narrowband network.
Further, when the current narrowband signal strength does not meet the preset strength requirement, the communication terminal may turn off the narrowband communication circuit related to the narrowband communication, so as to save power consumption. In some embodiments in which the communication terminal detects the strength of the narrowband signal at regular time, the communication terminal may periodically enable the narrowband communication circuit to resume operation to detect the strength of the narrowband signal, and turn off the narrowband communication circuit when the strength of the narrowband signal is obtained and it is determined that the strength of the narrowband signal does not meet the requirements. The closing and the working of the narrow-band communication circuit can be directly controlled by the narrow-band communication circuit or controlled by the application processor. In a specific application, after the step S35 of executing the communication procedure related to the PTT function created by the AP kernel and after the AP operating system is loaded, if it is detected that the current narrowband signal does not meet the preset strength requirement, the narrowband communication circuit of the communication terminal is turned off. Of course, in other applications, after the step S35 of executing the communication process related to the PTT function created by the AP kernel and before the AP operating system is loaded, if it is detected that the current narrowband signal does not meet the preset strength requirement, the narrowband communication circuit of the communication terminal may be turned off; still alternatively, after performing S35 to create a communication procedure related to the PTT function by the AP core, that is, by default, all narrowband signals are transmitted through the broadband network, so the narrowband communication circuit of the communication terminal is directly turned off.
S36: and the communication terminal normally loads an operating system.
Because the current narrow-band signal strength meets the requirement, the AP kernel does not need to create a communication process related to the PTT function preferentially for the PTT service data, so the operating system can be loaded normally, i.e., the operating system start-up mode is selected, and after the start-up is completed, the communication terminal can be called from the operating system to the lower layer to realize the transmission of the narrow-band service data through the narrow-band network, as shown in fig. 2.
It will be appreciated that the narrowband network and the broadband network described above may be a trunked communication network, or a public network. For example, the narrowband network is a narrowband cluster network, and the broadband network is a broadband public network.
Referring to fig. 6, fig. 6 is a partial flowchart of a third embodiment of a power-on method of a communication terminal according to the present application. In this embodiment, the communication terminal method includes the steps shown in fig. 1 or fig. 3, and after the step of creating the communication process related to the PTT function by the AP kernel in preference to the service process of the operating system is executed, further includes the following steps:
s65: and after the communication terminal is started, maintaining the communication process related to the PTT function.
After the AP operating system is loaded, that is, the communication terminal is powered on, and at this time, in order to reduce the call time for transmitting the service data, a communication process related to the PTT function is maintained, so that when the communication terminal needs to transmit PTT service data, the AP kernel encapsulates the PTT service data, and the encapsulated PTT service data is transmitted. If the communication process related to the PTT function is for PTT service data to be transmitted through the broadband network (as in the second embodiment above), that is, when the PTT service data needs to be transmitted, the AP core encapsulates the PTT service data, and transmits the encapsulated PTT service data through the broadband network.
The communication process related to the PTT function may be maintained as if the communication process is not terminated after the terminal is powered on, but the communication process is in an operating state when the communication terminal is in a wake-up state, and when the communication terminal is in a sleep state, the communication process may be temporarily interrupted and continue to operate when the terminal is awakened.
S66: and if the communication terminal receives the wake-up signal when the communication terminal is in the dormant state, the AP kernel wakes up the communication process related to the PTT function.
For example, when the communication terminal enters the sleep state, the communication process created by the AP kernel is suspended, that is, the sleep state is also performed. When the communication terminal receives the wake-up signal, for example, the PTT button is triggered, the CPLD informs the AP. The communication process is operated in the kernel, so the communication process can be directly awakened by the AP kernel, and the communication process of the AP kernel is awakened at the moment, so that the PTT service data can be packaged by the AP kernel without waiting for the normal operation of the operating system to recover when the relevant PTT service data needs to be transmitted, and the packaged PTT service data is transmitted through a corresponding network. And after the transmission is completed, the communication terminal may continue to enter the above-described sleep state. In the embodiment, the communication process related to the PTT function runs in the kernel, the dormancy wakeup process is initiated by the communication process, and the operation system does not need to be waited to resume running when the communication process is awakened, so that the calling of the dormancy wakeup process of an upper layer is reduced, the time for waiting for the resumption of running of the upper layer for dormancy wakeup is greatly reduced, and the dormancy wakeup process is simplified.
It is understood that, in other embodiments, after the communication terminal is powered on, since the operating system is already started at this time, the calling of the upper application can be realized, so that the communication process related to the PTT function can be ended, and then, the related service data can be called from the upper application to the bottom application of the operating system according to the existing communication mode, similar to the mode shown in fig. 2.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a communication terminal according to an embodiment of the present application. In the present embodiment, the communication terminal 70 includes a memory 71, a processor 72, and a communication circuit 73. Wherein the various components of the communication terminal 70 may be coupled together by a bus or the processor of the communication terminal 70 may be connected to the other components one by one, respectively.
The communication circuit 73 is used for implementing communication with other devices, such as other base stations, core network devices, user equipment, and the like, and specifically may include a transmitter and a receiver. Further, when the communication terminal 70 is a dual-mode communication terminal, that is, can implement both narrowband communication and wideband communication, the communication circuit 73 may include a narrowband communication circuit and a wideband communication circuit.
The memory 71 is used for storing computer instructions executed by the processor 72 and data of the processor 72 in the processing process, wherein the memory 71 comprises a nonvolatile storage part for storing the computer instructions. In another embodiment, the memory 71 may be used as only the memory of the processor 72 to cache the computer instructions executed by the processor 72, the computer instructions are actually stored in a device outside the terminal, and the processor 72 is connected with the external device to execute the corresponding processing by calling the externally stored computer instructions.
The processor 72 controls the operation of the communication terminal 70, and the processor 72 may also be referred to as a Central Processing Unit (CPU). The processor 72 may be an integrated circuit chip having signal processing capabilities. The processor 72 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The processor 72 may include an application processor and a baseband processor, or simply an application processor.
In this embodiment, processor 72, by invoking computer instructions stored by memory 71, is configured to: receiving a starting-up instruction and entering a starting-up process; after running the AP kernel, the AP kernel establishes a communication process related to the PTT function in preference to a service process of an operating system; the communication process is a process that implements the basic PTT communication function.
Optionally, the processor 72 executes the creating, by the AP kernel, a communication process related to the PTT function in preference to the service process of the operating system after running the application processor AP kernel, including: after the AP kernel of the application processor is operated and the communication terminal is set to be in a PTT priority mode, the AP kernel establishes a communication process related to a PTT function in preference to a service process of an operating system.
Optionally, the processor 72 executes the creating, by the AP kernel, a communication process related to the PTT function in preference to the service process of the operating system after running the application processor AP kernel, including: after the AP kernel of the application processor is operated and the current narrow-band signal strength does not meet the preset strength requirement, the AP kernel takes precedence over the service process of the operating system to create a communication process related to the PTT function.
Further, the processor 72, after executing the enter boot flow, is further configured to: judging whether the current narrowband signal intensity meets the preset intensity requirement or not through BP; if not, writing a preset value in the quick PTT identification bit; the processor 72 executes the steps of creating a communication process related to the PTT function by the AP kernel in preference to a service process of the operating system when the current narrowband signal strength does not meet the predetermined strength requirement, including: and when the AP kernel reads that the quick PTT identification bit is a preset value, the AP kernel establishes a communication process related to the PTT function in preference to a service process of an operating system.
Optionally, the processor 72, after executing the AP kernel to create a communication process related to the PTT function in preference to a service process of the operating system, is further configured to: and if the PTT service data needs to be transmitted, the AP kernel packages the PTT service data and transmits the packaged PTT service data through a broadband network.
Further, the processor 72 is configured to complete the loading of the AP operating system after the AP kernel executes a communication process related to the PTT function in preference to a service process of the operating system; and if the current narrow-band signal is detected to meet the preset strength requirement, transmitting the PTT service data to be transmitted through the narrow-band network.
Optionally, the processor 72 is further configured to load an AP operating system after running the AP kernel, wherein the step of creating the communication process related to the PTT function by the AP kernel in preference to the service process of the operating system and the step of loading the AP operating system are executed by the AP of the communication terminal synchronously or sequentially. For example, as shown in fig. 8, processor 72 includes a first processing circuit 821 and a second processing circuit 822; specifically, the step of creating, by the AP kernel, a communication process related to the PTT function in preference to a service process of the operating system is performed by the first processing circuit 821; and the second processing circuit 822 is configured to synchronously load the AP operating system when the first processing circuit 821 performs the step of creating a communication process related to the PTT function by the AP kernel in preference to a service process of the operating system. It is understood that other steps performed by the processor 72 may be performed by both or one of the processing circuits, and are not limited herein.
Wherein the processing capability of the first processing circuitry may be higher than the processing capability of the second processing circuitry and/or the dominant frequency of the first processing circuitry may be higher than the dominant frequency of the second processing circuitry.
Optionally, the processor 72, after executing the communication process related to the PTT function created by the AP kernel in preference to the service process of the operating system, is further configured to: after the AP operating system is loaded, maintaining the communication process related to the PTT function; wherein, when the communication terminal is in a dormant state, the communication process related to the PTT function is suspended; and when the AP kernel is in a dormant state, if a wake-up signal is received, the AP kernel wakes up the communication process related to the PTT function.
Optionally, the processor 72, after executing the communication process related to the PTT function created by the AP kernel in preference to the service process of the operating system, is further configured to: and after the AP operating system is loaded, ending the communication process related to the PTT function.
In another embodiment, the processor 72 of the communication terminal 70 is further configured to perform the method of any of the above embodiments.
Referring to fig. 9, the present application further provides a schematic structural diagram of an embodiment of a memory device. In this embodiment, the storage device 90 stores processor-executable computer instructions 91, and the computer instructions 91 are used for executing the method in the above-described embodiment.
The storage device 90 may be a medium that can store computer instructions, 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, or may be a server that stores the computer instructions, and the server may send the stored computer instructions to other devices for operation or may self-operate the stored computer instructions.
In one embodiment, the storage device 90 may also be the memory 71 shown in fig. 7 or fig. 8.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an embodiment of a communication device according to the present application. In this embodiment, the communication device is used for the communication terminal, and includes a receiving module 101 and a creating module 102.
The receiving module 101 is configured to receive a boot instruction and enter a boot process;
the creating module 102 is configured to create, after running an AP kernel of an application processor, a communication process related to a PTT function by the AP kernel in preference to a service process of an operating system; the communication process is a process that implements the basic PTT communication function.
Optionally, the creating module 102 is specifically configured to create, after running the AP kernel of the application processor, a communication process related to the PTT function in preference to a service process of the operating system when the communication terminal is set to the PTT priority mode.
Optionally, the creating module 102 is specifically configured to create, by the AP kernel, a communication process related to the PTT function in preference to a service process of the operating system when the current narrowband signal strength does not meet a predetermined strength requirement after the AP kernel of the application processor is run.
Optionally, the communication device further includes a detection module 103 and a writing module 109, where the detection module 103 is configured to detect whether the current narrowband signal strength meets a preset strength requirement; the writing module 109 is configured to write a predetermined value in the fast PTT identifier when the current narrowband signal strength does not meet the preset strength requirement; the creating module 102 is specifically configured to, when the AP kernel reads that the fast PTT flag is a predetermined value, create, by the AP kernel, a communication process related to the PTT function in preference to a service process of the operating system.
Optionally, the communications apparatus further includes a first communications module 104, configured to, if PTT service data needs to be transmitted, package, by the AP core, the PTT service data by using a communications process created by the creation module 102, and transmit the packaged PTT service data through a broadband network.
Optionally, the communications apparatus further includes a second communications module 108, configured to transmit, when the AP operating system is loaded, the PTT service data to be transmitted through the narrowband network if it is detected that the current narrowband signal meets the preset strength requirement.
Optionally, the communication apparatus further includes a closing module 105, configured to close a narrowband communication circuit of the communication terminal when it is detected that the current narrowband signal does not meet the preset strength requirement when the AP operating system is loaded.
Optionally, the communications apparatus further includes a loading module 106, configured to load the AP operating system.
The creating module 102 and the loading module 106 are implemented by the processor of the communication terminal running synchronously. Alternatively, the creating module 102 and the loading module 106 are implemented by running the processors of the communication terminal one after another.
Optionally, the communication terminal further includes a mode processing module 107, configured to maintain the communication process related to the PTT function after the AP operating system is loaded; wherein, when the communication terminal is in a dormant state, the communication process related to the PTT function is suspended; and when the AP kernel is in a dormant state, if a wake-up signal is received, the AP kernel wakes up the communication process related to the PTT function; or the AP is used for finishing the communication process related to the PTT function after the AP operating system is loaded.
The modules of the communication device are configured to execute the corresponding steps of the method embodiments, and are not described herein again. The modules may be program modules.
In the above scheme, the communication terminal is any terminal device capable of implementing communication, such as an interphone, a mobile phone, a computer, and the like.
According to the scheme, when the communication terminal is started, the AP kernel directly takes precedence over the service process of the operating system to establish the communication process related to the PTT function, the communication terminal directly realizes the transmission of the PTT service data in the AP kernel without passing through the operating system of the communication terminal, so that the PTT service data transmission can be realized without waiting for the completion of the loading of the AP operating system, and the data transmission flow is simplified and the data transmission time is reduced when the PTT service data transmission is carried out every time, so that the communication efficiency of the communication terminal is improved when the communication terminal is started.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, 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 or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose 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 computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are merely examples and are not intended to limit the scope of the present disclosure, and all modifications, equivalents, and flow charts using the contents of the specification and drawings of the present disclosure or those directly or indirectly applied to other related technical fields are intended to be included in the scope of the present disclosure.
Claims (12)
1. A method for starting up a communication terminal, the method comprising:
the communication terminal receives a starting-up instruction and enters a starting-up flow;
after an Application Processor (AP) kernel is operated, the AP kernel establishes a communication process related to a PTT function in preference to a service process of an operating system; the communication process is a process that implements the basic PTT communication function.
2. The method of claim 1, wherein after the application processor AP kernel is run, the AP kernel creates a communication process related to the PTT function in preference to a service process of an operating system, and wherein the creating comprises:
after the AP kernel of the application processor is operated and the communication terminal is set to be in a PTT priority mode, the AP kernel establishes a communication process related to a PTT function in preference to a service process of an operating system.
3. The method of claim 1, wherein after the application processor AP kernel is run, the AP kernel creates a communication process related to the PTT function in preference to a service process of an operating system, and wherein the creating comprises:
after the AP kernel of the application processor is operated and the current narrow-band signal strength does not meet the preset strength requirement, the AP kernel takes precedence over the service process of the operating system to create a communication process related to the PTT function.
4. The method of claim 3,
after entering the boot process, the method further comprises:
the communication terminal detects whether the current narrowband signal intensity meets the preset intensity requirement or not through a baseband processor BP;
if not, writing a preset value in the quick PTT identification bit;
when the current narrow-band signal strength does not meet the preset strength requirement, the AP kernel takes precedence over the service process of the operating system to create a communication process related to the PTT function, and the communication process comprises the following steps:
and when the value of the quick PTT identification bit read by the AP kernel is a preset value, the AP kernel establishes a communication process related to the PTT function in preference to a service process of an operating system.
5. The method according to any one of claims 1 to 4,
after the AP kernel prioritizes the creation of the communication process related to the PTT function in preference to the service process of the operating system, the method further comprises:
and if the PTT service data needs to be transmitted, the AP kernel packages the PTT service data and transmits the packaged PTT service data through a broadband network.
6. The method of claim 5, wherein after the AP kernel creates the communication process related to the PTT function in preference to the service process of the operating system, the method further comprises:
completing the loading of the AP operating system;
and if the current narrow-band signal is detected to meet the preset strength requirement, transmitting the PTT service data to be transmitted through the narrow-band network.
7. The method of claim 5, wherein after the AP kernel creates the communication process related to the PTT function in preference to the service process of the operating system, the method further comprises:
completing the loading of the AP operating system;
and if the current narrow-band signal is detected to be not in accordance with the preset intensity requirement, closing the narrow-band communication circuit of the communication terminal.
8. The method of claim 1, wherein after running an Application Processor (AP) kernel, the method further comprises:
and loading an AP operating system, wherein the step of creating the communication process related to the PTT function by the AP kernel in preference to the service process of the operating system and the step of loading the AP operating system are synchronously or sequentially executed by the AP of the communication terminal.
9. The method of claim 1,
after the step of creating, by the AP kernel, a communication process related to a PTT function in preference to a service process of an operating system, the method further comprises:
after the AP operating system is loaded, maintaining the communication process related to the PTT function; wherein, when the communication terminal is in a dormant state, the communication process related to the PTT function is suspended; and
when the AP kernel is in a dormant state, if a wake-up signal is received, the AP kernel wakes up the communication process related to the PTT function;
alternatively, after the step of creating, by the AP kernel, a communication process related to the PTT function in preference to a service process of the operating system, the method further comprises:
and after the AP operating system is loaded, ending the communication process related to the PTT function.
10. A communication terminal comprising a memory, a processor, and a communication circuit;
the communication circuit is used for realizing communication with other equipment;
the processor is configured to execute the computer instructions stored by the memory to perform the method of any of claims 1 to 9.
11. The communication terminal according to claim 10,
the communication terminal is an interphone.
12. A storage device having stored thereon computer instructions executable by a processor to perform the method of any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811385868.2A CN109756855B (en) | 2018-11-20 | 2018-11-20 | Communication terminal, starting method thereof and storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811385868.2A CN109756855B (en) | 2018-11-20 | 2018-11-20 | Communication terminal, starting method thereof and storage device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109756855A CN109756855A (en) | 2019-05-14 |
CN109756855B true CN109756855B (en) | 2021-06-18 |
Family
ID=66402528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811385868.2A Active CN109756855B (en) | 2018-11-20 | 2018-11-20 | Communication terminal, starting method thereof and storage device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109756855B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101583941A (en) * | 2005-11-21 | 2009-11-18 | 英特尔公司 | Dynamic pre-operating system billboard service |
CN103262025A (en) * | 2010-10-01 | 2013-08-21 | Flex Electronics ID Co.,Ltd. | Cross-environment communication using application space API |
CN103517215A (en) * | 2012-06-21 | 2014-01-15 | 成都鼎桥通信技术有限公司 | Terminal and PTT call establishment method |
CN103516872A (en) * | 2012-06-19 | 2014-01-15 | 联想(北京)有限公司 | Terminal equipment and terminal equipment startup control method |
CN104145471A (en) * | 2012-03-05 | 2014-11-12 | 高通股份有限公司 | Method and apparatus to dynamically enable and control communication link optimizations on a communication device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI453603B (en) * | 2010-06-30 | 2014-09-21 | Ibm | Platform-independent information processing system, communication method thereof, and computer program product thereof |
-
2018
- 2018-11-20 CN CN201811385868.2A patent/CN109756855B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101583941A (en) * | 2005-11-21 | 2009-11-18 | 英特尔公司 | Dynamic pre-operating system billboard service |
CN103262025A (en) * | 2010-10-01 | 2013-08-21 | Flex Electronics ID Co.,Ltd. | Cross-environment communication using application space API |
CN104145471A (en) * | 2012-03-05 | 2014-11-12 | 高通股份有限公司 | Method and apparatus to dynamically enable and control communication link optimizations on a communication device |
CN103516872A (en) * | 2012-06-19 | 2014-01-15 | 联想(北京)有限公司 | Terminal equipment and terminal equipment startup control method |
CN103517215A (en) * | 2012-06-21 | 2014-01-15 | 成都鼎桥通信技术有限公司 | Terminal and PTT call establishment method |
Also Published As
Publication number | Publication date |
---|---|
CN109756855A (en) | 2019-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11252724B2 (en) | Electronic device for transmitting or receiving data in wireless communication system and method therefor | |
US9538445B2 (en) | Communication method and apparatus for electronic device in mobile communication system | |
CN110602725A (en) | Data service processing method, network side equipment, terminal equipment and storage medium | |
CN110225576A (en) | A kind of start-up control method and electronic equipment | |
WO2017166541A1 (en) | User device and method for waking from hibernation, and computer storage medium | |
CN105391468B (en) | Method and device for controlling carrier aggregation function | |
WO2022078314A1 (en) | Inactive state configuration method and device, and communication device | |
CN115696363A (en) | Method, device and terminal for executing gap | |
WO2020103089A1 (en) | Dual-card communication method and related product | |
CN107277907B (en) | Mobile terminal and control method thereof | |
JP5545453B2 (en) | Communication device | |
US10440621B2 (en) | Changing method of a communication mode and an electronic device supporting the same | |
CN114786270A (en) | Carrier aggregation control method and device, terminal and network side equipment | |
KR102763619B1 (en) | Message notification method, terminal and network device | |
CN109756855B (en) | Communication terminal, starting method thereof and storage device | |
CN110502280B (en) | Android operating system starting method and device, storage medium and terminal | |
CN111683414A (en) | Method for realizing connection configuration, user equipment and storage medium | |
CN114866106B (en) | Multi-module communication system and data processing method | |
CN115474255B (en) | Relay service method and device based on side link, terminal and network side equipment | |
WO2023066308A1 (en) | Sl drx configuration method and apparatus, and terminal | |
CN105490702B (en) | A kind of control method and device of carrier aggregation function | |
CN112825597B (en) | Terminal device and wireless communication method | |
WO2022237616A1 (en) | Resource pool configuration method and apparatus, and terminal and network side device | |
CN117560653A (en) | UE capability control method, device, terminal and network side equipment | |
KR20230113625A (en) | Reference signal configuration method, apparatus and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |