Software version compatibility method and apparatus for heterogeneous networks, terminal device, and medium

By reading the terminal hardware attributes and dynamically loading or stopping the loading of modem services, the problem of poor portability when switching between WiFi and LTE software versions is solved, enabling free switching and memory optimization.

CN116405909BActive Publication Date: 2025-12-09SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310377285.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-10
Publication Date
2025-12-09
Estimated Expiration
2043-04-10

AI Technical Summary

Technical Problem

Existing technologies have poor portability in switching between WiFi and LTE software versions, making it impossible to switch freely.

Method used

By reading the terminal's hardware attributes, the modem service can be dynamically loaded or stopped, enabling free switching between WiFi and LTE software versions, including initialization, code transfer, register release, and device node management.

Benefits of technology

The terminal system can dynamically load modulation and demodulation services based on hardware attributes, which improves the portability and switching efficiency of software versions and avoids memory consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116405909B_ABST
    Figure CN116405909B_ABST
Patent Text Reader

Abstract

The application provides a software version compatibility method, device and equipment of a heterogeneous network and a medium, relates to the technical field of communication, and is used to compatibly support the software version of a heterogeneous network and realize free switching of the software version of WiFi and the software version of LTE. The method comprises the following steps: reading the hardware attribute of a terminal; when it is determined according to the hardware attribute that the current mode of the terminal is only a WiFi mode, stopping loading and starting a modulation and demodulation service; and when it is determined according to the hardware attribute that the current mode of the terminal is an LTE mode, loading and starting the modulation and demodulation service.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of communication technology, in particular to a software version compatibility method, device, terminal equipment and medium of a heterogeneous network. BACKGROUND

[0002] Wireless Fidelity (WiFi) is a technology that can wirelessly connect terminals to each other, and is used to improve the interoperability between wireless network products based on the IEEE 802.11 standard. Long Term Evolution (LTE) is a long-term evolution of the Universal Mobile Telecommunications System (UMTS) technical standard formulated by the 3rd Generation Partnership Project (3GPP) organization. At present, the scheme mostly adopted by the software version that exclusively supports WiFi is to remove the modem module as a whole or to realize the non-starting of the modem by using software. However, the scheme has the problem of poor portability and cannot freely realize the free switching between the WiFi software version and the LTE software version.

[0003] Therefore, it is urgent to provide a software version compatibility scheme to improve the above problems. SUMMARY

[0004] The present application provides a software version compatibility method, device, terminal equipment and medium of a heterogeneous network, which are used to compatibly support the software version of the heterogeneous network and realize the free switching between the WiFi software version and the LTE software version.

[0005] In a first aspect, the present application provides a software version compatibility method of a heterogeneous network, which comprises the following steps: reading the hardware attribute of a terminal; when it is determined according to the hardware attribute that the current mode of the terminal is a WiFi-only mode, stopping the loading and starting of a modem service; and when it is determined according to the hardware attribute that the current mode of the terminal is an LTE-supported mode, loading and starting the modem service.

[0006] The software version compatibility method of the heterogeneous network has the beneficial effect that the terminal system can dynamically load the modem service according to the hardware attribute, realize the free switching between the WiFi software version and the LTE software version, and has good portability.

[0007] In a possible embodiment, when it is determined according to the hardware attribute that the current mode of the terminal is the WiFi-only mode, the loading of the starting of the modem service is stopped, including: when the current mode of the terminal is the WiFi-only mode, the initialization of the structure related to the modem service is stopped, the code related to the modem service or other subsystems is not carried to the designated area, the related registers for controlling the running of the modem are not released, the task for monitoring the modem is not created, and the message for starting the modem is not transmitted to the clients.

[0008] In a possible embodiment, after the loading of the starting of the modem service is stopped, the method further includes: when it is determined according to the hardware attribute that the current mode of the terminal is the WiFi-only mode, the device node is adaptively deleted. In this embodiment, the optimization of the WiFi software version is realized according to the attributes of different hardware, and the occupation of the memory is avoided.

