CN117615447A - Communication method and device, electronic equipment, chip and readable storage medium - Google Patents

Communication method and device, electronic equipment, chip and readable storage medium Download PDF

Info

Publication number
CN117615447A
CN117615447A CN202311553472.5A CN202311553472A CN117615447A CN 117615447 A CN117615447 A CN 117615447A CN 202311553472 A CN202311553472 A CN 202311553472A CN 117615447 A CN117615447 A CN 117615447A
Authority
CN
China
Prior art keywords
electronic device
communication connection
radio frequency
electronic equipment
network
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.)
Pending
Application number
CN202311553472.5A
Other languages
Chinese (zh)
Inventor
谭正鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202311553472.5A priority Critical patent/CN117615447A/en
Publication of CN117615447A publication Critical patent/CN117615447A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/72Subscriber identity
    • 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/04Terminal devices adapted for relaying to or from another terminal or user

Landscapes

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

Abstract

The application provides a communication method and device, electronic equipment, a chip and a readable storage medium. The communication method is applied to the first electronic equipment, and comprises the following steps: responding to the antenna performance of the first electronic equipment being weaker than that of the second electronic equipment, and sending first user identity module (SIM) card information to the second electronic equipment through a first communication connection with the second electronic equipment so as to enable the second electronic equipment to register to a first network according to the first SIM card information; and carrying out network sharing through a second communication connection with the second electronic equipment.

Description

