CN116405909A - Software version compatibility method, device, terminal equipment and medium of heterogeneous network - Google Patents
Software version compatibility method, device, terminal equipment and medium of heterogeneous network Download PDFInfo
- Publication number
- CN116405909A CN116405909A CN202310377285.XA CN202310377285A CN116405909A CN 116405909 A CN116405909 A CN 116405909A CN 202310377285 A CN202310377285 A CN 202310377285A CN 116405909 A CN116405909 A CN 116405909A
- Authority
- CN
- China
- Prior art keywords
- terminal
- modem
- modem service
- wifi
- hardware
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/50—Service provisioning or reconfiguring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明提供了一种异构网络的软件版本兼容方法、装置、设备和介质,涉及通信技术领域,用以兼容异构网络的软件版本,实现WiFi软件版本与LTE软件版本的自由切换。该方法包括:读取终端的硬件属性;当根据所述硬件属性确定终端当前模式为仅支持WiFi模式时,停止加载启动调制解调服务;当根据所述硬件属性确定终端当前模式为支持LTE模式时,加载启动调制解调服务。
The invention provides a heterogeneous network software version compatibility method, device, equipment and medium, which relate to the field of communication technology and are used to be compatible with the software version of the heterogeneous network and realize free switching between the WiFi software version and the LTE software version. The method includes: reading the hardware attribute of the terminal; when it is determined according to the hardware attribute that the current mode of the terminal is only supporting WiFi mode, stopping loading and starting the modem service; when determining according to the hardware attribute that the current mode of the terminal is supporting LTE mode , load and start the modem service.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种异构网络的软件版本兼容方法、装置、终端设备和介质。The present invention relates to the technical field of communication, and in particular to a software version compatible method, device, terminal equipment and medium of a heterogeneous network.
背景技术Background technique
无线保真(WirelessFidelity,WiFi)是一种可以将终端以无线方式互相连接的技术,用于改善基于IEEE802.11标准的无线网络产品之间的互通性。长期演进(LongTermEvolution,LTE)是由第三代合作伙伴计划(the3rdGenerationPartnershipProject,3GPP)组织制定的通用移动通信系统(UniversalMobileTelecommunicationsSystem,UMTS)技术标准的长期演进。目前,专一支持WiFi的软件版本大部分采用的方案是将调制解调器模块整体移除或者采用软件的方式实现调制解调器不启动。但是该方案存在的问题是方案的可移植性差,不能自由实现WiFi软件版本与LTE软件版本的自由切换。Wireless Fidelity (Wireless Fidelity, WiFi) is a technology that can connect terminals to each other in a wireless manner, and is used to improve interoperability between wireless network products based on the IEEE802.11 standard. Long Term Evolution (Long Term Evolution, LTE) is a long term evolution of the Universal Mobile Telecommunications System (Universal Mobile Telecommunications System, UMTS) technical standard developed by the 3rd Generation Partnership Project (the 3rd Generation Partnership Project, 3GPP). At present, most of the software versions that only support WiFi adopt the solution of removing the modem module as a whole or using software to disable the modem from starting. However, the problem with this solution is that the solution has poor portability, and free switching between the WiFi software version and the LTE software version cannot be freely realized.
因此,亟需提供一种软件版本的兼容方案可以改善上述问题。Therefore, there is an urgent need to provide a software version compatibility solution that can improve the above problems.
发明内容Contents of the invention
本发明提供一种异构网络的软件版本兼容方法、装置、终端设备和介质,用以兼容异构网络的软件版本,实现WiFi软件版本与LTE软件版本的自由切换。The invention provides a heterogeneous network software version compatibility method, device, terminal equipment and medium, which are used to be compatible with the heterogeneous network software version and realize free switching between the WiFi software version and the LTE software version.
第一方面,本发明提供一种异构网络的软件版本兼容方法,该方法包括:读取终端的硬件属性;当根据所述硬件属性确定终端当前模式为仅支持WiFi模式时,停止加载启动调制解调服务;当根据所述硬件属性确定终端当前模式为支持LTE模式时,加载启动调制解调服务。In the first aspect, the present invention provides a software version compatibility method for a heterogeneous network, the method comprising: reading the hardware attribute of the terminal; when it is determined according to the hardware attribute that the current mode of the terminal is only WiFi mode, stop loading and start modulation Demodulation service: when it is determined according to the hardware attribute that the current mode of the terminal supports LTE mode, load and start the modem service.
本发明上述异构网络的软件版本兼容方法的有益效果在于:终端系统能够根据硬件属性实现对调制解调服务进行动态的加载,实现WiFi软件版本与LTE软件版本的自由切换,方案的可移植性好。The beneficial effect of the software version compatibility method of the heterogeneous network of the present invention is that the terminal system can dynamically load the modulation and demodulation service according to the hardware attributes, realize the free switching between the WiFi software version and the LTE software version, and the portability of the scheme good.
在一种可能的实施例中,当根据所述硬件属性确定终端当前模式为仅支持WiFi模式时,停止加载启动调制解调服务,包括:在终端当前模式为仅支持WiFi模式时,则不再对调制解调服务相关的结构体进行初始化,不将调制解调服务或其它子系统相关的代码搬运到指定的区域,不释放控制调制解调器运行的相关寄存器和不创建调制解调器监控的任务,不再将调制解调器启动的消息传到各个客户端中。In a possible embodiment, when it is determined according to the hardware attributes that the current mode of the terminal supports only WiFi mode, stopping loading and starting the modem service includes: when the current mode of the terminal supports only WiFi mode, no longer Initialize the structure related to the modem service, do not move the code related to the modem service or other subsystems to the designated area, do not release the relevant registers that control the operation of the modem and do not create tasks for modem monitoring, and no longer Modem-initiated messages are passed to individual clients.
在一种可能的实施例中,在停止加载启动调制解调服务之后,还包括:根据硬件属性确定终端当前模式为仅支持WiFi模式时,自适应删除设备节点。该实施例中根据不同硬件的属性实现WiFi软件版本的优化,避免占用内存。In a possible embodiment, after stopping loading and starting the modem service, it further includes: when it is determined according to the hardware attribute that the current mode of the terminal is only supporting WiFi mode, adaptively deleting the device node. In this embodiment, the optimization of the WiFi software version is realized according to the attributes of different hardware, so as to avoid occupying memory.
在一种可能的实施例中,当根据所述硬件属性确定终端当前模式为支持LTE模式时,加载启动调制解调服务,包括:对调制解调服务相关的结构体进行初始化,将调制解调服务或其它子系统相关的代码搬运到指定的区域,搬运动作完成后,然后释放相关控制调制解调器运行的寄存器,最后,调制解调服务服务启动成功。In a possible embodiment, when it is determined according to the hardware attributes that the current mode of the terminal supports LTE mode, loading and starting the modem service includes: initializing structures related to the modem service, and converting the modem The code related to the service or other subsystems is moved to the designated area. After the moving operation is completed, the related registers for controlling the operation of the modem are released. Finally, the modem service starts successfully.
在一种可能的实施例中,所述硬件属性包括硬件的通用型输入输出GPIO和芯片识别标识。In a possible embodiment, the hardware attributes include general-purpose input and output GPIOs and chip identifications of the hardware.
第二方面,本申请实施例提供一种终端,包括处理器和存储器。其中,存储器用于存储一个或多个计算机程序;当存储器存储的一个或多个计算机程序被处理器执行时,使得该终端能够实现上述第一方面的任意一种可能的设计的方法。In a second aspect, an embodiment of the present application provides a terminal, including a processor and a memory. Wherein, the memory is used 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 can implement any possible design method of the first aspect above.
第三方面,本申请实施例还提供一种异构网络的软件版本兼容装置,该通信装置包括执行上述第一方面的任意一种可能的设计的方法的模块/单元。这些模块/单元可以通过硬件实现,也可以通过硬件执行相应的软件实现。In a third aspect, an embodiment of the present application further provides a software version compatible device for a heterogeneous network, where the communication device includes a module/unit for performing any one of the possible design methods of the first aspect above. These modules/units can be realized by hardware, and can also be realized by executing corresponding software by hardware.
第四方面,本申请实施例中还提供一种计算机可读存储介质,计算机可读存储介质包括计算机程序,当计算机程序在终端上运行时,使得终端执行上述任一方面的任意一种可能的设计的方法。In the fourth aspect, the embodiments of the present application also provide a computer-readable storage medium, the computer-readable storage medium includes a computer program, and when the computer program is run on the terminal, the terminal is made to perform any possible operation of any of the above-mentioned aspects. method of design.
第五方面,本申请实施例还提供一种包含计算机程序产品,当计算机程序产品在终端上运行时,使得终端执行上述任一方面的任意一种可能的设计的方法。In the fifth aspect, the embodiment of the present application further provides a method including a computer program product, which, when the computer program product is run on the terminal, causes the terminal to execute any possible design of any of the above aspects.
第六方面,本申请实施例还提供一种芯片或芯片模组,该芯片或芯片模组与存储器耦合,用于执行存储器中存储的计算机程序,使得终端执行上述任一方面的任意一种可能的设计的方法。In the sixth aspect, the embodiment of the present application also provides a chip or chip module, the chip or chip module is coupled with the memory, and is used to execute the computer program stored in the memory, so that the terminal can execute any one of the above-mentioned aspects. method of design.
关于上述第二方面至第六方面的有益效果可以参见上述第一方面中的描述,不再重复赘述。Regarding the beneficial effects of the above-mentioned second aspect to the sixth aspect, reference can be made to the description in the above-mentioned first aspect, and details are not repeated here.
附图说明Description of drawings
图1为本发明实施例提供的一种通信系统示意图;FIG. 1 is a schematic diagram of a communication system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种异构网络的软件版本兼容方法示意图;FIG. 2 is a schematic diagram of a software version compatibility method for a heterogeneous network provided by an embodiment of the present invention;
图3为本发明实施例提供的一种终端系统的调制解调服务进行动态的加载流程的示意图;FIG. 3 is a schematic diagram of a dynamic loading process of a modulation and demodulation service of a terminal system provided by an embodiment of the present invention;
图4为本发明实施例提供的一种异构网络的软件版本兼容装置结构示意图;FIG. 4 is a schematic structural diagram of a software version compatible device for a heterogeneous network provided by an embodiment of the present invention;
图5为本发明实施例提供的一种通信装置结构示意图。FIG. 5 is a schematic structural diagram of a communication device provided by an embodiment of the present invention.
具体实施方式Detailed ways
本发明的技术方案可以应用于各种通信系统,例如:长期演进(longtermevolution,LTE)系统,全球互联微波接入(worldwideinteroperabilityformicrowaveaccess,WiMAX)通信系统,第五代(5thgeneration,5G)系统,如新一代无线接入技术(newradioaccesstechnology,NR),及未来的通信系统,如第六代(6th generation,6G)系统等。The technical solution of the present invention can be applied to various communication systems, for example: long term evolution (longtermevolution, LTE) system, worldwide interconnection microwave access (worldwide interoperability for microwave access, WiMAX) communication system, fifth generation (5th generation, 5G) system, such as a new generation Wireless access technology (new radio access technology, NR), and future communication systems, such as the sixth generation (6th generation, 6G) system, etc.
本发明提供的技术方案可应用异构通信网络,即本发明实施例中终端支持的网络可以是多种无线接入技术同时存在的网络,例如,同时存在无线保真(WirelessFidelity,WiFi)网络和长期演进(LongTermEvolution,LTE)网络。The technical solution provided by the present invention can be applied to a heterogeneous communication network, that is, the network supported by the terminal in the embodiment of the present invention may be a network in which multiple wireless access technologies coexist, for example, a Wireless Fidelity (Wireless Fidelity, WiFi) network and Long Term Evolution (Long Term Evolution, LTE) network.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本发明的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。术语“连接”包括直接连接和间接连接,除非另外说明。“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application. Reference to "one embodiment" or "some embodiments" or the like in this specification means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the invention. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "including", "comprising", "having" and variations thereof mean "including but not limited to", unless specifically stated otherwise. The term "connected" includes both direct and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only, and should not be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features.
在本发明实施例中,“示例性地”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性地”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性地”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplarily" or "for example" are used as examples, illustrations or descriptions. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention shall not be interpreted as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a concrete manner.
本发明实施例中部分场景以无线通信网络中LTE网络和WiFi网络的场景为例进行说明,应当指出的是,本发明实施例中的方案还可以应用于其他无线通信网络中,相应的名称也可以用其他无线通信网络中的对应功能的名称进行替代。Some scenarios in the embodiments of the present invention are described by taking the scenarios of the LTE network and the WiFi network in the wireless communication network as examples. It should be noted that the solutions in the embodiments of the present invention can also be applied to other wireless communication networks, and the corresponding names are also Names of corresponding functions in other wireless communication networks may be used for substitution.
为便于理解本发明实施例,首先以图1中示出的通信系统为例详细说明适用于本发明实施例的通信系统。图1示出了适用于本发明实施例的通信方法的通信系统的示意图。如图1所示,该通信系统100包括网络设备102和终端106,网络设备102可配置有一个或多个天线,终端也可配置有一个或多个天线。可选地,该通信系统还可包括网络设备104,网络设备104也可配置有多个天线。To facilitate understanding of the embodiment of the present invention, first, the communication system shown in FIG. 1 is taken as an example to describe in detail the communication system applicable to the embodiment of the present invention. Fig. 1 shows a schematic diagram of a communication system applicable to the communication method of the embodiment of the present invention. As shown in FIG. 1 , the
应理解,网络设备102或网络设备104还可包括与信号发送和接收相关的多个部件(例如,处理器、调制器、复用器、解调器或解复用器等)。It should be understood that the
其中,网络设备为具有无线收发功能的设备或可设置于该设备的芯片,该设备包括但不限于:演进型节点B(evolvedNodeB,eNB)、无线网络控制器(radionetworkcontroller,RNC)、节点B(NodeB,NB)、基站控制器(basestationcontroller,BSC)、基站收发台(basetransceiverstation,BTS)、家庭基站(例如,homeevolvedNodeB,或homeNodeB,HNB)、基带单元(baseband unit,BBU),无线保真(wirelessfidelity,WIFI)系统中的接入点(accesspoint,AP)、无线中继节点、无线回传节点、传输点(transmissionandreceptionpoint,TRP或者transmissionpoint,TP)等,还可以为5G,如,NR,系统中的gNB,或,传输点(TRP或TP),5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或者,还可以为构成gNB或传输点的网络节点,如基带单元,或,分布式单元(distributedunit,DU)等。Wherein, the network device is a device with a wireless transceiver function or a chip that can be set on the device, and the device includes but is not limited to: an evolved Node B (evolved NodeB, eNB), a radio network controller (radionetwork controller, RNC), a Node B ( NodeB, NB), base station controller (basestation controller, BSC), base transceiver station (basetransceiverstation, BTS), home base station (for example, homeevolvedNodeB, or homeNodeB, HNB), baseband unit (baseband unit, BBU), wireless fidelity (wirelessfidelity , WIFI) system access point (accesspoint, AP), wireless relay node, wireless backhaul node, transmission point (transmissionandreceptionpoint, TRP or transmissionpoint, TP), etc., can also be 5G, such as, NR, in the system gNB, or, transmission point (TRP or TP), one or a group (including multiple antenna panels) antenna panels of a base station in a 5G system, or, it can also be a network node that constitutes a gNB or a transmission point, such as a baseband unit, Or, a distributed unit (distributed unit, DU) and the like.
在一些部署中,gNB可以包括集中式单元(centralizedunit,CU)和DU。gNB还可以包括射频单元(radiounit,RU)。CU实现gNB的部分功能,DU实现gNB的部分功能,比如,CU实现无线资源控制(radioresourcecontrol,RRC),分组数据汇聚层协议(packetdataconvergenceprotocol,PDCP)层的功能,DU实现无线链路控制(radiolinkcontrol,RLC)、媒体接入控制(mediaaccess control,MAC)和物理(physical,PHY)层的功能。由于RRC层的信息最终会变成PHY层的信息,或者,由PHY层的信息转变而来,因而,在这种架构下,高层信令,如RRC层信令或PHCP层信令,也可以认为是由DU发送的,或者,由DU+RU发送的。可以理解的是,网络设备可以为CU节点、或DU节点、或包括CU节点和DU节点的设备。此外,CU可以划分为接入网RAN中的网络设备,也可以将CU划分为核心网CN中的网络设备,在此不做限制。In some deployments, a gNB may include a centralized unit (CU) and a DU. The gNB may also include a radio unit (radio unit, RU). The CU implements some functions of the gNB, and the DU implements some functions of the gNB. For example, the CU implements radio resource control (radioresourcecontrol, RRC), packet data convergence protocol (packetdataconvergenceprotocol, PDCP) layer functions, and the DU implements radio link control (radiolinkcontrol, RLC), media access control (media access control, MAC) and physical (physical, PHY) layer functions. Since the information of the RRC layer will eventually become the information of the PHY layer, or be converted from the information of the PHY layer, under this framework, high-level signaling, such as RRC layer signaling or PHCP layer signaling, can also be It is considered to be sent by DU, or sent by DU+RU. It can be understood that the network device may 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 network devices in the access network RAN, and the CU can also be divided into network devices in the core network CN, which is not limited here.
终端106也可以称为用户设备(userequipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。本发明的实施例中的终端可以是手机(mobilephone)、平板电脑(Pad)、智能打印机、火车探测器、加油站探测器、带无线收发功能的电脑、虚拟现实(virtualreality,VR)终端、增强现实(augmentedreality,AR)终端、工业控制(industrialcontrol)中的无线终端、无人驾驶(selfdriving)中的无线终端、远程医疗(remotemedical)中的无线终端、智能电网(smartgrid)中的无线终端、运输安全(transportationsafety)中的无线终端、智慧城市(smartcity)中的无线终端、智慧家庭(smarthome)中的无线终端等等。本发明的实施例对应用场景不做限定。本发明中将前述终端106及可设置于前述终端106的芯片统称为终端。
网络设备102和网络设备104均可以与多个终端(例如图中示出的终端106)通信。网络设备102和网络设备104可以与类似于终端106的任意数目的终端通信。但应理解,与网络设备102通信的终端和与网络设备104通信的终端可以是相同的,也可以是不同的。图1中示出的终端106可同时与网络设备102和网络设备104通信,但这仅示出了一种可能的场景,在某些场景中,终端可能仅与网络设备102或网络设备104通信,本发明对此不做限定。Both
应理解,图1仅为便于理解而示例的简化示意图,该通信系统中还可以包括其他网络设备或者还可以包括其他终端,图1中未予以画出。It should be understood that FIG. 1 is only a simplified schematic diagram for easy understanding, and the communication system may also include other network devices or other terminals, which are not shown in FIG. 1 .
为了兼容异构网络的软件版本,实现WiFi软件版本与LTE软件版本的自由切换,本发明实施例提供一种异构网络的软件版本兼容方法,该方法可以由终端执行,本发明实施例以下内容中的终端可以为图1所示的终端106,以下内容中的网络设备可以为图1所示的网络设备102。应理解,本发明中,由终端执行的步骤也可以具体由终端的一个模块或部件执行,如可以由该终端中的芯片执行。以下实施例是以终端为执行主体进行的描述。图2示出了本发明实施例提供的一种异构网络的软件版本兼容方法流程图,该方法包括:In order to be compatible with the software version of the heterogeneous network and realize free switching between the software version of WiFi and the software version of LTE, the embodiment of the present invention provides a software version compatibility method of the heterogeneous network, which can be executed by the terminal. The following content of the embodiment of the present invention The terminal in may be the terminal 106 shown in FIG. 1 , and the network device in the following content may be the
S201,读取终端的硬件属性;S201, read the hardware attribute of the terminal;
S202,当根据所述硬件属性确定终端当前模式为仅支持WiFi模式时,停止加载启动调制解调服务;当根据所述硬件属性确定终端当前模式为支持LTE模式时,加载启动调制解调服务。S202. When it is determined according to the hardware attribute that the current mode of the terminal supports only the WiFi mode, stop loading and start the modem service; when it is determined according to the hardware attribute that the current mode of the terminal supports the LTE mode, load and start the modem service.
本实施例中的硬件属性可以指硬件的通用型输入输出(General-purpose input/output,GPIO)和芯片识别标识(chipid),由于不同软件版本的gpio,chipid等不同,因此采用系统命令行(cmdline)读取硬件属性的方式来实现软件版本切换的自适应,即Modem控制(control)服务需要通过解析cmdline判断是否加载启动Modem。可见,终端系统能够根据硬件属性实现对调制解调服务进行动态的加载,实现WiFi软件版本与LTE软件版本的自由切换。The hardware attribute in the present embodiment can refer to the general-purpose input/output (General-purpose input/output, GPIO) of hardware and chip identification mark (chipid), because the gpio of different software versions, chipid etc. are different, therefore adopt system command line ( cmdline) to read hardware attributes to realize the self-adaptation of software version switching, that is, the Modem control (control) service needs to judge whether to load and start the Modem by parsing the cmdline. It can be seen that the terminal system can dynamically load the modem service according to the hardware attributes, and realize free switching between the WiFi software version and the LTE software version.
本实施例中的加载启动调制解调服务的过程主要指的是:对调制解调服务相关的结构体进行初始化,将调制解调服务或其它子系统相关的代码搬运到指定的区域,搬运动作完成后,然后释放相关控制调制解调器运行的寄存器,最后,调制解调服务服务启动成功。可见,在终端当前模式为仅支持WiFi模式时,则不再modem相关的结构体进行初始化,如Removeinitcploadinfo,其次不搬运modem相关的代码(如Removecploadinfoimg),不释放控制modem运行的相关寄存器,然后不创建modem监控的任务,如Removelistenmodemtask,不再将modem启动(alive)的消息传到各个客户端(client)中,如Removewait modemalive。The process of loading and starting the modem service in this embodiment mainly refers to: initialize the structure related to the modem service, move the code related to the modem service or other subsystems to the designated area, and move the After completion, the related registers for controlling the operation of the modem are released, and finally, the modem service service starts successfully. It can be seen that when the current mode of the terminal supports only WiFi mode, the modem-related structures are not initialized, such as Removeinitcploadinfo, and the modem-related codes (such as Removecploadinfoimg) are not moved, and the relevant registers that control the modem operation are not released. Create a task for modem monitoring, such as Removelistenmodemtask, and no longer transmit the message of modem activation (alive) to each client (client), such as Removewait modemalive.
在一种可能的实施方式中,Modem相关设备节点根据硬件属性确定终端当前模式为仅支持WiFi模式时,自适应删除设备节点,示例性的,如图3所示,当终端系统启动后,首先判断终端当前模式是否为仅支持WiFi模式,若是,则移除LTE网络的设备节点,如stty_lte/sdiag_lte/spipe_lte/sipc_lte/spool等设备节点;否则完成调制解调服务进行动态的加载之后便结束。In a possible implementation manner, when the Modem-related device node determines that the current mode of the terminal is only supporting WiFi mode according to the hardware attribute, the device node is adaptively deleted. For example, as shown in FIG. 3, when the terminal system is started, first Determine whether the current mode of the terminal supports only WiFi mode, if so, remove the device nodes of the LTE network, such as stty_lte/sdiag_lte/spipe_lte/sipc_lte/spool and other device nodes; otherwise, complete the dynamic loading of the modem service and end.
本实施例中终端系统能够根据不同硬件的属性动态加载modem,实现wifionly与lte版本的自适应切换,实现在当前模式为仅支持WiFi模式时,调制解调器在软件形式上被裁剪掉。应理解,由于调制解调器、sp、dp等系统的启动,监控等均是调制解调器控制引导,为了实现屏蔽调制解调器,同时又不能影响sp、dp等系统的启动,因此不能完全屏蔽调制解调器的控制。由于WiFi软件版本将调制解调器停止服务,但是调制解调器相关的设备节点依然存在,虽然不会影响调制解调器停止服务,但是依旧会发送相关指令,并且占用内存,因此本实施例删除调制解调器相关设备节点可以进一步实现WiFi软件版本的优化。In this embodiment, the terminal system can dynamically load the modem according to the attributes of different hardware, realize adaptive switching between wifonly and LTE versions, and realize that the modem is cut out in software form when the current mode supports only WiFi mode. It should be understood that since the start-up and monitoring of the modem, sp, dp and other systems are all guided by the modem control, in order to realize the shielding of the modem without affecting the start-up of the sp, dp and other systems, the control of the modem cannot be completely shielded. Because the WiFi software version stops the modem from serving, the modem-related device nodes still exist. Although it will not affect the modem from stopping service, it will still send related instructions and occupy memory. Therefore, in this embodiment, deleting the modem-related device nodes can further realize WiFi. Optimization of software version.
与上述实施例的构思相同,本申请实施例还提供一种异构网络的软件版本兼容装置,该装置400用于实现上述方法中终端的功能。示例地,该装置400可以是终端,也可以是终端中的装置。该装置可以为芯片系统。本申请实施例中,芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。Similar to the idea of the foregoing embodiments, the embodiment of the present application further provides a heterogeneous network software version compatible device, and the
一示例中,如图4所示,装置400包括读取模块401,用于读取终端的硬件属性;处理模块402,用于当根据所述硬件属性确定终端当前模式为仅支持WiFi模式时,停止加载启动调制解调服务;当根据所述硬件属性确定终端当前模式为支持LTE模式时,加载启动调制解调服务。In an example, as shown in FIG. 4 , the
本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。The division of modules in the embodiments of the present application is schematic, and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present application can be integrated into a processing In the controller, it can also be physically present separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.
又一示例中,如图5所示,该通信装置500包括至少一个处理器510和存储器520。其中,存储器520中存储有计算机程序。存储器520和处理器510耦合。该通信装置500可以指代上文的终端,本发明实施例中的耦合是装置、单元或模块之间的间隔耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。作为另一种实现,存储器520还可以位于通信装置1100之外。处理器510可以和存储器520协同操作。处理器510可以调用存储器520中存储的计算机程序。所述至少一个存储器中的至少一个可以包括于处理器中。In yet another example, as shown in FIG. 5 , the
在一些实施例中,通信装置500还可以包括通信接口530,用于通过传输介质和其它设备进行通信,从而用于通信装置500中的装置可以和其它设备进行通信。示例性地,通信接口530可以是收发器、电路、总线、模块或其它类型的通信接口,该其它设备可以是其它终端。处理器510利用通信接口530收发信息,并用于实现上述实施例中的方法。示例性的,通信接口530用于接收资源指示信息。又示例性的,通信接口530用于发送数据。In some embodiments, the
在本申请实施例中,处理器可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In this embodiment of the application, the processor may be a general-purpose 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, or a discrete hardware component, and may implement or Execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the methods disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
在本申请实施例中,存储器可以是非易失性存储器,比如硬盘(harddisk drive,HDD)或固态硬盘(solid-statedrive,SSD)等,还可以是易失性存储器(volatilememory),例如随机存取存储器(random-accessmemory,RAM)。存储器是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。本申请实施例中的存储器还可以是电路或者其它任意能够实现存储功能的装置,用于存储计算机程序和/或数据。In the embodiment of the present application, the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), such as random access Memory (random-access memory, RAM). A memory is, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory in the embodiment of the present application may also be a circuit or any other device capable of implementing a storage function, for storing computer programs and/or data.
本发明还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被计算机执行时实现上述方法实施例所述方法。The present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a computer, the methods described in the above method embodiments are implemented.
本发明还提供了一种计算机程序产品,该计算机程序产品被计算机执行时实现上述方法实施例所述方法。The present invention also provides a computer program product, which implements the methods described in the above method embodiments when the computer program product is executed by a computer.
本发明还提供了一种芯片或芯片模组,该芯片或芯片模组与存储器耦合,用于执行存储器中存储的计算机程序,使得终端执行上述方法实施例所述方法。The present invention also provides a chip or chip module, the chip or chip module is coupled with the memory, and is used to execute the computer program stored in the memory, so that the terminal executes the method described in the above method embodiment.
本申请实施例提供的方法中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机计算机程序时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、网络设备、用户设备或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digitalsubscriberline,简称DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机可以存取的任何介质或者是包含一个或多个介质集成的服务器、数据中心等数据存储设备。所述介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,数字视频光盘(digitalvideodisc,简称DVD))、或者半导体介质(例如,SSD)等。The methods provided in the embodiments of the present application may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program is loaded and executed on the computer, all or part of the processes or functions according to the embodiments of the present invention will be generated. The computer may be a general purpose computer, a special purpose computer, a computer network, network equipment, user equipment or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, 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.). The computer-readable storage medium may be any medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more media. The medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a digital video disc (digital video disc, DVD for short)), or a semiconductor medium (for example, SSD).
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Apparently, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310377285.XA CN116405909B (en) | 2023-04-10 | 2023-04-10 | Software version compatible method, device, terminal equipment and medium of heterogeneous network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310377285.XA CN116405909B (en) | 2023-04-10 | 2023-04-10 | Software version compatible method, device, terminal equipment and medium of heterogeneous network |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116405909A true CN116405909A (en) | 2023-07-07 |
| CN116405909B CN116405909B (en) | 2025-12-09 |
Family
ID=87009954
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310377285.XA Active CN116405909B (en) | 2023-04-10 | 2023-04-10 | Software version compatible method, device, terminal equipment and medium of heterogeneous network |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116405909B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119561834A (en) * | 2025-01-23 | 2025-03-04 | 深圳市天龙世纪科技发展有限公司 | A communication adjustment method, system and medium based on compatibility |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102098761A (en) * | 2009-12-10 | 2011-06-15 | 华为终端有限公司 | Mobile communication terminal and network access method thereof |
| US20130308690A1 (en) * | 2012-05-21 | 2013-11-21 | Qualcomm Innovation Center, Inc. | Systems, methods, and apparatus for reducing mobile device power consumption relative to periodic data packet transfers |
| US20150131502A1 (en) * | 2013-11-11 | 2015-05-14 | Motorola Mobility Llc | Reducing power consumption by a wireless communication device with multiple wireless communication modems |
| CN106550152A (en) * | 2017-01-19 | 2017-03-29 | 宇龙计算机通信科技(深圳)有限公司 | Realize the method and mobile terminal of modem energy-conservation |
| CN106598193A (en) * | 2015-10-14 | 2017-04-26 | 深圳市中兴微电子技术有限公司 | Power consumption control method and apparatus |
| CN107787028A (en) * | 2016-08-24 | 2018-03-09 | 深圳市中兴微电子技术有限公司 | A kind of method and apparatus for controlling modem communication module |
-
2023
- 2023-04-10 CN CN202310377285.XA patent/CN116405909B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102098761A (en) * | 2009-12-10 | 2011-06-15 | 华为终端有限公司 | Mobile communication terminal and network access method thereof |
| US20130308690A1 (en) * | 2012-05-21 | 2013-11-21 | Qualcomm Innovation Center, Inc. | Systems, methods, and apparatus for reducing mobile device power consumption relative to periodic data packet transfers |
| US20150131502A1 (en) * | 2013-11-11 | 2015-05-14 | Motorola Mobility Llc | Reducing power consumption by a wireless communication device with multiple wireless communication modems |
| CN106598193A (en) * | 2015-10-14 | 2017-04-26 | 深圳市中兴微电子技术有限公司 | Power consumption control method and apparatus |
| CN107787028A (en) * | 2016-08-24 | 2018-03-09 | 深圳市中兴微电子技术有限公司 | A kind of method and apparatus for controlling modem communication module |
| CN106550152A (en) * | 2017-01-19 | 2017-03-29 | 宇龙计算机通信科技(深圳)有限公司 | Realize the method and mobile terminal of modem energy-conservation |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119561834A (en) * | 2025-01-23 | 2025-03-04 | 深圳市天龙世纪科技发展有限公司 | A communication adjustment method, system and medium based on compatibility |
| CN119561834B (en) * | 2025-01-23 | 2025-04-08 | 深圳市天龙世纪科技发展有限公司 | Communication adjustment method, system and medium based on compatibility |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116405909B (en) | 2025-12-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111565099B (en) | A state configuration method and device | |
| JP6945659B2 (en) | Information processing method and related equipment | |
| KR102276720B1 (en) | Handover method, terminal device and network device | |
| WO2021017702A1 (en) | Signal transmission method and apparatus | |
| CN110572817A (en) | A communication method and electronic device | |
| US11310658B2 (en) | Method and apparatus for determining status of terminal device, and device | |
| US20210119860A1 (en) | Configuration method, negotiation method, and apparatus | |
| US20240340256A1 (en) | Multimedia Message Transmission Method and Apparatus | |
| CN111699751B (en) | Method for wireless communication of double-registration terminal equipment, terminal equipment and network equipment | |
| CN116405909B (en) | Software version compatible method, device, terminal equipment and medium of heterogeneous network | |
| WO2021203249A1 (en) | Session release method and apparatus | |
| WO2020030059A1 (en) | Information indicating method and apparatus | |
| WO2022041854A1 (en) | Communication method and communication apparatus | |
| CN114845405B (en) | Information reporting method and device | |
| US20240056950A1 (en) | Communication method and apparatus | |
| JP2021512514A (en) | Wireless communication method, network device, and terminal device of dual registration terminal device | |
| CN111867063A (en) | Uplink transmission method and communication device | |
| WO2023011612A1 (en) | Mobility management method and communication apparatus | |
| WO2020164149A1 (en) | Data transmission method and device | |
| WO2020164148A1 (en) | Data transmission method and device | |
| EP4564995A1 (en) | Data transmission method and apparatus | |
| WO2025030552A1 (en) | Communication management method and apparatus, and communication device, storage medium and communication system | |
| CN112689326B (en) | A method, terminal and network side equipment for indicating NSSAI carrying | |
| WO2023016103A1 (en) | Method and apparatus for managing integrated access and backhaul node | |
| WO2025036081A1 (en) | Communication method and apparatus |
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 |