CN115102638A - Information acquisition method and device, electronic equipment and storage medium - Google Patents

Information acquisition method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115102638A
CN115102638A CN202210872460.8A CN202210872460A CN115102638A CN 115102638 A CN115102638 A CN 115102638A CN 202210872460 A CN202210872460 A CN 202210872460A CN 115102638 A CN115102638 A CN 115102638A
Authority
CN
China
Prior art keywords
antenna
connection state
state
mmw
communication module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210872460.8A
Other languages
Chinese (zh)
Other versions
CN115102638B (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.)
Quectel Wireless Solutions Co Ltd
Original Assignee
Quectel Wireless Solutions 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 Quectel Wireless Solutions Co Ltd filed Critical Quectel Wireless Solutions Co Ltd
Priority to CN202210872460.8A priority Critical patent/CN115102638B/en
Publication of CN115102638A publication Critical patent/CN115102638A/en
Application granted granted Critical
Publication of CN115102638B publication Critical patent/CN115102638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/15Performance testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/29Performance testing
    • 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

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses an information acquisition method, which is characterized in that the method is suitable for terminal equipment and comprises the following steps: in the starting process, according to a preset antenna determination rule, determining a target antenna from a plurality of millimeter wave MMW antennas; reading a state indication mark corresponding to the target antenna; and determining the connection state between the target antenna and the communication module according to the state indication identifier and a preset identifier list, wherein the connection state comprises unconnected state, connected state or state loss, and the communication module is used for receiving and transmitting data, so that the efficiency of acquiring the connection state between the MMW antenna and the communication module can be improved.

Description

