CN112770419B - Network card closing method, radio frequency module, storage medium and electronic equipment - Google Patents

Network card closing method, radio frequency module, storage medium and electronic equipment Download PDF

Info

Publication number
CN112770419B
CN112770419B CN202011528778.1A CN202011528778A CN112770419B CN 112770419 B CN112770419 B CN 112770419B CN 202011528778 A CN202011528778 A CN 202011528778A CN 112770419 B CN112770419 B CN 112770419B
Authority
CN
China
Prior art keywords
processor
network card
card
request
radio frequency
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
Application number
CN202011528778.1A
Other languages
Chinese (zh)
Other versions
CN112770419A (en
Inventor
俞宙
张伟
刘荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanchang Black Shark Technology Co Ltd
Original Assignee
Nanchang Black Shark Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanchang Black Shark Technology Co Ltd filed Critical Nanchang Black Shark Technology Co Ltd
Priority to CN202011528778.1A priority Critical patent/CN112770419B/en
Publication of CN112770419A publication Critical patent/CN112770419A/en
Application granted granted Critical
Publication of CN112770419B publication Critical patent/CN112770419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a network card closing method, a radio frequency module, a storage medium and an electronic device, wherein the method comprises the following steps: when a closing request of a non-internet card sent by a processor is received, intercepting the closing request so as not to forward the closing request to a communication base station; and after the preset time from the reception of the closing request, returning preset logout information to the processor so that the processor controls the off-line card to be powered off. The invention intercepts the closing request of the non-network card and does not forward the closing request to the base station, so that the base station can not feed back the logout result to the non-network card and the chip through radio frequency, thereby avoiding seizing radio frequency resources and ensuring the network access of the network card to be smooth, and simultaneously, in order to ensure the normal power-off of the non-network card, the invention also sets a delay feedback mechanism, and returns preset logout information to the processor after receiving the preset time from the closing request so as to ensure the processor to normally control the power-off of the non-network card.

Description

Network card closing method, radio frequency module, storage medium and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network card closing method, a radio frequency module, a storage medium, and an electronic device.
Background
Currently, many electronic devices support dual-card dual-standby service, and a user may use network services provided by two Subscriber Identity Module (SIM) cards in one electronic device. The electronic device may use a first SIM card of the two SIM cards to start data traffic and perform data services, that is, the first SIM card is a network card. And for the second SIM card of the two SIM cards, the data flow is not started, and only the functions of communication, short messages and the like are supported, namely the second SIM card is a non-internet card.
In the actual use process, when the non-internet card is not needed to be used, the non-internet card is powered off by selecting, and the currently used network card turning-off process is as follows: the processor of the electronic equipment sends a request for closing the non-network card to the radio frequency, the radio frequency forwards the request to the base station so as to enable the base station to cancel the information of the non-network card, at the moment, the base station feeds back a cancellation result to the non-network card and the processor through the radio frequency, and the processor controls the non-network card to be powered off and closed after receiving the cancellation result.
However, since one electronic device is usually provided with only one set of radio frequency resources (i.e. antennas), when the base station feeds back the cancellation result to the non-network card and the chip through radio frequency, the base station seizes the radio frequency resources, which causes the network card to temporarily interrupt or pause the network, thereby affecting the network experience.
Disclosure of Invention
Based on this, the present invention provides a network card turning-off method, a radio frequency module, a storage medium and an electronic device, so as to solve the technical problem that the network card is temporarily disconnected or stuck when the non-network card is turned off.
The method for closing the network card is applied to electronic equipment, the electronic equipment comprises a processor, a plurality of network cards which are in communication connection with the processor, and a set of radio frequency modules which are in communication connection with the processor and the network cards, one of the network cards is a network card, and the other network cards are non-network cards, the method is suitable for one side of the radio frequency modules, and the method comprises the following steps:
when a closing request of a non-internet card sent by a processor is received, intercepting the closing request so as not to forward the closing request to a communication base station;
and after the preset time from the reception of the closing request, returning preset logout information to the processor so that the processor controls the off-line card to be powered off.
In addition, the method for closing the network card according to the above embodiment of the present invention may further have the following additional technical features:
further, after the step of intercepting the close request, the method further comprises:
and stopping forwarding the communication data of the non-internet access card and the communication base station.
Further, after the processor controls the off-line card to power down, the method further includes:
and when receiving the activation request of the non-network card sent by the processor, restoring and forwarding the communication data of the non-network card and the communication base station.
Further, the step of stopping forwarding the communication data between the non-internet access card and the communication base station includes:
extracting the network card identifier in the closing request;
determining the non-network card according to the network card identifier;
and forbidding to respond to the request of the non-internet card for calling the radio frequency module and the communication base station.
Further, the step of intercepting the close request comprises:
and storing the closing request into a preset database, wherein the preset database is set to be used for storing data which are not transmitted in an authorized mode.
According to an embodiment of the present invention, a radio frequency module includes:
the request intercepting module is used for intercepting a closing request of a non-internet card sent by a processor when receiving the closing request so as not to forward the closing request to a communication base station;
and the information feedback module is used for returning preset logout information to the processor after preset time from the time when the closing request is received so that the processor controls the off-line card to be powered off.
In addition, the radio frequency module according to the above embodiment of the present invention may further have the following additional technical features:
further, the radio frequency module further includes:
and the communication control module is used for stopping forwarding the communication data of the non-internet card and the communication base station after intercepting the closing request.
Further, the communication control module is further configured to resume forwarding communication data between the non-network card and the communication base station when receiving an activation request of the non-network card sent by the processor.
The present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the network card closing method described above.
The invention also provides electronic equipment which comprises a processor, a plurality of network cards in communication connection with the processor, and a set of radio frequency modules in communication connection with the processor and the network cards, wherein one of the network cards is a network card, and the other network cards are non-network cards, and the radio frequency modules are the radio frequency modules.
Compared with the prior art: by intercepting the closing request of the non-network card and not forwarding the closing request to the base station, the base station can not feed back a logout result to the non-network card and a chip through radio frequency, thereby avoiding seizing radio frequency resources and ensuring the network access of the network card to be smooth, and meanwhile, in order to ensure the normal power-off of the non-network card, a delay feedback mechanism is arranged, and after the preset time from the reception of the closing request, preset logout information is returned to the processor, so that the processor can normally control the power-off of the non-network card.
Drawings
Fig. 1 is a schematic structural diagram of a mobile phone provided in an embodiment of the present invention;
fig. 2 is a flowchart of a network card closing method according to a first embodiment of the present invention;
fig. 3 is a flowchart of a network card turning-off method in a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a radio frequency module according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device in a fourth embodiment of the invention.
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Several embodiments of the invention are presented in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The network card closing method provided by the embodiment of the application can be applied to electronic devices such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and the like, and the embodiment of the application does not limit the specific types of the electronic devices.
Take the electronic device as a mobile phone as an example. Fig. 1 is a block diagram illustrating a partial structure of a mobile phone according to an embodiment of the present disclosure. Referring to fig. 1, the handset includes: a Radio Frequency (RF) module 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, a processor 180, and a power supply 190. Those skilled in the art will appreciate that the handset configuration shown in fig. 1 is not intended to be limiting and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. For example, the mobile phone may further include a card socket, where the card socket is used for inserting an SIM card (network card), when there are multiple SIM cards in the mobile phone, the number of the card sockets may also be multiple, and each card socket is correspondingly inserted with one SIM card, or multiple SIM cards may share one card socket with multiple insertion positions.
The following specifically describes each constituent component of the mobile phone with reference to fig. 1:
the RF module 110 may be used for receiving and transmitting signals during a message transmission or a call, and in particular, may be used for processing downlink information of a base station after receiving the downlink information to the processor 180; in addition, data for designing uplink is transmitted to the base station. Generally, the RF module includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, a controller (e.g., MCU), and the like. In addition, the RF module 110 may also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), general Packet Radio Service (GPRS), code Division Multiple Access (CDMA), wideband Code Division Multiple Access (WCDMA), long Term Evolution (LTE), email, short Messaging Service (SMS), etc.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also called a touch screen, can collect touch operations of a user (such as operations of the user on the touch panel 131 or near the touch panel 131 by using any suitable object or accessory such as a finger, a stylus, etc.) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 131 may include two parts, namely, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch panel 131 may be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 130 may include other input devices 132 in addition to the touch panel 131. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by a user or information provided to the user and various menus of the mobile phone. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 131 can cover the display panel 141, and when the touch panel 131 detects a touch operation on or near the touch panel 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although the touch panel 131 and the display panel 141 are shown as two separate components in fig. 1 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 131 and the display panel 141 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 141 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing gestures of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometers and taps), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, the description is omitted here.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between the user and the handset. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then the audio data is processed by the audio data output processor 180, and then the processed audio data is sent to another mobile phone through the RF module 110, or the audio data is output to the memory 120 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 170, and provides wireless broadband Internet access for the user. Although fig. 1 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the handset, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Alternatively, processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The handset also includes a power supply 190 (e.g., a battery) for supplying power to the various components, preferably, the power supply may be logically connected to the processor 180 via a power management system, so as to manage charging, discharging, and power consumption via the power management system.
Although not shown, the handset may also include a camera. Optionally, the position of the camera on the mobile phone may be front-located or rear-located, which is not limited in this embodiment of the present application.
Optionally, the mobile phone may include a single camera, a dual camera, or a triple camera, which is not limited in this embodiment.
For example, a cell phone may include three cameras, one being a main camera, one being a wide camera, and one being a tele camera.
Optionally, when the mobile phone includes a plurality of cameras, all the cameras may be arranged in front of the mobile phone, or all the cameras may be arranged in back of the mobile phone, or a part of the cameras may be arranged in front of the mobile phone, and another part of the cameras may be arranged in back of the mobile phone, which is not limited in this embodiment of the present application.
In addition, although not shown, the mobile phone may further include a bluetooth module, etc., which will not be described herein.
The following embodiments may be implemented on a mobile phone having the above hardware structure. The following embodiments will describe the network card closing method provided in the embodiments of the present application, taking a mobile phone as an example.
Example one
Referring to fig. 2, a network card turning-off method in a first embodiment of the present invention is shown, and is applied to an electronic device, where the electronic device includes a processor, multiple network cards in communication connection with the processor, and a set of radio frequency modules in communication connection with the processor and the network cards, where one of the multiple network cards is a network card and the others are non-network cards, the method is applied to one side of the radio frequency modules, and the electronic device may be, for example and without limitation, the mobile phone, and the network card turning-off method specifically includes steps S01 to S02.
And step S01, intercepting the closing request when receiving the closing request of the non-internet card sent by the processor so as not to forward the closing request to the communication base station.
In specific implementation, when a user selects to close the non-internet-access card on the mobile phone or the non-internet-access card needs to be closed by default after completing a task, the processor receives a closing instruction, at this time, the processor initiates a closing flow of the non-internet-access card, automatically sends a closing request of the non-internet-access card to the radio frequency module, and after receiving the closing request of the non-internet-access card, the radio frequency module intercepts the closing request, namely does not forward the closing request to the communication base station.
And S02, after receiving the closing request for a preset time, returning preset logout information to the processor so that the processor controls the off-line card to power off.
The preset logout information is the same as a logout result fed back to the non-network card and the processor by the traditional base station, namely the same result is fed back to the processor. Specifically, the preset logout information includes an identifier of the non-network card and a preset logout result, the preset logout result is generally successful logout, and the identifier of the non-network card can be a SIM card number, a serial number, and the like, and is mainly used for identifying the network card, so that the processor knows which non-network card is successful logout at present, and the corresponding non-network card is accurately controlled to be powered off.
In specific implementation, a timer may be set, the timer is started to time when a shutdown request is received, and when the timer reaches a preset time, a preset logout message is returned to the processor, so that the processor considers that the non-network card has been successfully logged out, and the non-network card is controlled to power off and shut down.
It should be noted that, the network card closing method in this embodiment is applied to the side of the radio frequency module, not to the side of the processor, so as to avoid reprogramming or burning a new program to the processor, and since the tasks related to the controller of the radio frequency module are originally fewer than those of the processor of the mobile phone, it is simpler to improve the controller of the radio frequency module than the processor of the mobile phone, so as to reduce the cost and the process difficulty, and at the same time, avoid occupying the processing resources of the processor, and ensure the processing speed of the processor. Meanwhile, the processor is not modified in the embodiment, so that when the processor receives the closing instruction of the non-internet card, the closing operation of the non-internet card is performed according to the conventional normal closing flow of the non-internet card, that is, the closing request of the non-internet card is sent out normally.
In summary, in the network card shutdown method in the above embodiments of the present invention, the shutdown request of the non-network card is intercepted, and the shutdown request is not forwarded to the base station, so that the base station does not feed back the logout result to the non-network card and the chip through the radio frequency, thereby avoiding seizing radio frequency resources, ensuring that the network card is online smoothly, and meanwhile, in order to ensure that the non-network card is powered off normally, by setting the delay feedback mechanism, after a preset time has elapsed since the shutdown request is received, returning the preset logout information to the processor, so that the processor normally controls the non-network card to be powered off.
Example two
Referring to fig. 3, a network card closing method in a second embodiment of the present invention is shown, and is applied to a mobile phone, where the mobile phone includes a processor, two network cards in communication connection with the processor, and a set of radio frequency modules in communication connection with the processor and each of the network cards, that is, the mobile phone is a dual-standby single-pass mobile phone, one of the two network cards is a network card, and the other is a non-network card, and the method is applied to one side of the radio frequency module, and specifically includes steps S11 to S14.
And step S11, when receiving a closing request of the non-internet card sent by the processor, intercepting the closing request so as not to forward the closing request to the communication base station.
In specific implementation, as an optional implementation, the step of intercepting the close request may specifically include:
and storing the closing request into a preset database, wherein the preset database is set to be used for storing data which are not transmitted in an authorized mode.
That is, when a closing request of the non-internet-access card is received, the closing request of the non-internet-access card is stored in the preset database, and the preset database is set to store unauthorized forwarding data, so that the closing request of the non-internet-access card stored in the preset database is not forwarded to the base station, and the effect of request interception is achieved.
And S12, stopping forwarding the communication data of the non-internet access card and the communication base station.
It should be noted that, when a request for closing the non-internet-access card is received, in order to avoid that the non-internet-access card occupies the radio frequency resource within a preset time, the implementation directly stops forwarding the communication data between the non-internet-access card and the communication base station, so that the radio frequency resource is locked on the internet-access card, and the smoothness of the internet access of the internet-access card is ensured. In addition, it should be noted that, when the non-network card is in the reading and writing operations, if the non-network card is forced to be powered off, a card burning phenomenon may occur, which may cause the network card to burn out, so in this embodiment, when a closing request of the non-network card is received, forwarding of communication data between the non-network card and the communication base station is immediately stopped, and the reading and writing operations of the non-network card may be cut off in advance, so as to avoid the card burning phenomenon occurring in the subsequent power off process of the non-network card.
And S13, after the preset time from the receiving of the closing request, returning preset logout information to the processor so that the processor controls the off-line card to be powered off.
And S14, when the activation request of the non-network card sent by the processor is received, the communication data of the non-network card and the communication base station is recovered and forwarded.
In specific implementation, when a user selects to start a non-network card on a mobile phone or the non-network card needs to be started by default at a set time, a processor receives an activation instruction, the processor initiates an activation flow of the non-network card to control the non-network card to be powered on, and simultaneously sends an activation request of the non-network card to a radio frequency module, the radio frequency module resumes to forward communication data of the non-network card and a communication base station, and the non-network card and the communication base station naturally resume communication after the radio frequency module resumes to forward the non-network card because the communication base station does not log off the non-network card in the power-off process of the non-network card.
Further, in other optional embodiments, when there are multiple non-internet access cards, for example, in a case of a three-card three-standby mobile phone, as an optional implementation manner, the step of stopping forwarding the communication data between the non-internet access card and the communication base station may specifically include:
extracting the network card identification in the closing request;
determining the non-network card according to the network card identifier;
and forbidding to respond to the request of the non-internet card for calling the radio frequency module and the communication base station.
That is, the network card identifier is extracted from the closing request to determine which non-internet-access card needs to be closed, and then the request for calling the radio frequency module and the communication base station by responding to the non-internet-access card is prohibited, so that the purpose of stopping forwarding the communication data between the non-internet-access card and the communication base station is achieved.
EXAMPLE III
Another aspect of the present invention further provides a radio frequency module, please refer to fig. 4, which shows a radio frequency module according to a third embodiment of the present invention, where the radio frequency module specifically includes:
a request intercepting module 11, configured to intercept a closing request sent by a processor when receiving the closing request of a non-internet card, so as not to forward the closing request to a communication base station;
and the information feedback module 12 is configured to return preset logout information to the processor after a preset time elapses from the reception of the shutdown request, so that the processor controls the off-line card to power down.
Further, in some optional embodiments of the present invention, the radio frequency module further includes:
and the communication control module is used for stopping forwarding the communication data between the non-internet access card and the communication base station after intercepting the closing request.
Further, in some optional embodiments of the present invention, the communication control module is further configured to resume forwarding communication data between the non-network card and the communication base station when receiving an activation request of the non-network card sent by the processor.
Further, in some optional embodiments of the present invention, the communication control module includes:
an identifier extracting unit, configured to extract a network card identifier in the close request;
the network card determining unit is used for determining the non-network card according to the network card identifier;
and the response control unit is used for forbidding to respond to the request of the non-internet card for calling the radio frequency module and the communication base station.
Further, in some optional embodiments of the invention, the request intercepting module comprises:
and the request intercepting unit is used for storing the closing request into a preset database, and the preset database is set to be used for storing data which is not authorized to be forwarded.
The functions or operation steps of the modules and units when executed are substantially the same as those of the method embodiments, and are not described herein again. In addition, the modules and units can be applied to the controller of the radio frequency module, that is, what the modules and units need to achieve and what functions can be achieved by the controller of the radio frequency module.
In summary, in the radio frequency module in the above embodiments of the present invention, the shutdown request of the non-network card is intercepted, and the shutdown request is not forwarded to the base station, so that the base station does not feed back a logout result to the non-network card and the chip through radio frequency, thereby avoiding seizing radio frequency resources, ensuring that the network card is networked smoothly, and meanwhile, in order to ensure that the non-network card is powered off normally, by setting a delay feedback mechanism, after a preset time has elapsed since the shutdown request is received, returning preset logout information to the processor, so that the processor normally controls the non-network card to be powered off.
Example four
Referring to fig. 5, the electronic device in the fourth embodiment of the present invention is shown, and includes a processor 180, a plurality of network cards 200 communicatively connected to the processor 180, and a set of radio frequency modules 110 communicatively connected to the processor 180 and each network card 200, where one of the network cards 200 is a network card and the others are non-network cards, the radio frequency module 110 is the radio frequency module described in the third embodiment, and the processor 180 further communicates with the card seats of each network card 200 respectively to control the network cards to power on/off.
The processor 180 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data Processing chip in some embodiments, and is used for running program codes or Processing data. In some cases of the present embodiment, the electronic device is specifically a mobile phone. Further, the electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and may include more or less components than those shown in the drawings, or combine some components, or arrange different components in practice.
In summary, in the electronic device in the above embodiments of the present invention, the shutdown request of the non-network card is intercepted, and the shutdown request is not forwarded to the base station, so that the base station does not feed back a logout result to the non-network card and the chip through the radio frequency, thereby avoiding seizing radio frequency resources and ensuring that the network card is online smoothly, and meanwhile, in order to ensure that the non-network card is powered off normally, by setting a delay feedback mechanism, after a preset time has elapsed since the shutdown request is received, a preset logout message is returned to the processor, so that the processor normally controls the non-network card to be powered off.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the network card closing method as described above.
Those of skill in the art will understand that the logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be viewed as implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Further, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the present invention. It should be noted that various changes and modifications can be made by those skilled in the art without departing from the spirit of the invention, and these changes and modifications are all within the scope of the invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (7)