[0009] In a possible embodiment, when it is determined according to the hardware attribute that the current mode of the terminal is the LTE-supported mode, the loading of the starting of the modem service is started, including: the initialization of the structure related to the modem service is performed, the code related to the modem service or other subsystems is carried to the designated area, the operation is performed after the carrying, then the related registers for controlling the running of the modem are released, and finally the starting of the modem service is successful.

[0010] In a possible embodiment, the hardware attribute includes the general-purpose input and output (GPIO) of the hardware and the chip identification.

[0011] In a second aspect, an embodiment of the present application provides a terminal, including a processor and a memory. The memory is configured to store one or more computer programs; when the one or more computer programs stored in the memory are executed by the processor, the terminal is enabled to implement the method of any possible design of the first aspect.

[0012] In a third aspect, an embodiment of the present application further provides a software version compatible device of a heterogeneous network, which includes modules / cells for implementing the method of any possible design of the first aspect. These modules / cells can be implemented by hardware, or implemented by hardware executing corresponding software.

[0013] In a fourth aspect, an embodiment of the present application further provides a computer readable storage medium, which includes a computer program. When the computer program is run on a terminal, the terminal executes the method of any possible design of any aspect.

[0014] In a fifth aspect, an embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program product is run on a terminal, the terminal executes the method of any possible design of any aspect.

[0015] In a sixth aspect, the embodiments of the present application further provide a chip or a chip module, which is coupled with a memory and used for executing a computer program stored in the memory, so that a terminal executes the method of any possible design of any one of the above aspects.

[0016] The beneficial effects of the above-mentioned second to sixth aspects can be referred to the description of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0017] Figure 1 A communication system schematic diagram provided by the embodiments of the present application;

[0018] Figure 2 A heterogeneous network software version compatibility method schematic diagram provided by the embodiments of the present application;

[0019] Figure 3 A terminal system modulation and demodulation service dynamic loading process schematic diagram provided by the embodiments of the present application;

[0020] Figure 4 A heterogeneous network software version compatibility device structure schematic diagram provided by the embodiments of the present application;

[0021] Figure 5 A communication device structure schematic diagram provided by the embodiments of the present application. DETAILED DESCRIPTION

[0022] The technical solutions of the present application can be applied to various communication systems, such as long term evolution (LTE) system, worldwide interoperability for microwave access (WiMAX) communication system, 5th generation (5G) system, such as new radio access technology (NR), and future communication system, such as 6th generation (6G) system, etc.

[0023] The technical solutions provided by the present application can be applied to a heterogeneous communication network, that is, the network supported by the terminal in the embodiments of the present application can be a network in which multiple radio access technologies exist simultaneously, for example, a wireless fidelity (WiFi) network and a long term evolution (LTE) network exist simultaneously.

[0024] For the purposes of the present application, the term "coupled" is used to describe both an indirect

[0025] In the present application, the word "exemplary" or "for example" is used to illustrate, exemplify, or describe a specific embodiment or implementation. Any embodiment or implementation described as "exemplary" or "for example" in the present application should not be construed as being more preferred or advantageous than other embodiments or implementations. Rather, use of the word "exemplary" or "for example" is intended to present concepts in a concrete manner.

[0026] In some scenarios, the present application is described in the context of LTE and WiFi networks in a wireless communication network. It should be noted that the present application can also be applied to other wireless communication networks, and the corresponding names can also be replaced by the corresponding names of the functions in other wireless communication networks.

[0027] To facilitate understanding of the present application, first take the communication system shown in Figure 1 as an example to describe in detail the communication system applicable to the present application. Figure 1 The communication system shown in FIG. 1 is applicable to the present application. As shown in Figure 1 the communication system 100 includes a network device 102 and a terminal 106, the network device 102 can be configured with one or more antennas, and the terminal can also be configured with one or more antennas. Optionally, the communication system can also include a network device 104, which can also be configured with multiple antennas.

[0028] It should be understood that the network device 102 or the network device 104 can also include a plurality of components (e.g., a processor, a modulator, a multiplexer, a demodulator, or a demultiplexer, etc.) related to signal transmission and reception.