Information acquisition method and device, electronic equipment and storage medium
Technical Field
The present application belongs to the field of communications technologies, and in particular, to an information obtaining method and apparatus, an electronic device, and a storage medium.
Background
In the field of communications, 5G mainly uses a Millimeter wave (MMW) antenna for communications. In general, a plurality of MMW antennas in the terminal device form an antenna array and are packaged separately, and normal communication can be performed only when the plurality of MMW antennas are connected to the communication module in the terminal device.
In the related art, the detection scheme for the connection state of the MMW antenna mostly depends on some platform tools, has limitations, is complex to operate, and has low efficiency in acquiring the connection state between the MMW antenna and the communication module.
Disclosure of Invention
The embodiment of the application provides an implementation scheme different from that of the related art, so as to solve the technical problems that in the related art, when the connection state between the MMW antenna and the communication module in the terminal equipment is acquired, the operation is complex, and the acquisition efficiency is low.
In a first aspect, the present application provides an information obtaining method, which is applicable to a terminal device, and includes: in the starting process, determining a target antenna from a plurality of MMW antennas according to a preset antenna determination rule; reading a state indication mark corresponding to the target antenna; and determining a connection state between the target antenna and a communication module according to the state indication identifier and a preset identifier list, wherein the connection state comprises unconnected state, connected state or state missing, and the communication module is used for receiving and transmitting data.
In a second aspect, the present application provides an information acquisition apparatus, comprising: the first determining unit is used for determining a target antenna from a plurality of MMW antennas according to a preset antenna determining rule in the starting process; the reading unit is used for reading the state indication mark corresponding to the target antenna; a second determining unit, configured to determine a connection state between the target antenna and a communication module according to the state indication identifier and a preset identifier list, where the connection state includes unconnected state, connected state, or state missing, and the communication module is configured to receive and transmit data.
In a third aspect, the present application provides an electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform any one of the first aspect or possible implementations of the first aspect via execution of the executable instructions.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method of the first aspect or any of the possible implementations of the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the method described in the first aspect or any one of the possible implementation manners of the first aspect.
In the embodiment of the application, in the starting process, the target antenna is determined from the multiple MMW antennas according to the preset antenna determination rule, the state indication mark corresponding to the target antenna is read, and then the connection state between the target antenna and the communication module is determined according to the state indication mark and the preset mark list. The connection state comprises unconnected state, connected state or state loss, the communication module is used for receiving and sending data, and the connection state between the MMW antenna and the communication module can be simply and efficiently acquired according to the read state indication identification and the preset identification of the MMW antenna in the starting process of the terminal device, so that the efficiency of acquiring the connection state between the MMW antenna and the communication module is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or related technologies of the present application, the drawings needed to be used in the description of the embodiments or related technologies are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts. In the drawings:
fig. 1 is a schematic flowchart of an information acquisition method according to an embodiment of the present application;
fig. 2a is another schematic flow chart of an information obtaining method according to an embodiment of the present application;
fig. 2b is a schematic flow chart illustrating displaying the acquired information on a display interface according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an information acquisition apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The terms "first" and "second," and the like in the description, the claims, and the drawings of the embodiments of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, some terms in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.
Millimeter wave: the MilliMeter Wave is called MMW for short, and electromagnetic waves with the wavelength of 1-10 mm are called MilliMeter waves and are positioned in the overlapping wavelength range of microwave and far-infrared waves, so that the MilliMeter Wave has the characteristics of two Wave spectrums. The theory and technology of millimeter waves are the extension of microwaves to high frequencies and the development of light waves to low frequencies, respectively. The frequency corresponding to the millimeter wave is 30-300 GHZ, the millimeter wave is an electromagnetic wave with very high frequency, the shorter the wavelength is, the higher the frequency is, the higher the speed of the electromagnetic wave on a transmission signal is, and the bandwidth capacity is larger, the millimeter wave is the core of the whole 5G technology and is the highest frequency part in the whole 5G signal section. The millimeter wave antenna exists in a mobile terminal in an array form, and most of common millimeter wave arrays of terminals are 1-dimensional or 2-dimensional array antennas.
Sub 6: the electromagnetic wave with the frequency lower than 6GHz has the speed and the bandwidth capacity which are much smaller than those of millimeter waves. The sub6 has longer wavelength, so it is easier to bypass the obstacle, so the sub6 has longer transmission distance and larger signal coverage area when building a base station. The 5G scheme is generally divided into two types, MMW and Sub 6.
Wireless terminal access device: customer premix Equipment, abbreviated CPE. The wireless terminal access device is used for receiving wifi signals, can replace a wireless network card, a wireless AP and a wireless network bridge, is used for receiving wireless signals of a wireless router, the wireless AP and a wireless print server, is a novel wireless terminal access device, is applied to wireless network access of hospitals, units, factories, cells and the like in a large number, and saves the cost of laying a line network.
Nand-flash memory: a flash memory internally adopts a nonlinear macro-unit mode, and provides a cheap and effective solution for realizing a solid-state large-capacity memory. The Nand-flash memory has the advantages of large capacity, high rewriting speed and the like, is suitable for storing a large amount of data, and is widely applied in the industry, for example, embedded products comprise a digital camera, an MP3 walkman memory card, a small-sized U-disk and the like.
A wireless wide area network: wireless Wide Area Network, WWAN for short, covers Wireless networks nationwide or worldwide and provides Wireless input at a greater range.
High-pass radio control tool: qualcomm Radio Control Tool, QRCT for short, is an important component of Radio frequency debugging Control tools.
High-pass extensible diagnostic monitor: the Qualcomm Extensible Diagnostic Monitor, QXDM for short, provides an effective tool for tracking data sent by a mobile phone terminal, can diagnose signaling flow, analyze whether a data packet is correct or not, and the like through data analysis, and plays an important role in testing.
Log file: log, usually a record of some processing done by the system or some software, is usually a text file, but could also be a file in other formats.
Soliciting an opinion draft: request For Comments, abbreviated as RFC, is a series of memos published by the Internet Engineering Task Force (IETF). The files collect information about the internet, and software files of UNIX and internet communities, which are numbered.
A baseband chip: the baseband processor, BP for short, is a chip for synthesizing a baseband signal to be transmitted or decoding a received baseband signal. Specifically, when transmitting, speech or other data signals are encoded into baseband codes for transmission; in receiving, the received baseband code is decoded into a voice or other data signal, which mainly performs the information processing function of the communication terminal.
In the field of communications, 5G mainly uses MMW antennas for communications. Typically, multiple MMW antennas in a terminal device form an antenna array and are packaged separately. Normal communication can only be performed if the plurality of MMW antennas are correctly connected to the communication module, wherein the communication module connected to the plurality of MMW antennas may be based on a Linux system.
In the correlation technique, the verification of the connection state between the MMW antenna and the communication module mostly depends on a platform tool, the verification has limitation, the operation is complex, the connection state of the MMW antenna cannot be output to a user side, the efficiency of acquiring the connection state between the MMW antenna and the communication module is low, and under the condition that the MMW antenna is not normally connected, the user cannot timely find the connection state, and the MMW antenna cannot be maintained. Therefore, the present application provides an information acquisition method, which is used for solving the technical problems that the current scheme for acquiring the connection state between the MMW antenna and the communication module in the terminal device has high dependence on a platform tool, has large limitation, is complex to operate, and has low acquisition efficiency.
The following describes the technical solution of the present application and how to solve the above technical problems in detail by using specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of an information obtaining method according to an embodiment of the present application, where an execution subject of the method may be a terminal device, and the method at least includes the following steps:
s101: and in the starting process, determining a target antenna from the plurality of MMW antennas according to a preset antenna determination rule.
The terminal device can be a mobile phone, a notebook computer, a wireless terminal access device with a built-in WWAN network card, or other devices with a built-in WWAN network card. The WWAN network card enables the terminal device to connect to the internet within the coverage of the cellular network, for example, a notebook computer can access the carrier network by installing the WWAN network card.
The preset antenna determination rule includes the number of MMW antennas in the terminal device and the position information of each MMW antenna in the sequence of the MMW antennas.
Specifically, in the process of starting up the terminal device, referring to fig. 2a, an initialization process of the MMW antenna may be started first, and then a step of determining a target antenna from the multiple MMW antennas according to a preset antenna determination rule is triggered and executed, where the multiple MMW antennas may be included in the MMW antenna list shown in fig. 2 a.
The target antenna may be determined specifically according to the position information of each antenna in the sequence of the multiple MMW antennas in the preset antenna determination rule.
Optionally, the preset antenna determination rule includes location information of each antenna (i.e., MMW antenna) in the sequence of the multiple MMW antennas. The location information indicates the front-to-back order of the antennas, and the target antenna can be determined from the plurality of MMW antennas in the order from front to back.
Specifically, the location information may be represented by numerical values, such as: 1. 2, N. N represents the number of MMW antennas included in the plurality of MMW antennas, and the numerical value for representing the position information is smaller the MMW antenna is ranked the earlier in the ranking of the plurality of MMW antennas.
Alternatively, when the target antenna is determined from the plurality of MMW antennas for the first time, the MMW antenna having the smallest positional information among the plurality of MMW antennas may be used as the target antenna.
S102: and reading the state indication mark corresponding to the target antenna.
The status indicator corresponding to the target antenna may be a character string, and the status indicator is generated by a communication module connected to the target antenna.
S103: and determining the connection state between the target antenna and the communication module according to the state indication identifier and the preset identifier list, wherein the connection state comprises unconnected state, connected state or state loss, and the communication module is used for receiving and transmitting data.
Correspondingly, the method further comprises the following steps: and acquiring a preset identification list, wherein the preset identification list stores the position information of each MMW antenna in the sequencing of the MMW antennas and preset identifications corresponding to the MMW antennas. According to the state indication mark and the preset mark list corresponding to the target antenna, the connection state between the target antenna and the communication module can be determined. The communication module may include a baseband chip (BP) in the terminal device, and is configured to synthesize a baseband signal to be transmitted or decode a received baseband signal. Specifically, during transmission, a voice or other data signal is encoded into a baseband code for transmission, mainly to perform an information processing function of the communication terminal. According to the current state indication mark of the target antenna and the preset mark preset by the MMW antenna, the connection state between the current state indication mark of the target antenna and the communication module can be simply and efficiently determined.
Fig. 2a is another schematic flow chart of an information obtaining method according to an embodiment of the present application, and fig. 2b is a schematic flow chart of displaying obtained information on a display interface according to an embodiment of the present application, and a detailed description will be given below with reference to fig. 2a and fig. 2b for a specific process of the information obtaining method and a specific process of displaying obtained information on the display interface.
In a possible implementation manner, referring to fig. 2a, after reading the status indication identifier corresponding to the target antenna and obtaining the position information corresponding to the target antenna, it may be compared whether the status indication identifier is consistent with the preset identifier corresponding to the position information in the preset identifier list, and when the status indication identifier is consistent with the preset identifier corresponding to the position information in the preset identifier list, it is determined whether the position information is the same as the last position information in the antenna determination sequence, and if so, the antenna connection status list is output. If not, returning to the step of determining the target antenna. And when the MMW antenna and the communication module are inconsistent, determining that the connection state between the residual MMW antenna and the communication module is state loss, and outputting an antenna connection state list.
After the antenna connection status list is derived, the antenna connection status list may be stored to a memory.
Specifically, in other optional embodiments of the present application, determining a connection state between the target antenna and the communication module according to the state indication identifier and the preset identifier list includes: acquiring the position information of a target antenna in an antenna determination sequence (the sequence is the same as that of the plurality of MMW antennas) in a preset antenna determination rule; comparing the state indication mark with a preset mark corresponding to the position information of the target antenna in the antenna determination sequence in the preset antenna determination rule in the preset mark list to obtain a comparison result; and when the comparison result indicates that the state indication mark is consistent with the preset mark, determining that the connection state between the target antenna and the communication module is connected.
The state indication mark and the position information of the target antenna in the antenna determination sequence in the preset antenna determination rule are in a relevant relationship.
Because the connection between the MMW antenna and the communication module is complex, the state indication mark consistent with the preset mark cannot be read under the condition that normal data transmission cannot be carried out between the target antenna and the communication module; only when normal data transmission can be carried out between the target antenna and the communication module, the state indication mark consistent with the preset mark can be read, namely, the connection state between the target antenna and the communication module is represented as connected.
Specifically, the position information of the target antenna in the preset antenna determination rule is obtained first, for example, assuming that a plurality of MMW antennas A, B, C, D, E, F, G, H, I, J are packaged into one MMW antenna array, where the position information of the target antenna a in the antenna determination sequence may be represented as L1, and then in the preset identifier list, the preset identifier corresponding to the obtained position information L1 may be represented as 001.
If the read state indication mark corresponding to the target antenna A is 001, namely the comparison result indicates that the state indication mark is consistent with the preset mark, the connection state between the target antenna A and the communication module is determined to be connected.
In a possible implementation manner, after determining that the connection state between the target antenna and the communication module is connected, the information obtaining method further includes: determining whether the position information is the same as the last position information in the antenna determination sequence, and if not, recording the connection state between the target antenna and the communication module into an antenna connection state list; determining a next antenna of the target antenna from the plurality of MMW antennas according to a preset antenna determination rule; taking the next antenna as a target antenna; returning to the step of reading the state indication mark corresponding to the target antenna; and if so, outputting an antenna connection state list corresponding to the MMW antennas.
And under the condition that the connection state between the target antenna and the communication module is connected, judging whether the connection state between each MMW antenna in the plurality of MMW antennas and the communication module is completely acquired.
Optionally, the last location information in the antenna determination sequence may be acquired, and it is determined whether the current location information of the target antenna is the same as the last location information, and if so, it is determined that the connection state between each MMW antenna of the multiple MMW antennas and the communication module is completely acquired.
Still taking the target antenna a as an example, assuming that the last position information in the antenna determination order is L10, it may be determined that the position information L1 of the target antenna a is different from the last position information L10, that is, the connection state between the plurality of MMW antennas and the communication module is not completely acquired, and then the connection state between the target antenna a and the communication module may be recorded in the antenna connection state list.
According to the antenna determination sequence in the preset antenna determination rule, the antenna B corresponding to the next position information L2 may be used as a new target antenna, that is, the next antenna of the target antenna, and the step of reading the status indicator corresponding to the target antenna B is performed, the read status indicator corresponding to the target antenna B is compared with the preset identifier L2 corresponding to the position information L2 in the preset identifier list, and when the comparison result indicates that the status indicator is consistent with the preset identifier 002, the connection status between the target antenna B and the communication module is determined to be connected.
And under the condition that the position information L2 of the target antenna B is different from the last position information, recording the connection state between the target antenna B and the communication module into an antenna connection state list, continuing to take the antenna corresponding to the next position information as a new target antenna according to the antenna determination sequence in the preset antenna determination rule, and returning to execute the step of reading the state indication identifier corresponding to the target antenna.
Assuming that the determined position information L10 is the same as the last position information in the antenna determination order, i.e., the target antenna J corresponding to the position information L10 is the last one in the MMW antenna array, that is, the connection states between the antennas corresponding to the position information L1 to L10 and the communication module are all connected,
then, the antenna connection state list corresponding to the antenna a to the antenna J may be output, the MMW is initialized successfully, and the antenna connection state list is stored in the memory.
The output antenna state connection list includes the connection state of each MMW antenna, and may also include a state indication identifier corresponding to each MMW antenna.
The memory may be a Nand-flash memory or other memories, which may be flexibly selected according to actual needs, and this application is not limited in this respect.
In a possible implementation manner, the information obtaining method further includes: when the comparison result indicates that the state indication mark is inconsistent with the preset mark, determining that the connection state between the target antenna and the communication module is unconnected, and determining the residual MMW antennas of which the connection states are undetermined in the plurality of MMW antennas; determining that the connection state between the residual MMW antenna and the communication module is state loss; and outputting a corresponding antenna connection state list according to the connection state corresponding to each MMW antenna in the MMW antennas.
And if the read state indication identifier corresponding to the target antenna is inconsistent with the preset identifier, the connection state between the target antenna and the communication module is not connected. At this time, the initialization of the MMW antenna fails, the state indication identifier of the MMW antenna corresponding to the next position information is not read any more, the state loss is directly used as the connection state of each remaining MMW antenna and the communication module, so that the connection state acquisition time is saved, and the connection state corresponding to each MMW antenna is output to a corresponding antenna connection state list, so that the acquisition speed of the connection state between each MMW antenna and the corresponding communication module is increased.
For example, if the preset flag corresponding to the position information L3 is 003 and the status indication flag of the target antenna C corresponding to the read position information L3 is 013, that is, the comparison result corresponding to the target antenna C indicates that the status indication flag is inconsistent with the preset flag, then it is determined that the connection status between the target antenna C and the communication module is unconnected.
At this time, the connection states between the remaining MMW antennas D to J and the communication module are not obtained, and it may be determined that the connection states of the remaining MMW antennas D to J and the communication module are all state loss.
And the connection states between the MMW antennas and the communication module are all obtained. Further, a corresponding antenna connection state list is output according to the connection state corresponding to each MMW antenna in the MMW antennas A-J, and the antenna connection state list is stored in a memory.
The connection state corresponding to the MMW antenna described in this application refers to a connection state between the MMW antenna and the communication module, and the connection state between the MMW antenna and the communication module refers to a connection state between the MMW antenna and the communication module corresponding thereto.
In a possible implementation manner, after the boot process is finished, the information obtaining method further includes: acquiring a checking instruction of a user, wherein the checking instruction is used for checking the connection state corresponding to each MMW antenna in a plurality of MMW antennas; reading an antenna connection state list according to the checking instruction; and displaying the antenna connection state list in a display interface.
The viewing instruction is an instruction for viewing a connection state between the plurality of MMW antennas and the communication module. After the starting process of the terminal equipment is finished, a user can trigger a viewing instruction through a display interface on the terminal equipment. After the terminal device acquires the viewing instruction, the antenna connection state list can be read from the memory according to the instruction, and the antenna connection state list is displayed in the display interface.
In a possible implementation manner, which may be combined with fig. 2b, the reading the antenna connection status list according to the viewing instruction includes: and when the checking instruction is acquired, executing a preset reading instruction for reading the antenna connection state list, and reading the antenna connection state list.
When the terminal device obtains a viewing instruction of a user, a preset AT instruction with a function of reading the antenna connection state list, namely a reading instruction, is executed, so that the antenna connection state list is read from the memory, and the antenna connection state list is displayed in a display interface.
In a possible implementation manner, the information obtaining method further includes: displaying an operation button for a user to check the connection state corresponding to each MMW antenna in the MMW antennas on a display interface; and taking an operation instruction of clicking operation of the operation button by the user as a viewing instruction.
The terminal equipment can display an operation button on a display interface, and when a user needs to check the connection state corresponding to each MMW antenna in the multiple MMW antennas of the terminal equipment, the user can click the operation button to trigger a checking instruction.
An input box can also be displayed on the display interface, and a user can input preset characters corresponding to the viewing instruction in the input box to trigger the viewing instruction.
Besides the above two ways, the viewing instruction may also be triggered in other ways in the related art, which is not specifically limited in this application.
In the process of starting the terminal equipment, the connection state corresponding to each MMW antenna in the MMW antennas is stored in the memory, so that at any time after the terminal equipment is started, a user can check the connection state corresponding to each MMW antenna in the MMW antennas by triggering the check instruction.
In addition, after the terminal device is powered on, the connection state corresponding to each MMW antenna in the multiple MMW antennas may change, and in order to enable a user to obtain the latest connection state corresponding to each MMW antenna in the multiple MMW antennas in time, after the terminal device is powered on, a target antenna may be determined from the multiple MMW antennas periodically according to a preset antenna determination rule, a state indication identifier corresponding to the target antenna is read, and the connection state between the target antenna of each MMW antenna in the multiple MMW antennas and the communication module is determined according to the state indication identifier and a preset identifier list, so as to update the antenna connection state list.
The updating process of the antenna connection state list can be completed according to the updating instruction under the condition that the updating instruction of the user is obtained, the computing resource is saved, the consumption of a computing system is reduced, meanwhile, the latest connection state corresponding to each MMW antenna in the multiple MMW antennas can be obtained, the user can check the latest connection state corresponding to each MMW antenna in the multiple MMW antennas in time, and corresponding maintenance and management measures are carried out on the MMW antennas which are not connected in the connection state.
In the embodiment of the application, in the starting process, the target antenna is determined from the multiple MMW antennas according to the preset antenna determination rule, the state indication mark corresponding to the target antenna is read, and then the connection state between the target antenna and the communication module is determined according to the state indication mark and the preset mark list. The connection state comprises unconnected state, connected state or state loss, the communication module is used for receiving and sending data, and the connection state between the MMW antenna and the communication module can be simply and efficiently acquired according to the read state indication identification and the preset identification of the MMW antenna in the starting process of the terminal device, so that the efficiency of acquiring the connection state between the MMW antenna and the communication module by a user is improved.
Fig. 3 is a schematic structural diagram of an information acquisition apparatus according to an embodiment of the present application; wherein, the device includes:
the first determining unit is used for determining a target antenna from the multiple MMW antennas according to a preset antenna determining rule in the starting process;
the reading unit is used for reading the state indication mark corresponding to the target antenna;
and the second determining unit is used for determining the connection state between the target antenna and the communication module according to the state indication identifier and the preset identifier list, wherein the connection state comprises unconnected state, connected state or state missing, and the communication module is used for receiving and transmitting data.
In one possible implementation manner, the second determining unit includes: the antenna positioning device comprises an acquisition subunit, a positioning unit and a positioning unit, wherein the acquisition subunit is used for acquiring the position information of a target antenna in an antenna determination sequence in a preset antenna determination rule; the comparison subunit is used for comparing the state indication identifier with the preset identifier corresponding to the position information in the preset identifier list to obtain a comparison result; and the first determining subunit is used for determining that the connection state between the target antenna and the communication module is connected when the comparison result indicates that the state indication identifier is consistent with the preset identifier. In one possible implementation manner, the information acquiring apparatus further includes: a third determining unit, configured to determine whether the location information is the same as the last location information in the antenna determination order, and if not, record a connection state between the target antenna and the communication module in the antenna connection state list; determining a next antenna of the target antenna from the plurality of MMW antennas according to the preset antenna determination rule; taking the next antenna as a target antenna; returning to the step of reading the state indication mark corresponding to the target antenna; and if so, outputting an antenna connection state list corresponding to the MMW antennas. In one possible implementation manner, the information acquiring apparatus further includes: a fourth determining unit, configured to determine, when the comparison result indicates that the state indication identifier is inconsistent with the preset identifier, that the connection state between the target antenna and the communication module is unconnected, determine remaining MMW antennas of the multiple MMW antennas whose connection states are undetermined; determining that the connection state between the remaining MMW antenna and the communication module is state missing; and outputting a corresponding antenna connection state list according to the connection state corresponding to each MMW antenna in the MMW antennas.
In one possible implementation manner, the information acquiring apparatus further includes: the acquisition unit is used for acquiring a checking instruction of a user after the starting process is finished, wherein the checking instruction is used for checking the connection state corresponding to each MMW antenna in the MMW antennas; the reading unit is used for reading the antenna connection state list according to the checking instruction; and the first display unit is used for displaying the antenna connection state list in a display interface.
In a possible implementation manner, the reading unit is specifically configured to, when the checking instruction is obtained, execute a preset reading instruction for reading the antenna connection state list, and read the antenna connection state list.
In one possible implementation manner, the information acquiring apparatus further includes: the second display unit is used for displaying an operation button for a user to check the connection state corresponding to each MMW antenna in the multiple MMW antennas on the display interface; and taking the clicking operation of the user on the operation button as the viewing instruction.
It is to be understood that the apparatus embodiments and the method embodiments may correspond to each other and similar descriptions may be made with reference to the method embodiments. To avoid repetition, further description is omitted here. Specifically, the apparatus may perform the method embodiment, and the foregoing and other operations and/or functions of each unit in the apparatus are respectively corresponding flows in each method in the method embodiment, and for brevity, are not described again here.
The apparatus of the embodiments of the present application is described above in connection with the drawings from the perspective of functional modules. It should be understood that the functional modules may be implemented by hardware, by instructions in software, or by a combination of hardware and software modules. Specifically, the steps of the method embodiments in the present application may be implemented by integrated logic circuits of hardware in a processor and/or instructions in the form of software, and the steps of the method disclosed in conjunction with the embodiments in the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. Alternatively, the software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, electrically erasable programmable memory, registers, or other storage medium known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps in the above method embodiments in combination with hardware thereof.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device may include:
a memory 301 and a processor 302, the memory 301 being adapted to store a computer program and to transfer the program code to the processor 302. In other words, the processor 302 may call and run a computer program from the memory 301 to implement the method in the embodiment of the present application.
For example, the processor 302 may be configured to perform the above-described method embodiments according to instructions in the computer program.
In some embodiments of the present application, the processor 302 may include, but is not limited to:
general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like.
In some embodiments of the present application, the memory 301 includes, but is not limited to:
volatile memory and/or non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (DDR SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).
In some embodiments of the present application, the computer program may be divided into one or more modules, which are stored in the memory 301 and executed by the processor 302 to perform the methods provided herein. The one or more modules may be a series of computer program instruction segments capable of performing certain functions, the instruction segments describing the execution of the computer program in the electronic device.
As shown in fig. 4, the electronic device may further include:
a transceiver 303, the transceiver 303 being connectable to the processor 302 or the memory 301.
The processor 302 may control the transceiver 303 to communicate with other devices, and specifically, may transmit information or data to the other devices or receive information or data transmitted by the other devices. The transceiver 303 may include a transmitter and a receiver. The transceiver 303 may further include one or more antennas.
It should be understood that the various components in the electronic device are connected by a bus system that includes a power bus, a control bus, and a status signal bus in addition to a data bus.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a computer, enables the computer to perform the method of the above-described method embodiments. In other words, the present application also provides a computer program product containing instructions, which when executed by a computer, cause the computer to execute the method of the above method embodiments.
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. The procedures or functions described in accordance with the embodiments of the present application occur, in whole or in part, when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the 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 Video Disk (DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), among others.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the module is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some interfaces, indirect coupling or communication connection between devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. For example, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module.
The above description is only for the 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 conceive of the changes or substitutions within the technical scope of the present application, and shall 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 (10)