1. A network card closing method is characterized in that the method is applied to electronic equipment, the electronic equipment comprises a processor, a plurality of network cards in communication connection with the processor, and a set of radio frequency modules in communication connection with the processor and the network cards, one of the network cards is a network card, and the other network cards are non-network cards, the method is suitable for one side of the radio frequency modules, and the method comprises the following steps:
when a closing request of a non-internet card sent by a processor is received, intercepting the closing request so as not to forward the closing request to a communication base station;
after receiving the closing request for a preset time, returning preset logout information to the processor to enable the processor to control the off-line of the non-network card;
after the step of intercepting the close request, further comprising:
stopping forwarding the communication data of the non-internet card and the communication base station;
the step of stopping forwarding the communication data between the non-internet card and the communication base station comprises the following steps:
extracting the network card identifier in the closing request;
determining the non-network card according to the network card identifier;
and forbidding to respond to the request of the non-internet card for calling the radio frequency module and the communication base station.
2. The network card turning off method of claim 1, wherein after the processor controls the off-line card to power down, the method further comprises:
and when receiving the activation request of the non-network card sent by the processor, restoring and forwarding the communication data of the non-network card and the communication base station.
3. The network card turning-off method of claim 1, wherein the step of intercepting the turning-off request comprises:
and storing the closing request into a preset database, wherein the preset database is set to be used for storing data which are not authorized to be forwarded.
4. A radio frequency module, comprising:
the request intercepting module is used for intercepting a closing request of a non-internet card sent by a processor when the closing request is received so as not to forward the closing request to a communication base station;
the information feedback module is used for returning preset logout information to the processor after preset time from the time when the closing request is received so that the processor controls the off-line card to be powered off;
further comprising:
the communication control module is used for stopping forwarding the communication data of the non-internet card and the communication base station after intercepting the closing request;
the communication control module includes:
the identification extracting unit is used for extracting the network card identification in the closing request;
the network card determining unit is used for determining the non-network card according to the network card identifier;
and the response control unit is used for forbidding to respond to the request of the non-internet card for calling the radio frequency module and the communication base station.
5. The RF module of claim 4, wherein the communication control module is further configured to resume forwarding communication data between the non-NIC and the communication base station when receiving an activation request of the non-NIC sent by the processor.
6. A computer-readable storage medium on which a computer program is stored, the program implementing the network card turning off method according to any one of claims 1 to 3 when executed by a processor.
7. An electronic device, comprising a processor, a plurality of network cards communicatively connected to the processor, and a set of radio frequency modules communicatively connected to the processor and each of the network cards, wherein one of the network cards is a network card and the others are non-network cards, and the radio frequency module is the radio frequency module according to any one of claims 4 to 5.
CN202011528778.1A 2020-12-22 2020-12-22 Network card closing method, radio frequency module, storage medium and electronic equipment Active CN112770419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011528778.1A CN112770419B (en) 2020-12-22 2020-12-22 Network card closing method, radio frequency module, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011528778.1A CN112770419B (en) 2020-12-22 2020-12-22 Network card closing method, radio frequency module, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112770419A CN112770419A (en) 2021-05-07
CN112770419B true CN112770419B (en) 2022-11-01