Communication method and device, electronic equipment, chip and readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communications method and apparatus, an electronic device, a chip, and a readable storage medium.
Background
The performance index of devices related to radio frequency in electronic equipment such as mobile phones and the like, such as standing wave ratio, return loss, direction coefficient, antenna gain, antenna efficiency, bandwidth, direction diagram, insertion loss and the like of an antenna, can influence the performance of the antenna, thereby influencing the quality and strength of communication signals between the electronic equipment and network equipment such as a base station and the like.
In the related art, in order to meet the needs of users, performance of radio frequency related hardware such as an antenna assembly needs to be improved to optimize signals of electronic devices. However, this approach may result in increased cost of the electronic device. Therefore, how to enhance the signal of the electronic device without increasing the cost of the device is a urgent problem to be solved.
Disclosure of Invention
The application provides a communication method and device, electronic equipment, a chip and a readable storage medium. Various aspects related to embodiments of the present application are described below.
In a first aspect, a communication method is provided, the method being applied to a first electronic device, the method comprising: responding to the antenna performance of the first electronic equipment being weaker than that of the second electronic equipment, and sending first user identity module (SIM) card information to the second electronic equipment through a first communication connection with the second electronic equipment so as to enable the second electronic equipment to register to a first network according to the first SIM card information; and carrying out network sharing through a second communication connection with the second electronic equipment.
Optionally, the first subscriber identity module SIM card information includes: and the first subscriber identity module SIM card corresponds to the international mobile subscriber identity IMSI and the security parameter.
Optionally, after sending the first subscriber identity module SIM card information to the second electronic device, the method further includes: receiving an authentication request sent by the second electronic equipment through the first communication connection; and if the authentication request passes, sending an authentication response message to the second electronic device through the first communication connection so as to enable the second electronic device to be registered with the first network.
Optionally, the first radio frequency antenna parameter of the first electronic device and the second radio frequency antenna parameter of the second electronic device are respectively built in the first electronic device and the second electronic device; the method further comprises the steps of: receiving, by the first communication connection, the second radio frequency antenna parameter sent by the second electronic device; determining a first comparison result according to the first radio frequency antenna parameter and the second radio frequency antenna parameter, wherein the first comparison result is used for indicating whether the antenna performance of the first electronic device is weaker than the antenna performance of the second electronic device; or, through the first communication connection, the first radio frequency antenna parameter is sent to the second electronic device, so that the second electronic device determines a second comparison result according to the first radio frequency antenna parameter and the second radio frequency antenna parameter; and receiving the second comparison result, wherein the second comparison result is used for indicating whether the antenna performance of the first electronic device is weaker than the antenna performance of the second electronic device.
Optionally, the first communication connection comprises at least one of a bluetooth connection, a wireless local area network WLAN connection, or a peer-to-peer network P2P connection; the second communication connection comprises at least one of a bluetooth connection, a wireless local area network WLAN connection, or a peer-to-peer network P2P connection.
In a second aspect, a communication method is provided, the method being applied to a second electronic device, the method comprising: receiving first Subscriber Identity Module (SIM) card information sent by first electronic equipment through first communication connection with the first electronic equipment, wherein the first SIM card information is sent by the first electronic equipment in response to the antenna performance being weaker than that of the second electronic equipment; registering to a first network according to the SIM card information of the first user identity module; network sharing is performed through a second communication connection with the first electronic device.
Optionally, the first subscriber identity module SIM card information includes: and the first subscriber identity module SIM card corresponds to the international mobile subscriber identity IMSI and the security parameter.
Optionally, the registering with the first network includes: sending an authentication request to the first electronic device through the first communication connection, so that the first electronic device determines whether the authentication request is passed; receiving an authentication response message through the first communication connection, the authentication response message being sent by the first electronic device in response to the authentication request; registering with the first network in response to the authentication response message.
Optionally, the first radio frequency antenna parameter of the first electronic device and the second radio frequency antenna parameter of the second electronic device are respectively built in the first electronic device and the second electronic device; the method further comprises the steps of: transmitting the second radio frequency antenna parameter to the first electronic device through the first communication connection, so that the first electronic device determines a first comparison result according to the first radio frequency antenna parameter and the second radio frequency antenna parameter, wherein the first comparison result is used for indicating whether the antenna performance of the first electronic device is weaker than the antenna performance of the second electronic device; or, receiving the first radio frequency antenna parameter through the first communication connection; determining a second comparison result according to the first radio frequency antenna parameter and the second radio frequency antenna parameter; and sending the second comparison result to the first electronic device, wherein the second comparison result is used for indicating whether the antenna performance of the first electronic device is weaker than the antenna performance of the second electronic device.
In a third aspect, there is provided a communication apparatus applied to a first electronic device, the apparatus comprising: a sending unit, configured to send, to the second electronic device, first user identity module SIM card information through a first communication connection with the second electronic device in response to the antenna performance of the first electronic device being weaker than the antenna performance of the second electronic device, so that the second electronic device registers to a first network according to the first user identity module SIM card information; and the first sharing unit is used for carrying out network sharing through a second communication connection with the second electronic equipment.
In a fourth aspect, there is provided a communication apparatus applied to a second electronic device, the apparatus comprising: the receiving unit is used for receiving first Subscriber Identity Module (SIM) card information sent by the first electronic equipment through first communication connection with the first electronic equipment, wherein the first SIM card information is sent by the first electronic equipment in response to the antenna performance being weaker than that of the second electronic equipment; a registration unit, configured to register to a first network according to the first subscriber identity module SIM card information; and the second sharing unit is used for carrying out network sharing through a second communication connection with the first electronic equipment.
In a fifth aspect, there is provided an electronic device comprising a memory for storing a program, a processor for invoking the program in the memory, and a transceiver for causing the electronic device to perform the method of the first or second aspect.
In a sixth aspect, there is provided a chip comprising a processor for invoking and running a computer program from memory, such that a device on which the chip is mounted performs the method of the first or second aspect.
In a seventh aspect, there is provided a computer-readable storage medium having stored thereon a program that causes a computer to perform the method according to the first or second aspect.
According to the communication method provided by the embodiment of the application, when the antenna performance of the first electronic device is weaker than that of the second electronic device, the second electronic device can perform network injection by utilizing the SIM card information of the first electronic device through soft SIM transfer, and the service data such as data, conversation and short messages are transmitted and received through the communication sharing function between the two electronic devices, so that the signal enhancement effect of the first electronic device with weaker antenna performance is realized, and the user experience is improved.
Drawings
Fig. 1 is a schematic diagram of one scenario in which a communication method provided in an embodiment of the present application may be used.
Fig. 2 is a schematic flow chart of a communication method provided in an embodiment of the present application.
Fig. 3 is a schematic flow chart of a communication method provided in another embodiment of the present application.
Fig. 4 is a schematic structural diagram of a communication device provided in an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a communication device according to another embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
The terms "first," "second," "third," and "fourth" and the like in the description and in the claims of this application and in the drawings, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The electronic device mentioned in the embodiments of the present application may also be referred to as a User Equipment (UE), a Terminal device, an access Terminal, a subscriber unit, a subscriber station, a Mobile Station (MS), a mobile Terminal (downlink), a remote station, a remote Terminal, a mobile device, a user Terminal, a wireless communication device, a user agent, or a user equipment, etc.
In some embodiments, the electronic device may be a STATION (ST) in the WLAN. In some embodiments, the electronic device may also be a cellular telephone, a cordless telephone, a session initiation protocol (session initiation protocol, SIP) phone, a wireless local loop (wireless local loop, WLL) station, a personal digital assistant (personal digital assistant, PDA) device, a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, an electronic device in a next generation communication system (e.g., NR system), or an electronic device in a future evolved public land mobile network (public land mobile network, PLMN) network, etc.
In some embodiments, the electronic device may be directed to a device that provides voice and/or data connectivity to the user. For example, a handheld device, an in-vehicle device, or the like having a wireless connection function may be used. As some specific examples, the electronic device may be a mobile phone (mobile phone), a tablet (Pad), a notebook, a palm, a mobile internet device (mobile internet device, MID), a wearable device, a Virtual Reality (VR) device, an augmented reality (augmented reality, AR) device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and the like.
In some embodiments, the electronic device may be deployed on land. For example, it may be deployed indoors or outdoors. In some embodiments, the deployment may also be on the surface of the water, such as on a ship. In some embodiments, the deployment may also be in the air, such as on an aircraft, balloon, and satellite.
For easy understanding, a usage scenario of the communication method provided in the embodiment of the present application and problems in the related art will be described in detail with reference to fig. 1.
Referring to fig. 1, fig. 1 is a schematic diagram of one scenario in which a communication method provided in an embodiment of the present application may be used, where the networking system in fig. 1 includes a network device 110, a first electronic device 120, and a second electronic device 130; it should be understood that only one first electronic device and one second electronic device are shown in fig. 1 for convenience of the following description; in fact, the networking system may include a plurality of first electronic devices and a plurality of second electronic devices, and the number of the electronic devices in the networking system is not specifically limited in the embodiments of the present application.
The network device 110 in the embodiments of the present application may be a device for communicating with a terminal device, which may also be referred to as an access network device or a radio access network device. The network device may be, for example, a base station. The network device in the embodiments of the present application may refer to an access network (radio access network, RAN) node (or device) that accesses the terminal device to the wireless network. The access network device may broadly cover or replace various names such as: a node B (NodeB), an evolved NodeB (eNB), a next generation NodeB (gNB), a relay station, an access point, a transmission point (transmitting and receiving point, TRP), a transmission point (transmitting point, TP), a master MeNB, a secondary SeNB, a multi-mode wireless (MSR) node, a home base station, a network controller, an access node, a wireless node, an Access Point (AP), a transmission node, a transceiving node, a baseband unit (BBU), a remote radio unit (remote radio unit, RRU), an active antenna unit (active antenna unit, AAU), a radio head (remote radio head, RRH), a Central Unit (CU), a Distributed Unit (DU), a positioning node, and the like. The base station may be a macro base station, a micro base station, a relay node, a donor node, or the like, or a combination thereof. A base station may also refer to a communication module, modem, or chip for placement within the aforementioned device or apparatus. The base station may also be a mobile switching center, a device-to-device (D2D), a vehicle-to-device (V2X), a device that assumes a base station function in machine-to-machine (M2M) communication, a network-side device in a 6G network, a device that assumes a base station function in a future communication system, or the like. The base stations may support networks of the same or different access technologies. Alternatively, the network device may be a router, gateway, hub, repeater, switch, or the like. The embodiment of the application does not limit the specific technology and the specific device form adopted by the network device.
The first electronic device 120 and the second electronic device 130 may be any of the various electronic devices described hereinabove. Taking the first electronic device 120 and the second electronic device 130 as mobile phones as examples, when the first electronic device 120 and the second electronic device 130 are both located in the signal coverage area of the network device 110, a communication connection can be established with the network device 110, so as to realize functions of internet surfing, voice communication, short message receiving and sending, and the like.
In the system shown in fig. 1, the performance of the radio frequency related hardware of the first electronic device 120 and the second electronic device 130 has a large impact on the signal quality and strength of the communication connection with the network device 110. The performance of the rf related hardware may include the performance of the antenna assembly, such as standing wave ratio, return loss, direction coefficient, antenna gain, antenna efficiency, bandwidth, pattern, insertion loss, etc., where the performance of the antenna is affected by the variation of these parameters.
In the related art, in order to meet the needs of users, performance of radio frequency related hardware such as an antenna assembly needs to be improved to optimize signals of electronic devices. However, increasing the signal by hardware enhancements increases the cost of the electronic device. Therefore, how to enhance the signal of the electronic device without increasing the cost of the device is a urgent problem to be solved.
In view of this, embodiments of the present application provide a communication method and apparatus, an electronic device, a chip, and a readable storage medium.
The communication method provided in the embodiment of the present application is first described with reference to fig. 2, where the method is performed by a first electronic device and a second electronic device, and the first electronic device and the second electronic device may be the first electronic device 120 and the second electronic device 130 in fig. 2, respectively.
Fig. 2 is a depiction of a stand-by interaction of a first electronic device and a second electronic device, the method of fig. 2 comprising steps S220-S260.
In step S220, in response to the antenna performance of the first electronic device being weaker than the antenna performance of the second electronic device, first subscriber identity module, SIM, card information is sent to the second electronic device over a first communication connection with the second electronic device, the first subscriber identity module, SIM, card information being used to cause the second electronic device to register with the first network.
In some embodiments, the first communication connection may be a short-range communication connection between the first electronic device and the second electronic device. The specific manner adopted by the short-distance communication connection is not limited in the embodiments of the present application, and may include, for example, a wireless local area network (wireless local area networks, WLAN), a wireless personal area network (wireless personal area network, WPAN), a Bluetooth (Bluetooth) network, and the like.
As a possible implementation, the short-range wireless communication connection may also be a near field communication (Near Field Communication, NFC) network or a ZigBee network, etc.
In this embodiment of the present application, the first SIM card information may include an international mobile subscriber identity (international mobile subscriber identity, IMSI) corresponding to the first SIM card and a security parameter of the first SIM card, where the security parameter may be a K value, for example. The IMSI number has uniqueness, and is a number used for uniquely identifying a mobile subscriber in a Public Land Mobile Network (PLMN), and can be used for distinguishing effective information of the mobile subscriber. The K value is one of the security parameters of the SIM card to support bi-directional authentication, thus enhancing security.
In step S240, the second electronic device receives the first SIM card information, and registers to the first network according to the first SIM card information.
After receiving the first SIM card information, the second electronic device may generate a soft SIM card or a virtual SIM card according to the first SIM card information, and perform a subsequent network injection procedure according to the soft SIM card or the virtual SIM card.
In step S260, the first electronic device performs network sharing through a second communication connection with the second electronic device.
The second communication connection may be any type of communication connection, and the communication manner may be the same as or different from the first communication connection. For example, when the first SIM card information is sent, the method can be performed by using a bluetooth connection mode, so as to reduce the power consumption of the device; the sharing of internet access can be performed by WiFi sharing technology to ensure a larger communication bandwidth and a faster communication rate between devices.
The manner in which network sharing between electronic devices occurs generally includes several techniques:
bluetooth (Bluetooth): the bluetooth technology is a standard of wireless communication technology, and the bluetooth technical alliance is responsible for making bluetooth specifications and authenticating and authorizing manufacturers. Bluetooth technology is used for forming a personal area network in a short distance between devices to exchange data, and is widely used for wireless connection between different devices, and communication connection and information interaction between different electronic devices can be realized through the Bluetooth technology.
Bluetooth low energy (Bluetooth Low Energy, BLE): bluetooth low energy is a personal area network technology designed by the bluetooth technology alliance, and aims to remarkably reduce power consumption and cost while maintaining the same communication range. Most mobile operating systems including IOS, android, windows Phone and Black Berry currently support bluetooth low energy technology, as well as the lightweight operating systems for wearable devices including Watch OS, android weather.
Mobile Hotspot (Mobile Hotspot): means a device or area providing internet access by way of a wireless local area network, supports cross-device, cross-platform connectivity according to IEEE 802.11U protocol as a standard, and allows a mobile device to automatically discover available networks, authorize and assign network permissions, allowing the device to automatically complete authentication direct internet surfing using a subscriber identity card (subscriber identity module, SIM) or other internet surfing credentials. Each mainstream mobile platform (Android, IOS, windows Phone, windows) supports mobile hotspot technology, including hotspots that provide hotspot functions and are opened when accessing other devices.
The WiFi sharing technology is performed through WiFi connection between electronic devices, specifically, a user can set a shared WiFi service set identifier (Service Set Identifier, SSID), an encryption mode, a password and the like in a manual opening mode; the SSID is a network name of the wireless shared network, and the name is not unique and can be a default value or set by a user. On one side of the first electronic equipment, a user controls to open a WiFi function, scans a wireless network list available in a preset range, selects a network which is the same as the SSID of WiFi shared by the second electronic equipment from the wireless network list, and can establish connection with the second electronic equipment after inputting a correct password.
According to the communication method provided by the embodiment of the application, when the antenna performance of the first electronic device is weaker than that of the second electronic device, the second electronic device can perform network injection by utilizing the SIM card information of the first electronic device through soft SIM transfer, and the service data such as data, conversation and short messages are transmitted and received through the communication sharing function between the two electronic devices, so that the signal enhancement effect of the first electronic device with weaker antenna performance is realized, and the user experience is improved.
In some embodiments, as shown in fig. 3, step S231-step S233 are further included before step S240.
In step S231, the second electronic device sends an authentication request to the first electronic device through the first communication connection.
In step S232, the first electronic device receives the authentication request, and if it passes, sends an authentication response message to the second electronic device through the first connection.
In step S240, the second electronic device receives the authentication response message and registers with the first network.
In some embodiments, with continued reference to fig. 3, the first radio frequency antenna parameter of the first electronic device and the second radio frequency antenna parameter of the second electronic device are respectively built into the first electronic device and the second electronic device. The first rf antenna parameter and the second rf antenna parameter may include, for example, standing wave ratio, return loss, direction coefficient, antenna gain, antenna efficiency, bandwidth, pattern, insertion loss, and the like of the antenna. The method of fig. 3 further comprises steps S211-S212.
In step S211, the first electronic device receives, through the first communication connection, the second radio frequency antenna parameter transmitted by the second electronic device.
In step S212, the first electronic device determines a first comparison result according to the first radio frequency antenna parameter stored in the first electronic device and the received second radio frequency antenna parameter. The first comparison result is used to indicate whether the antenna performance of the first electronic device is weaker than the antenna performance of the second electronic device.
In some embodiments, the comparison of the antenna performance of the first electronic device and the second electronic device may also be performed by the second electronic device, i.e. the first electronic device sends the first radio frequency antenna parameter to the second electronic device over the first communication connection; the second electronic equipment compares the received first radio frequency antenna parameters with the second radio frequency antenna parameters stored in the second electronic equipment, and determines a second comparison result, wherein the second comparison result is used for indicating whether the antenna performance of the first electronic equipment is weaker than that of the second electronic equipment; and the second electronic equipment sends the second comparison result to the first electronic equipment through the first communication connection.
Method embodiments of the present application are described above in detail in connection with fig. 1-3, and apparatus embodiments of the present application are described below in detail in connection with fig. 4-6. It is to be understood that the description of the method embodiments corresponds to the description of the device embodiments, and that parts not described in detail can therefore be seen from the preceding method embodiments.
Fig. 4 is a schematic block diagram of a communication apparatus 400 provided in an embodiment of the present application, where the communication apparatus is applied to a first electronic device, and the first electronic device may be the first electronic device 120 in fig. 1. The apparatus 400 in fig. 4 includes:
and the sending unit 410 is configured to send, to the second electronic device, first SIM card information to the second electronic device through a first communication connection with the second electronic device in response to the antenna performance of the first electronic device being weaker than the antenna performance of the second electronic device, so that the second electronic device registers to a first network according to the first SIM card information.
The first sharing unit 420 is configured to perform network sharing through a second communication connection with the second electronic device.
In some embodiments, the first SIM card information includes: and the International Mobile Subscriber Identity (IMSI) and the security parameters corresponding to the first SIM card.
In some embodiments, the apparatus 400 further comprises: the receiving unit is used for receiving the authentication request sent by the second electronic equipment through the first communication connection; the sending unit is further configured to send an authentication response message to the second electronic device through the first communication connection when the authentication request passes, so that the second electronic device registers with the first network.
In some embodiments, the first radio frequency antenna parameter of the first electronic device and the second radio frequency antenna parameter of the second electronic device are respectively built in the first electronic device and the second electronic device; the receiving unit is further configured to: receiving, by the first communication connection, the second radio frequency antenna parameter sent by the second electronic device;
the device further comprises a comparison unit, a first comparison unit and a second comparison unit, wherein the comparison unit is used for determining a first comparison result according to the first radio frequency antenna parameter and the second radio frequency antenna parameter, and the first comparison result is used for indicating whether the antenna performance of the first electronic device is weaker than the antenna performance of the second electronic device; or,
the transmitting unit is further configured to: transmitting the first radio frequency antenna parameter to the second electronic device through the first communication connection, so that the second electronic device determines a second comparison result according to the first radio frequency antenna parameter and the second radio frequency antenna parameter;
the receiving unit is further configured to receive the second comparison result, where the second comparison result is used to indicate whether the antenna performance of the first electronic device is weaker than the antenna performance of the second electronic device.
In some embodiments, the first communication connection comprises at least one of a bluetooth connection, a wireless local area network, WLAN, connection, or a peer-to-peer, P2P, connection; the second communication connection comprises at least one of a bluetooth connection, a wireless local area network WLAN connection, or a peer-to-peer network P2P connection.
Fig. 5 is a schematic block diagram of a communication apparatus 500 according to another embodiment of the present application, where the communication apparatus is applied to a second electronic device, which may be the second electronic device 130 in fig. 1. The apparatus 500 in fig. 5 includes:
and the receiving unit 510 is configured to receive, through a first communication connection with a first electronic device, first SIM card information sent by the first electronic device, where the first SIM card information is sent by the first electronic device in response to an antenna performance weaker than an antenna performance of the second electronic device.
And a registration unit 520, configured to register to a first network according to the first SIM card information.
A second sharing unit 530, configured to perform network sharing through a second communication connection with the first electronic device.
In some embodiments, the first SIM card information includes: and the International Mobile Subscriber Identity (IMSI) and the security parameters corresponding to the first SIM card.
In some embodiments, the apparatus further comprises:
and the sending unit is used for sending an authentication request to the first electronic equipment through the first communication connection so that the first electronic equipment can determine whether the authentication request is passed or not.
The receiving unit is further configured to receive an authentication response message through the first communication connection, where the authentication response message is sent through the first electronic device in response to the authentication request.
The registration unit is further configured to register with the first network in response to the authentication response message.
In some embodiments, the first radio frequency antenna parameter of the first electronic device and the second radio frequency antenna parameter of the second electronic device are respectively built in the first electronic device and the second electronic device.
The transmitting unit is further configured to: transmitting the second radio frequency antenna parameter to the first electronic device through the first communication connection, so that the first electronic device determines a first comparison result according to the first radio frequency antenna parameter and the second radio frequency antenna parameter, wherein the first comparison result is used for indicating whether the antenna performance of the first electronic device is weaker than the antenna performance of the second electronic device; or,
the receiving unit is further configured to: and receiving the first radio frequency antenna parameters through the first communication connection.
The device further comprises a comparison unit for determining a second comparison result according to the first radio frequency antenna parameter and the second radio frequency antenna parameter.
The sending unit is further configured to send the second comparison result to the first electronic device, where the second comparison result is used to indicate whether the antenna performance of the first electronic device is weaker than the antenna performance of the second electronic device.
Fig. 6 is a schematic structural diagram of an electronic device 600 provided in an embodiment of the present application. The dashed lines in fig. 6 indicate that the unit or module is optional. The electronic device 600 may be used to implement the methods described in the method embodiments above. The electronic device 600 may be, for example, the aforementioned electronic device or a peripheral device.
The electronic device 600 may include one or more processors 610. The processor 610 may support the electronic device 600 to implement the methods described in the method embodiments above. The processor 610 may be a general purpose processor or a special purpose processor. For example, the processor may be a central processing unit (central processing unit, CPU). Alternatively, the processor 610 may be another general purpose processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), an off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The electronic device 600 may also include one or more memories 620. The memory 620 has stored thereon a program that can be executed by the processor 610 to cause the processor 610 to perform the method described in the method embodiments above. The memory 620 may be separate from the processor 610 or may be integrated into the processor 610.
The electronic device 600 may also include a transceiver 630. The processor 610 may communicate with other devices or chips through a transceiver 630. For example, the processor 610 may transmit and receive data to and from other devices or chips through the transceiver 630.
The embodiment of the application also provides a computer readable storage medium for storing a program. The computer-readable storage medium may be applied to an electronic device or a peripheral device provided in the embodiments of the present application, and the program causes a computer to execute the methods in the embodiments of the present application.
Embodiments of the present application also provide a computer program product. The computer program product includes a program. The computer program product may be applied to an electronic device or a peripheral device provided in embodiments of the present application, and the program may cause a computer to perform the methods in the embodiments of the present application.
The embodiment of the application also provides a computer program. The computer program can be applied to the electronic device or the peripheral device provided in the embodiments of the present application, and the computer program causes the computer to execute the methods in the embodiments of the present application.
It should be understood that the term "and/or" is merely an association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
In the several embodiments provided in this application, it should be understood that the disclosed systems and apparatuses may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, 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 loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be read by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disk (digital video disc, DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A method of communication, the method being applied to a first electronic device, the method comprising:
responding to the antenna performance of the first electronic equipment being weaker than that of the second electronic equipment, sending first user identity module (SIM) card information to the second electronic equipment through a first communication connection with the second electronic equipment so as to enable the second electronic equipment to register to a first network according to the first SIM card information;
and carrying out network sharing through a second communication connection with the second electronic equipment.
2. The method of claim 1, wherein the first subscriber identity module, SIM, card information comprises: and the first subscriber identity module SIM card corresponds to the international mobile subscriber identity IMSI and the security parameter.
3. The method of claim 1, wherein after sending the first subscriber identity module, SIM, card information to the second electronic device, the method further comprises:
receiving an authentication request sent by the second electronic equipment through the first communication connection;
and if the authentication request passes, sending an authentication response message to the second electronic device through the first communication connection so as to enable the second electronic device to be registered with the first network.
4. The method of claim 1, wherein the first electronic device and the second electronic device have first radio frequency antenna parameters of the first electronic device and second radio frequency antenna parameters of the second electronic device, respectively, built into them;
the method further comprises the steps of:
receiving, by the first communication connection, the second radio frequency antenna parameter sent by the second electronic device;
determining a first comparison result according to the first radio frequency antenna parameter and the second radio frequency antenna parameter, wherein the first comparison result is used for indicating whether the antenna performance of the first electronic device is weaker than the antenna performance of the second electronic device; or,
transmitting the first radio frequency antenna parameter to the second electronic device through the first communication connection, so that the second electronic device determines a second comparison result according to the first radio frequency antenna parameter and the second radio frequency antenna parameter;
and receiving the second comparison result, wherein the second comparison result is used for indicating whether the antenna performance of the first electronic device is weaker than the antenna performance of the second electronic device.
5. The method according to any one of claims 1 to 4, wherein,
the first communication connection comprises at least one of a bluetooth connection, a wireless local area network WLAN connection, or a peer-to-peer network P2P connection;
the second communication connection comprises at least one of a bluetooth connection, a wireless local area network WLAN connection, or a peer-to-peer network P2P connection.
6. A method of communication, the method being applied to a second electronic device, the method comprising:
receiving first Subscriber Identity Module (SIM) card information sent by first electronic equipment through first communication connection with the first electronic equipment, wherein the first SIM card information is sent by the first electronic equipment in response to the antenna performance being weaker than that of the second electronic equipment;
registering to a first network according to the SIM card information of the first user identity module;
network sharing is performed through a second communication connection with the first electronic device.
7. The method of claim 6, wherein the first subscriber identity module, SIM, card information comprises: and the first subscriber identity module SIM card corresponds to the international mobile subscriber identity IMSI and the security parameter.
8. The method of claim 6, wherein the registering with the first network comprises:
sending an authentication request to the first electronic device through the first communication connection, so that the first electronic device determines whether the authentication request is passed;
receiving an authentication response message through the first communication connection, the authentication response message being sent by the first electronic device in response to the authentication request;
registering with the first network in response to the authentication response message.
9. The method of claim 6, wherein the first electronic device and the second electronic device have first radio frequency antenna parameters of the first electronic device and second radio frequency antenna parameters of the second electronic device, respectively, built into them;
the method further comprises the steps of:
transmitting the second radio frequency antenna parameter to the first electronic device through the first communication connection, so that the first electronic device determines a first comparison result according to the first radio frequency antenna parameter and the second radio frequency antenna parameter, wherein the first comparison result is used for indicating whether the antenna performance of the first electronic device is weaker than the antenna performance of the second electronic device; or,
receiving the first radio frequency antenna parameters through the first communication connection;
determining a second comparison result according to the first radio frequency antenna parameter and the second radio frequency antenna parameter;
and sending the second comparison result to the first electronic device, wherein the second comparison result is used for indicating whether the antenna performance of the first electronic device is weaker than the antenna performance of the second electronic device.
10. A communication apparatus, the communication apparatus being applied to a first electronic device, the apparatus comprising:
a sending unit, configured to send first user identity module SIM card information to a second electronic device through a first communication connection with the second electronic device in response to the antenna performance of the first electronic device being weaker than the antenna performance of the second electronic device, so that the second electronic device registers to a first network according to the first user identity module SIM card information;
and the first sharing unit is used for carrying out network sharing through a second communication connection with the second electronic equipment.
11. A communication apparatus, the communication apparatus being applied to a second electronic device, the apparatus comprising:
the receiving unit is used for receiving first Subscriber Identity Module (SIM) card information sent by the first electronic equipment through first communication connection with the first electronic equipment, wherein the first SIM card information is sent by the first electronic equipment in response to the antenna performance being weaker than that of the second electronic equipment;
a registration unit, configured to register to a first network according to the first subscriber identity module SIM card information;
and the second sharing unit is used for carrying out network sharing through a second communication connection with the first electronic equipment.
12. An electronic device comprising a memory for storing a program, a processor for invoking the program in the memory, and a transceiver for causing the electronic device to perform the method of any of claims 1-5 or 6-9.
13. A chip comprising a processor for invoking and running a computer program from memory, such that a device on which the chip is mounted performs the method of any of claims 1-5 or 6-9.
14. A computer-readable storage medium, characterized in that the storage medium has stored thereon a program that causes a computer to perform the method of any one of claims 1-5 or claims 6-9.
CN202311553472.5A 2023-11-20 2023-11-20 Communication method and device, electronic equipment, chip and readable storage medium Pending CN117615447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311553472.5A CN117615447A (en) 2023-11-20 2023-11-20 Communication method and device, electronic equipment, chip and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311553472.5A CN117615447A (en) 2023-11-20 2023-11-20 Communication method and device, electronic equipment, chip and readable storage medium

Publications (1)

Publication Number Publication Date
CN117615447A true CN117615447A (en) 2024-02-27

Family

ID=89947292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311553472.5A Pending CN117615447A (en) 2023-11-20 2023-11-20 Communication method and device, electronic equipment, chip and readable storage medium

Country Status (1)

Country Link
CN (1) CN117615447A (en)

Similar Documents

Publication Publication Date Title
US10187370B2 (en) Fast-accessing method and apparatus
CN113543274B (en) Network access method and device
US11490263B2 (en) Assisted discovery of a local private 3GPP network via a local private non-3GPP wireless network
CN111869261A (en) Discovery and security in LWA communications
WO2016023324A1 (en) Terminal-based communication method and terminal
US20230275717A1 (en) Technologies for nr coverage enhancement
WO2015108462A1 (en) Methods and nodes for information transfer in wlan
CN114868455A (en) User terminal comprising a plurality of subscriber identity modules
EP3433942B1 (en) Wireless network discovery using a mimo transceiver
US20160036579A1 (en) Method and apparatus for configuring link in wireless lan system
CN112584464A (en) Communication method, communication device, and storage medium
US9392629B2 (en) Method for setting synchronization between device-to-device communication terminals based on cellular communication system
CN116132581A (en) Incoming call interception method and device, terminal equipment and computer readable storage medium
WO2021047479A1 (en) Communication method and apparatus
CN117615447A (en) Communication method and device, electronic equipment, chip and readable storage medium
US20130301493A1 (en) Method of transmitting data
EP3910976A1 (en) Connection management method and equipment
US20220377547A1 (en) Wireless communication method, terminal device and network element
CN117615446A (en) Communication method and device, electronic equipment, chip and readable storage medium
CN113302965A (en) Wireless communication method and wireless communication device
CN116349401A (en) Wireless communication method and terminal equipment
CN116489625A (en) Communication method and device
CN117676537A (en) Access control method, communication device and storage medium
CN116600290A (en) Network verification method and device
CN115412979A (en) Session switching method, device, chip and module equipment

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