1. An information acquisition method is applicable to a terminal device, and includes:
in the starting process, according to a preset antenna determination rule, determining a target antenna from a plurality of millimeter wave MMW antennas;
reading a state indication mark corresponding to the target antenna;
and determining the connection state between the target antenna and a communication module according to the state indication identifier and a preset identifier list, wherein the connection state comprises unconnected state, connected state or state loss, and the communication module is used for receiving and transmitting data.
2. The method according to claim 1, wherein the determining the connection state between the target antenna and the communication module according to the state indication identifier and a preset identifier list comprises:
acquiring the position information of the target antenna in the antenna determination sequence in the preset antenna determination rule;
comparing the state indication identifier with a preset identifier corresponding to the position information in the preset identifier list to obtain a comparison result;
and when the comparison result indicates that the state indication mark is consistent with the preset mark, determining that the connection state between the target antenna and the communication module is connected.
3. The method of claim 2, wherein after determining that the connection status between the target antenna and the communication module is connected, the method further comprises:
determining whether the position information is the same as the last position information in the antenna determination order,
if not, recording the connection state between the target antenna and the communication module into an antenna connection state list; determining a next antenna of the target antenna from the plurality of MMW antennas according to the preset antenna determination rule; taking the next antenna as a target antenna; returning to execute the step of reading the state indication mark corresponding to the target antenna;
and if so, outputting the antenna connection state list corresponding to the MMW antennas.
4. The method of claim 2, further comprising:
when the comparison result indicates that the state indication mark is inconsistent with the preset mark, determining that the connection state between the target antenna and the communication module is unconnected, and
determining remaining MMW antennas of the plurality of MMW antennas whose connection status is undetermined;
determining that the connection state between the remaining MMW antenna and the communication module is state missing;
and outputting a corresponding antenna connection state list according to the connection state corresponding to each MMW antenna in the MMW antennas.
5. The method according to claim 3 or 4, wherein after the boot process is finished, the method further comprises:
acquiring a checking instruction of a user, wherein the checking instruction is used for checking the connection state corresponding to each MMW antenna in a plurality of MMW antennas;
reading the antenna connection state list according to the checking instruction;
and displaying the antenna connection state list in a display interface.
6. The method according to claim 5, wherein the reading the antenna connection status list according to the viewing instruction comprises:
and when the checking instruction is acquired, executing a preset reading instruction for reading the antenna connection state list, and reading the antenna connection state list.
7. The method of claim 6, further comprising:
displaying an operation button for a user to check the connection state corresponding to each MMW antenna in the plurality of MMW antennas on the display interface;
and taking an operation instruction of clicking operation of the operation button by the user as the viewing instruction.
8. An information acquisition apparatus characterized by comprising:
the first determining unit is used for determining a target antenna from the multiple millimeter wave MMW antennas according to a preset antenna determining rule in the starting process;
the reading unit is used for reading the state indication mark corresponding to the target antenna;
a second determining unit, configured to determine a connection state between the target antenna and a communication module according to the state indication identifier and a preset identifier list, where the connection state includes unconnected state, connected state, or state missing, and the communication module is configured to receive and transmit data.
9. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1-7 via execution of the executable instructions.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
CN202210872460.8A 2022-07-20 2022-07-20 Information acquisition method, device, electronic equipment and storage medium Active CN115102638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210872460.8A CN115102638B (en) 2022-07-20 2022-07-20 Information acquisition method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210872460.8A CN115102638B (en) 2022-07-20 2022-07-20 Information acquisition method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115102638A true CN115102638A (en) 2022-09-23
CN115102638B CN115102638B (en) 2024-04-30