Family

ID=75694718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011528778.1A Active CN112770419B (en) 2020-12-22 2020-12-22 Network card closing method, radio frequency module, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112770419B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594593A (en) * 2009-07-06 2009-12-02 青岛海信移动通信技术股份有限公司 A kind of wireless Internet card
CN103348714A (en) * 2010-12-10 2013-10-09 意法爱立信有限公司 Switching active subscriber identity of a communication terminal
CN104320378A (en) * 2014-09-30 2015-01-28 百度在线网络技术(北京)有限公司 Method and system for intercepting webpage data
CN107332578A (en) * 2017-05-19 2017-11-07 上海优思通信科技有限公司 The method of plurality of SIM cards mobile terminal network-locking
CN107820301A (en) * 2017-11-30 2018-03-20 广东欧珀移动通信有限公司 Control method, device, terminal and the storage medium of WLAN switch
CN207976903U (en) * 2018-01-31 2018-10-16 宝鸡文理学院 Multi-function electronic device based on radio frequency identification
CN108737621A (en) * 2018-05-31 2018-11-02 南昌黑鲨科技有限公司 Mobile network's control method, control module, computer storage media and mobile terminal
CN110072263A (en) * 2019-03-26 2019-07-30 华为技术有限公司 A kind of method and electronic equipment switching card of surfing Internet
CN110958657A (en) * 2019-12-09 2020-04-03 西安锐驰电器有限公司 Wireless network equipment
WO2020134873A1 (en) * 2018-12-29 2020-07-02 华为技术有限公司 State switching method, mobile terminal, network device and communication system
CN111741543A (en) * 2020-06-19 2020-10-02 展讯通信(上海)有限公司 Multi-card multi-standby single-pass implementation method and device, electronic equipment and readable storage medium
CN112020152A (en) * 2018-03-27 2020-12-01 华为技术有限公司 Data processing method and device and terminal equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594593A (en) * 2009-07-06 2009-12-02 青岛海信移动通信技术股份有限公司 A kind of wireless Internet card
CN103348714A (en) * 2010-12-10 2013-10-09 意法爱立信有限公司 Switching active subscriber identity of a communication terminal
CN104320378A (en) * 2014-09-30 2015-01-28 百度在线网络技术(北京)有限公司 Method and system for intercepting webpage data
CN107332578A (en) * 2017-05-19 2017-11-07 上海优思通信科技有限公司 The method of plurality of SIM cards mobile terminal network-locking
CN107820301A (en) * 2017-11-30 2018-03-20 广东欧珀移动通信有限公司 Control method, device, terminal and the storage medium of WLAN switch
CN207976903U (en) * 2018-01-31 2018-10-16 宝鸡文理学院 Multi-function electronic device based on radio frequency identification
CN112020152A (en) * 2018-03-27 2020-12-01 华为技术有限公司 Data processing method and device and terminal equipment
CN108737621A (en) * 2018-05-31 2018-11-02 南昌黑鲨科技有限公司 Mobile network's control method, control module, computer storage media and mobile terminal
WO2020134873A1 (en) * 2018-12-29 2020-07-02 华为技术有限公司 State switching method, mobile terminal, network device and communication system
CN110072263A (en) * 2019-03-26 2019-07-30 华为技术有限公司 A kind of method and electronic equipment switching card of surfing Internet
CN110958657A (en) * 2019-12-09 2020-04-03 西安锐驰电器有限公司 Wireless network equipment
CN111741543A (en) * 2020-06-19 2020-10-02 展讯通信(上海)有限公司 Multi-card multi-standby single-pass implementation method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN112770419A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
US10834237B2 (en) Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform
US10635449B2 (en) Method and apparatus for running game client
US10069818B2 (en) Method, system, device, and terminal for network initialization of multimedia playback device
US11227042B2 (en) Screen unlocking method and apparatus, and storage medium
CN107222613B (en) Display method and terminal
US20160105412A1 (en) Network connection method, application authentication server, terminal and router
US20170315777A1 (en) Method, terminal, and storage medium for starting voice input function of terminal
CN103473494A (en) Application running method, device and terminal device
WO2018049886A1 (en) Hotspot establishment method and terminal device
CN106293375B (en) A kind of method for changing scenes and equipment
CN104636047A (en) Method and device for operating objects in list and touch screen terminal
WO2015007232A1 (en) Method, device and mobile terminal for checking message
CN110832888A (en) Method for automatically switching SIM (subscriber identity Module) cards and electronic device
WO2015131768A1 (en) Video processing method, apparatus and system
KR20190049801A (en) Data sharing methods and terminals
EP2979177B1 (en) Method for controlling process of application and computer system
CN104216726A (en) Loading method and device for Android virtual machine
JP6504726B2 (en) Call transfer method, terminal and portable electronic device
CN107864086B (en) Information rapid sharing method, mobile terminal and computer readable storage medium
CN106484563B (en) Data migration method and terminal equipment
CN109873903B (en) Display method, terminal and computer readable storage medium of similar application program
CN110891262A (en) Bluetooth pairing method, system and terminal equipment
CN112770419B (en) Network card closing method, radio frequency module, storage medium and electronic equipment
CN111372003A (en) Camera switching method and device and terminal
CN108108207B (en) Advertisement display method and device

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