[0029] The network device is a device with wireless transceiving function or a chip that can be arranged in the device. The device includes, but is not limited to, an evolved Node B (eNB), a radio network controller (RNC), a Node B (NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (e.g., a home eNB or a home NB, HNB), a baseband unit (BBU), an access point (AP) in a wireless fidelity (WIFI) system, a wireless relay node, a wireless backhaul node, a transmission and reception point (TRP or TP), etc. The network device can also be a gNB or a TP in a 5G (e.g., a NR) system, one or a group of (including multiple antenna panels) antenna panels of a base station in a 5G system, or a network node (e.g., a BBU or a distributed unit (DU)) constituting a gNB or a TP.

[0030] In some deployments, a gNB can include a centralized unit (CU) and a DU. The gNB can also include a radio unit (RU). The CU implements part of the functionality of the gNB and the DU implements part of the functionality of the gNB, for example, the CU implements the radio resource control (RRC) and packet data convergence protocol (PDCP) layers, and the DU implements the radio link control (RLC), media access control (MAC), and physical (PHY) layers. Since the information at the RRC layer eventually becomes, or is translated into, information at the PHY layer, high layer signaling, such as RRC layer signaling or PDCP layer signaling, can also be considered as being transmitted by the DU, or by the DU+RU, under this architecture. It can be understood that a network device can be a CU node, or a DU node, or a device including a CU node and a DU node. In addition, the CU can be divided into a network device in an access network RAN, or the CU can be divided into a network device in a core network CN, which is not limited here.

[0031] The terminal 106 can also be referred to as a user equipment (UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or a user device. The terminal in the embodiments of the present application can be a mobile phone, a Pad, a smart printer, a train detector, a gas station detector, a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical treatment, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, and the like. The embodiments of the present application do not limit the application scenarios. The terminal 106 and the chip that can be arranged in the terminal 106 in the present application are collectively referred to as a terminal.

[0032] Both network device 102 and network device 104 can communicate with multiple terminals (such as terminal 106 shown in the figure). Network device 102 and network device 104 can communicate with any number of terminals similar to terminal 106. However, it should be understood that the terminal communicating with network device 102 and the terminal communicating with network device 104 can be the same or different. Figure 1 The terminal 106 shown can communicate with both network device 102 and network device 104 simultaneously, but this only shows one possible scenario. In some scenarios, the terminal may only communicate with network device 102 or network device 104, and the present invention does not limit this.

[0033] It should be understood that Figure 1 This is a simplified illustration for ease of understanding only. The communication system may also include other network devices or other terminals. Figure 1 It was not drawn in the middle.

[0034] To ensure compatibility with software versions in heterogeneous networks and enable seamless switching between WiFi and LTE software versions, this invention provides a method for achieving software version compatibility in heterogeneous networks. This method can be executed by a terminal. In the following embodiments of this invention, the terminal can be... Figure 1 The terminal 106 shown below, the network device in the following content can be Figure 1 The network device 102 shown is illustrated. It should be understood that in this invention, the steps executed by the terminal can also be specifically executed by a module or component of the terminal, such as a chip within the terminal. The following embodiments are described with the terminal as the executing entity. Figure 2 The flowchart illustrates a software version compatibility method for heterogeneous networks provided by an embodiment of the present invention. The method includes:

[0035] S201, Read the terminal's hardware attributes;

[0036] S202, when it is determined from the hardware attributes that the current mode of the terminal is WiFi-only, stop loading and start the modem service; when it is determined from the hardware attributes that the current mode of the terminal is LTE-supported, load and start the modem service.

[0037] The hardware attribute in the embodiment can refer to general-purpose input / output (GPIO) and chip identification (chipid) of the hardware. Since the gpio, chipid and the like are different in different software versions, the hardware attribute is read by using a system command line (cmdline) to realize adaptive software version switching, i.e., the Modem control service needs to be judged by analyzing the cmdline to determine whether to load and start the Modem. It can be seen that the terminal system can realize dynamic loading of the modem service according to the hardware attribute, and realize free switching of the WiFi software version and the LTE software version.

[0038] The process of loading and starting the modem service in the embodiment mainly refers to: initializing the structure related to the modem service, carrying the code related to the modem service or other subsystems to the specified area, releasing the register related to controlling the modem to run after the carrying operation is completed, and finally starting the modem service successfully. It can be seen that when the current mode of the terminal is only the WiFi mode, the modem-related structure is not initialized, such as Removeinitcploadinfo, the modem-related code is not carried (such as Removecploadinfoimg), the register related to controlling the modem to run is not released, the task of monitoring the modem is not created (such as Removelistenmodemtask), and the message of modem alive is not transmitted to the clients (such as Removewait modemalive).

[0039] In a possible implementation, the Modem-related device node is adaptively deleted according to the hardware attribute when the current mode of the terminal is only the WiFi mode, as shown in the example of Figure 3 When the terminal system is started, it is firstly judged whether the current mode of the terminal is only the WiFi mode. If yes, the device nodes of the LTE network are removed, such as stty_lte / sdiag_lte / spipe_lte / sipc_lte / spool and the like. Otherwise, the process of dynamically loading the modem service is completed and then the process is ended.

[0040] The terminal system in the embodiment can dynamically load the modem according to the properties of different hardware, realize adaptive switching between WiFi only and LTE version, and realize that the modem is cut in software form when the current mode is only the WiFi mode. It should be understood that, due to the starting of the modem, the sp, the dp and the like, the monitoring and the like are all controlled and guided by the modem, in order to realize shielding of the modem and without affecting the starting of the sp, the dp and the like, the control of the modem cannot be completely shielded. Since the WiFi software version stops the service of the modem, the device nodes related to the modem still exist, although they will not affect the stopping of the service of the modem, they will still send related instructions and occupy the memory, therefore, deleting the device nodes related to the modem can further realize optimization of the WiFi software version.

[0041] The same as the concept of the above embodiment, the embodiment of the application further provides a software version compatible device of a heterogeneous network. The device 400 is used to realize the function of the terminal in the above method. The device 400 can be a terminal or a device in the terminal. The device can be a chip system. In the embodiment of the application, the chip system can be composed of a chip or can include the chip and other discrete devices.

[0042] In an example, as shown in Figure 4 The device 400 includes a reading module 401 configured to read the hardware properties of the terminal, and a processing module 402 configured to stop loading and starting the modem service when it is determined according to the hardware properties that the current mode of the terminal is only the WiFi mode, and load and start the modem service when it is determined according to the hardware properties that the current mode of the terminal is the LTE mode.

[0043] The division of the modules in the embodiment of the application is illustrative, and is only a logical function division. In actual implementation, there can be another division mode. In addition, the function modules in each embodiment of the application can be integrated in one processor, or can be physically separated, or two or more modules can be integrated in one module. The integrated module can be realized in the form of hardware or in the form of a software function module.

[0044] In another example, as shown in Figure 5As shown, the communication apparatus 500 includes at least one processor 510 and a memory 520. The memory 520 stores a computer program. The memory 520 and the processor 510 are coupled. The communication apparatus 500 can refer to the terminal as described above. The coupling in the embodiments of the present application is the spatial coupling or communication connection between devices, units or modules, which can be electrical, mechanical or other form, for information interaction between devices, units or modules. As another implementation, the memory 520 can also be located outside the communication apparatus 500. The processor 510 can operate in cooperation with the memory 520. The processor 510 can invoke the computer program stored in the memory 520. At least one of the at least one memory can be included in the processor.

[0045] In some embodiments, the communication apparatus 500 can further include a communication interface 530 for communicating with other devices through a transmission medium, so that the devices in the communication apparatus 500 can communicate with other devices. For example, the communication interface 530 can be a transceiver, a circuit, a bus, a module or other types of communication interfaces, and the other devices can be other terminals. The processor 510 transceives information by using the communication interface 530, and is used to implement the method in the above embodiments. For example, the communication interface 530 is used to receive resource indication information. For another example, the communication interface 530 is used to send data.

[0046] In the embodiments of the present application, the processor can be a general processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application. The general processor can be a microprocessor or any conventional processor. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as hardware processor execution or executed by a combination of hardware and software modules in the processor.

[0047] In the embodiments of the present application, the memory can be a non-volatile memory such as a hard disk drive (HDD) or a solid-state drive (SSD), and can also be a volatile memory such as a random access memory (RAM). The memory can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by a computer, but is not limited to this. The memory in the embodiments of the present application can also be a circuit or other any device capable of realizing a storage function, for storing computer programs and / or data.

[0048] The application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a computer to implement the method in the above method embodiments.

[0049] The application further provides a computer program product, which is executed by a computer to implement the method in the above method embodiments.

[0050] The application further provides a chip or a chip module, which is coupled with a memory and used for executing a computer program stored in the memory, so that a terminal executes the method in the above method embodiments.

[0051] The method provided by the embodiments of the present application can be implemented by software, hardware, firmware or any combination thereof, in whole or in part. When implemented by software, the method can be implemented in the form of a computer program product, in whole or in part. The computer program product includes one or more computer instructions. When the computer program is loaded and executed on a computer, the computer program produces the flow or function described in the embodiments of the present application, in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment or other programmable apparatus. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more media. The medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a digital video disc (DVD)) or a semiconductor medium (such as an SSD) and the like.

[0052] Obviously, those skilled in the art can make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A software version compatibility method of a heterogeneous network, characterized by, The method comprises: reading hardware attributes of the terminal; stopping loading and starting the modem service when it is determined according to the hardware attributes that the current mode of the terminal is the WiFi-only mode; and loading and starting the modem service when it is determined according to the hardware attributes that the current mode of the terminal is the LTE mode; wherein the stopping loading and starting the modem service comprises: no longer initializing the structure body related to the modem service, no longer carrying the code related to the modem service or other subsystems to the designated area, no longer releasing the related registers for controlling the operation of the modem, no longer creating the task monitored by the modem, and no longer transmitting the message for starting the modem to each client; the loading and starting the modem service comprises: initializing the structure body related to the modem service, carrying the code related to the modem service or other subsystems to the designated area, releasing the related registers for controlling the operation of the modem after the operation is completed, and finally starting the modem service successfully.

2. The method of claim 1, wherein, After the stopping loading and starting the modem service, the method further comprises: adaptively deleting the device node when it is determined according to the hardware attributes that the current mode of the terminal is the WiFi-only mode.

3. The method of claim 1, wherein, The hardware attributes comprise the general-purpose input and output (GPIO) and the chip identification of the hardware.

4. A software version compatibility apparatus for a heterogeneous network, characterized by comprising: The apparatus comprises: a reading module configured to read hardware attributes of the terminal; a processing module configured to stop loading and starting the modem service when it is determined according to the hardware attributes that the current mode of the terminal is the WiFi-only mode; and load and start the modem service when it is determined according to the hardware attributes that the current mode of the terminal is the LTE mode; wherein the stopping loading and starting the modem service comprises: no longer initializing the structure body related to the modem service, no longer carrying the code related to the modem service or other subsystems to the designated area, no longer releasing the related registers for controlling the operation of the modem, no longer creating the task monitored by the modem, and no longer transmitting the message for starting the modem to each client; the loading and starting the modem service comprises: initializing the structure body related to the modem service, carrying the code related to the modem service or other subsystems to the designated area, releasing the related registers for controlling the operation of the modem after the operation is completed, and finally starting the modem service successfully.

5. The apparatus of claim 4, wherein, After the processing module stops loading and starting the modem service, the processing module is further configured to: adaptively delete the device node when it is determined according to the hardware attributes that the current mode of the terminal is the WiFi-only mode.

6. The apparatus of claim 4, wherein, The hardware attributes comprise the general-purpose input and output (GPIO) and the chip identification of the hardware.

7. A terminal, characterized by comprising: The apparatus comprises a memory and a processor, and the memory stores a computer program capable of running on the processor, and when the computer program is executed by the processor, the terminal executes the method according to any one of claims 1 to 3.

8. A computer-readable storage medium having stored therein a computer program, characterized in that, The computer program is executed by the processor to implement the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Mobile communication terminal and network access method thereof

    CN102098761A

  • Method and device for controlling modem communication module

    CN107787028A