Family

ID=83299355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210872460.8A Active CN115102638B (en) 2022-07-20 2022-07-20 Information acquisition method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115102638B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155406A (en) * 2006-09-29 2008-04-02 华为技术有限公司 Resource allocation indicating method and device
CN102135629A (en) * 2010-12-21 2011-07-27 中国科学院上海微***与信息技术研究所 Millimeter wave transceiving module for holographic imaging safety inspection system
CN106358217A (en) * 2015-07-14 2017-01-25 启碁科技股份有限公司 Method for switching access point coverage, switcher and access point management system
CN107408758A (en) * 2015-08-27 2017-11-28 华为技术有限公司 Antenna, method of controlling antenna, ACU antenna control unit and antenna system
CN108769367A (en) * 2018-04-20 2018-11-06 Oppo广东移动通信有限公司 Method of controlling antenna and Related product
CN109191603A (en) * 2018-08-08 2019-01-11 深圳成谷科技有限公司 A kind of the parallel transaction data processing system and method for free current antenna
CN109412665A (en) * 2018-07-09 2019-03-01 展讯通信(上海)有限公司 The instruction of channel status and acquisition methods, sending device, receiving device, medium
US20200096554A1 (en) * 2018-09-25 2020-03-26 National Instruments Corporation Hardware Timed Over-the-Air Antenna Characterization
CN111277298A (en) * 2020-01-21 2020-06-12 Oppo广东移动通信有限公司 Customer premises equipment
CN111277314A (en) * 2020-01-21 2020-06-12 Oppo广东移动通信有限公司 Antenna routing method and related device
CN112203214A (en) * 2019-06-20 2021-01-08 中兴通讯股份有限公司 Terminal device positioning method and device, storage medium and electronic device
CN112956240A (en) * 2019-09-09 2021-06-11 华为技术有限公司 Antenna switching method and device
WO2021139015A1 (en) * 2020-01-10 2021-07-15 深圳市信维通信股份有限公司 5g millimeter wave dual-polarized antenna module and handheld device
CN113242056A (en) * 2021-06-15 2021-08-10 Oppo广东移动通信有限公司 Client front-end device, antenna control method, and computer-readable storage medium
CN113595580A (en) * 2021-02-09 2021-11-02 杭州海康威视数字技术股份有限公司 Wireless communication method, electronic device, antenna and tuning device
CN113783582A (en) * 2021-08-27 2021-12-10 上海闻泰电子科技有限公司 Signal transmission method and device based on millimeter wave antenna, electronic equipment and medium
US20220140497A1 (en) * 2020-11-04 2022-05-05 National Instruments Corporation Compact Antenna Test Range (CATR) Alignment Verification

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155406A (en) * 2006-09-29 2008-04-02 华为技术有限公司 Resource allocation indicating method and device
CN102135629A (en) * 2010-12-21 2011-07-27 中国科学院上海微***与信息技术研究所 Millimeter wave transceiving module for holographic imaging safety inspection system
CN106358217A (en) * 2015-07-14 2017-01-25 启碁科技股份有限公司 Method for switching access point coverage, switcher and access point management system
CN107408758A (en) * 2015-08-27 2017-11-28 华为技术有限公司 Antenna, method of controlling antenna, ACU antenna control unit and antenna system
CN108769367A (en) * 2018-04-20 2018-11-06 Oppo广东移动通信有限公司 Method of controlling antenna and Related product
CN109412665A (en) * 2018-07-09 2019-03-01 展讯通信(上海)有限公司 The instruction of channel status and acquisition methods, sending device, receiving device, medium
CN109191603A (en) * 2018-08-08 2019-01-11 深圳成谷科技有限公司 A kind of the parallel transaction data processing system and method for free current antenna
US20200096554A1 (en) * 2018-09-25 2020-03-26 National Instruments Corporation Hardware Timed Over-the-Air Antenna Characterization
CN112203214A (en) * 2019-06-20 2021-01-08 中兴通讯股份有限公司 Terminal device positioning method and device, storage medium and electronic device
CN112956240A (en) * 2019-09-09 2021-06-11 华为技术有限公司 Antenna switching method and device
WO2021139015A1 (en) * 2020-01-10 2021-07-15 深圳市信维通信股份有限公司 5g millimeter wave dual-polarized antenna module and handheld device
CN111277314A (en) * 2020-01-21 2020-06-12 Oppo广东移动通信有限公司 Antenna routing method and related device
CN111277298A (en) * 2020-01-21 2020-06-12 Oppo广东移动通信有限公司 Customer premises equipment
US20220140497A1 (en) * 2020-11-04 2022-05-05 National Instruments Corporation Compact Antenna Test Range (CATR) Alignment Verification
CN113595580A (en) * 2021-02-09 2021-11-02 杭州海康威视数字技术股份有限公司 Wireless communication method, electronic device, antenna and tuning device
CN113242056A (en) * 2021-06-15 2021-08-10 Oppo广东移动通信有限公司 Client front-end device, antenna control method, and computer-readable storage medium
CN113783582A (en) * 2021-08-27 2021-12-10 上海闻泰电子科技有限公司 Signal transmission method and device based on millimeter wave antenna, electronic equipment and medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MUFTAH ASAADI; ABDELRAZIK SEBAK: ""High-Gain Low-Profile Circularly Polarized Slotted SIW Cavity Antenna for MMW Applications"", 《IEEE ANTENNAS AND WIRELESS PROPAGATION LETTERS》, vol. 16, 24 August 2016 (2016-08-24) *
张永棠: ""基于天线选择的MIMO***能效功率分配优化"", 《信息通信技术》, no. 4, 15 April 2020 (2020-04-15) *
鄂蕴纲 李相强 王晓红: ""毫米波车地通信的小型化波导螺旋阵列天线设计"", 《太赫兹科学与电子信息学报》, vol. 19, no. 5, 5 November 2021 (2021-11-05) *

Also Published As

Publication number Publication date
CN115102638B (en) 2024-04-30

Similar Documents

Publication Publication Date Title
US11304105B2 (en) System information sending method, network device and terminal device
CN101926156A (en) Monitoringand troubleshooting module associated with portable communication device
CN105373587A (en) Picture display method and terminal
CN103619054A (en) Method and device for selecting network frequency band and router
KR20060101556A (en) Local and remote access to radio parametric and regulatory data and methods therefor
CN113016172B (en) Information processing apparatus and communication system
CN108132850A (en) Code location method, apparatus and electronic equipment
CN116830766A (en) Communication method and communication device
US20230413247A1 (en) Method for communication processing, terminal device, and non-transitory computer-readable storage medium
CN104850873A (en) Communication apparatus, information processing apparatus, and control method for the same
CN104899275A (en) Cell search method and terminal
CN115102638B (en) Information acquisition method, device, electronic equipment and storage medium
CN107889191B (en) Connection method, device and equipment of wireless local area network and computer readable storage medium
CN111901813A (en) Network configuration method and equipment for customer premises equipment
CN114697942B (en) Self-connection method, system, terminal equipment and storage medium
CN111510995A (en) Wireless communication method and apparatus
CN111355852B (en) Method and equipment for acquiring contact number based on blockchain
CN113805927A (en) Code updating method and device, electronic equipment and computer storage medium
CN106717107A (en) Method and terminal for connecting to network
CN106778408B (en) NFC-WIFI reader device and NFC data processing method
CN111050395B (en) Method and device for judging large-distance movement of equipment position
KR102607207B1 (en) Method and apparatus for secondary platform bundle download using activation code
CN106658614B (en) Cell search method, device and system
CN116156449B (en) Method, device, medium and program product for transmitting data information
US20220322070A1 (en) vSIM MODULE FOR PORTABLE APPARATUS

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant