CN110557167A - Setting method and setting system of radio frequency switch, intelligent terminal and storage device - Google Patents

Setting method and setting system of radio frequency switch, intelligent terminal and storage device Download PDF

Info

Publication number
CN110557167A
CN110557167A CN201910692197.2A CN201910692197A CN110557167A CN 110557167 A CN110557167 A CN 110557167A CN 201910692197 A CN201910692197 A CN 201910692197A CN 110557167 A CN110557167 A CN 110557167A
Authority
CN
China
Prior art keywords
radio frequency
frequency switch
data
switch
switch state
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
CN201910692197.2A
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201910692197.2A priority Critical patent/CN110557167A/en
Publication of CN110557167A publication Critical patent/CN110557167A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/738Interface circuits for coupling substations to external telephone lines
    • H04M1/7385Programmable or microprocessor-controlled

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a setting method, a setting system, an intelligent terminal and a storage device of a radio frequency switch, wherein the setting method comprises the following steps: detecting a control instruction sent to the radio frequency switch, and sequentially writing data of the control instruction into a to-be-set switch state collection unit; and when the data of the control instruction stored in the to-be-set switch state collecting unit exceeds a preset storage threshold value, all the currently stored data in the to-be-set switch state collecting unit are written into a target register of the radio frequency switch. In this way, the number of times of writing data in the radio frequency switch can be effectively reduced, so that the control number of times of the radio frequency switch is reduced, the service life of the radio frequency switch is prolonged, the call drop condition during call is avoided, the user experience is improved, and convenience is brought to a user.

Description

Setting method and setting system of radio frequency switch, intelligent terminal and storage device
Technical Field
The present application relates to the field of radio frequency switches, and in particular, to a setting method, a setting system, an intelligent terminal, and a storage device for a radio frequency switch.
Background
Nowadays, as the radio frequency switch is a main part of the wireless receiving or transmitting system of the intelligent terminal, the importance of the radio frequency switch is self-evident particularly in the conversation which is one of the most basic functions of the mobile terminal. The radio frequency switch is an electronic switch, the control frequency of the radio frequency switch is limited to a certain extent, and when the frequency reaches the upper limit, the probability of control failure of the radio frequency switch is increased, so that radio frequency operation is unstable.
Therefore, the current mode of directly and sequentially writing the data of the corresponding control instruction into the radio frequency switch leads the frequency of controlling the radio frequency switch to be relatively more, thereby reducing the service life of the radio frequency switch, leading the radio frequency switch to reach the upper limit of the control frequency of the radio frequency switch too early and leading the occurrence of call drop during conversation.
Disclosure of Invention
The application provides a setting method, a setting system, an intelligent terminal and a storage device of a radio frequency switch, and the setting method can reduce the control times of the radio frequency switch so as to prolong the service life of the radio frequency switch and avoid the occurrence of call drop during call.
In order to solve the technical problem, the application adopts a technical scheme that: a setting method of a radio frequency switch is provided, wherein the setting method comprises the following steps: detecting a control instruction sent to the radio frequency switch, and sequentially writing data of the control instruction into a to-be-set switch state collection unit; and when the data of the control instruction stored in the to-be-set switch state collecting unit exceeds a preset storage threshold value, all the currently stored data in the to-be-set switch state collecting unit are written into a target register of the radio frequency switch.
The method comprises the following steps of detecting a control instruction sent to a radio frequency switch, and sequentially writing data of the control instruction into a to-be-set switch state collecting unit: detecting a control command sent to the radio frequency switch; when the control instruction is to acquire the current on-off state of the radio frequency switch, further searching whether a first storage unit with a temporary address identical to a program access address for acquiring the current on-off state of the radio frequency switch exists in the to-be-set on-off state collection unit; if the temporary data exists, returning the temporary data in the first storage unit; if not, returning data corresponding to the program access address for acquiring the current switch state of the radio frequency switch; when the control instruction is to acquire the access address and the corresponding data of the radio frequency switch setting program, searching whether a second storage unit with the temporary address same as the access address of the radio frequency switch setting program exists in the to-be-set switch state collection unit or not; if the temporary data exists, assigning data corresponding to the access address of the radio frequency switch setting program in the radio frequency switch to the temporary data of the second storage unit; and if the temporary address of the second storage unit is not the access address of the radio frequency switch setting program, establishing a second storage unit in the to-be-set switch state collection unit, and assigning data corresponding to the access address of the radio frequency switch setting program to the temporary data of the second storage unit.
When the data of the control instruction stored in the to-be-set switch state collection unit exceeds a preset storage threshold value, the step of writing all the currently stored data in the to-be-set switch state collection unit into a target register of the radio frequency switch comprises the following steps: when the program execution of one control operation of the radio frequency switch is finished, detecting whether the number of storage units corresponding to program data corresponding to the control operation of the radio frequency switch in a to-be-set switch state collection unit reaches a preset value; if so, writing temporary data of the corresponding control instruction in a storage unit of which each temporary address is a program access address of the radio frequency switch control operation; if not, continuing to store.
when the data of the control instruction stored in the to-be-set switch state collection unit exceeds a preset storage threshold, writing all the currently stored data in the to-be-set switch state collection unit into a target register of the radio frequency switch, and then: and deleting all stored data of corresponding control instructions for controlling the radio frequency switch in the to-be-set switch state collection unit.
The setting method is applied to the intelligent terminal, and when the intelligent terminal is detected to be in a preset mode, all data currently stored in a to-be-set switch state collecting unit are written into a target register of the radio frequency switch; and deleting all stored data of corresponding control instructions for controlling the radio frequency switch in the to-be-set switch state collection unit.
In order to solve the above technical problem, the present application adopts another technical solution: providing a setting system of a radio frequency switch, wherein the setting system comprises a control operation processing module and a data storage module which are coupled with each other; the control operation processing module is used for detecting a control instruction sent to the radio frequency switch and sequentially writing data of the control instruction into the to-be-set switch state collecting unit; the data storage module is used for writing all the currently stored data in the to-be-set switch state collection unit into a target register of the radio frequency switch when the data of the control instruction stored in the to-be-set switch state collection unit exceeds a preset storage threshold value.
Wherein the control operation processing module further comprises: the switch state processing module is used for acquiring a program access address of the current switch state of the radio frequency switch and searching whether a first storage unit with a temporary address identical to the program access address for acquiring the current switch state exists in the to-be-set switch state collecting unit; if the temporary data exists, returning the temporary data in the first storage unit; if the current switch state does not exist, returning to obtain the data in the program access address of the current switch state; the radio frequency switch setting processing module is coupled with the switch state processing module and used for searching whether a second storage unit with a temporary address identical to the access address of the radio frequency switch setting program exists in the to-be-set switch state collection unit or not when the control instruction is to acquire the access address of the radio frequency switch setting program and store data; if the temporary data exists, assigning data corresponding to the access address of the radio frequency switch setting program in the radio frequency switch to the temporary data of the second storage unit; and if the temporary address of the second storage unit is not the access address of the radio frequency switch setting program, establishing a second storage unit in the to-be-set switch state collection unit, and assigning data corresponding to the access address of the radio frequency switch setting program to the temporary data of the second storage unit.
Wherein the data storage module further comprises: the trigger module is used for triggering when the program of one-time control operation of the radio frequency switch is executed, and completely writing the currently stored data in the to-be-set switch state collection unit into a target register of the radio frequency switch; the writing module is coupled with the triggering module and used for writing temporary data in the storage unit of which each temporary address is a program access address of the radio frequency switch control operation in the to-be-set switch state collection unit; and the zero clearing module is coupled with the writing module and is used for deleting all the stored data of the corresponding control instructions for controlling the radio frequency switch in the to-be-set switch state collection unit.
In order to solve the above technical problem, the present application adopts another technical solution: the intelligent terminal comprises a memory, a processor, a connector and a radio frequency switch; the storage is provided with a switch state collecting unit to be arranged, the radio frequency switch is in contact with the connector so as to be electrically connected with the processor, the processor is coupled with the switch state collecting unit to be arranged, the storage is stored with program data, and the processor realizes the setting method of the radio frequency switch when executing the program data.
In order to solve the above technical problem, the present application adopts another technical solution: there is provided a storage device in which program data is stored, the program data being executable to implement the setting method of the radio frequency switch as described above.
the beneficial effect of this application is: different from the prior art, the setting method of the radio frequency switch comprises the following steps: detecting a control instruction sent to the radio frequency switch, and sequentially writing data of the control instruction into a to-be-set switch state collection unit; and when the data of the control instruction stored in the to-be-set switch state collecting unit exceeds a preset storage threshold value, all the currently stored data in the to-be-set switch state collecting unit are written into a target register of the radio frequency switch. In this way, the data that need write into corresponding control command in the radio frequency switch target register is prestored in a waiting to establish on-off state collection unit, and when the data that should wait to establish on-off state collection unit and current storage surpassed and predetermine the storage threshold value, all write in the target register of radio frequency switch again, thereby can reduce the number of times of writing in data in the radio frequency switch, in order to reduce the number of times of control to the radio frequency switch, prolong the life of radio frequency switch, the emergence of the condition of falling the call when avoiding conversing, thereby user experience has been improved, bring convenience for the user.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
FIG. 1 is a schematic flow chart diagram illustrating a first embodiment of a method for setting a radio frequency switch according to the present application;
FIG. 2 is a schematic flow chart of a second embodiment of the setting method of the RF switch of the present application;
FIG. 3 is a schematic flow chart of a third embodiment of the setting method of the RF switch of the present application;
FIG. 4 is a schematic flow chart of a fourth embodiment of the setting method of the RF switch of the present application;
FIG. 5 is a schematic flow chart of a fifth embodiment of the method for setting the RF switch of the present application;
FIG. 6 is a schematic structural diagram of a first embodiment of a setting system of the RF switch of the present application;
FIG. 7 is a schematic structural diagram of a second embodiment of the RF switch setting system of the present application;
fig. 8 is a schematic structural diagram of a third embodiment of the setting system of the rf switch of the present application;
FIG. 9 is a schematic structural diagram of an embodiment of an intelligent terminal according to the present application;
FIG. 10 is a schematic structural diagram of an embodiment of a memory device according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of a first embodiment of a setting method of a radio frequency switch according to the present application, and the present embodiment includes the following steps:
S11: and detecting a control command sent to the radio frequency switch, and sequentially writing data of the control command into the to-be-set switch state collection unit.
In this embodiment, the control operation on the radio frequency switch is implemented by sending a corresponding control instruction, a to-be-set switch state collection unit is preset in a controller of the radio frequency switch, the control instruction sent to the radio frequency switch by the controller of the radio frequency switch is detected, and data of the control instruction is preferably written into the to-be-set switch state collection unit in sequence.
in an optional embodiment, the control instruction includes a control instruction for selecting a corresponding target register in the radio frequency switch, and data of the corresponding control instruction of the radio frequency switch is written into the target register, and the controller of the radio frequency switch detects the control instruction sent to the radio frequency switch, and sequentially writes the control instruction for selecting the corresponding target register in the radio frequency switch and the data of the corresponding control instruction of the radio frequency switch written into the target register into the to-be-set switch state collection unit.
In other embodiments, the control instruction further includes a control instruction for selecting a target radio frequency switch, and the controller of the radio frequency switch detects the control instruction sent to the radio frequency switch, and sequentially writes the control instruction for selecting the target radio frequency switch, the control instruction for selecting a corresponding target register in the target radio frequency switch, and data for writing the corresponding control instruction for the radio frequency switch in the target register into the to-be-switched state collection unit.
S12: and when the data of the control instruction stored in the to-be-set switch state collecting unit exceeds a preset storage threshold value, all the currently stored data in the to-be-set switch state collecting unit are written into a target register of the radio frequency switch.
In this embodiment, the to-be-set switch state collection unit is a temporary storage unit, a storage threshold is preset in the to-be-set switch state collection unit, when a control instruction sent to the radio frequency switch is detected, data of the control instruction is firstly written into the to-be-set switch state collection unit in sequence, and when the size of a storage area of the to-be-set switch state collection unit occupied by the data of the control instruction stored in the to-be-set switch state collection unit exceeds the preset storage threshold, all the currently stored data in the to-be-set switch state collection unit are written into a target register of the radio frequency switch, wherein a process of writing data into the target register of the radio frequency switch is a control operation on the radio frequency switch.
Different from the prior art, the setting method of the radio frequency switch in the application comprises the following steps: detecting a control instruction sent to the radio frequency switch, and sequentially writing data of the control instruction into a to-be-set switch state collection unit; and when the data of the control instruction stored in the to-be-set switch state collecting unit exceeds a preset storage threshold value, all the currently stored data in the to-be-set switch state collecting unit are written into a target register of the radio frequency switch. In this way, the data that need write into corresponding control command in the radio frequency switch target register is prestored in a waiting to establish on-off state collection unit, and when the data that should wait to establish on-off state collection unit and current storage surpassed and predetermine the storage threshold value, all write in the target register of radio frequency switch again, thereby can reduce the number of times of writing in data in the radio frequency switch, in order to reduce the number of times of control to the radio frequency switch, prolong the life of radio frequency switch, the emergence of the condition of falling the call when avoiding conversing, thereby user experience has been improved, bring convenience for the user.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating a setting method of a radio frequency switch according to a second embodiment of the present application. This embodiment is a specific implementation step of S11 in the first embodiment of the present application, and includes:
and S111, detecting a control command sent to the radio frequency switch.
In the present embodiment, the control operation of the rf switch is implemented by sending a corresponding control command, and the control command sent to the rf switch is detected to further execute S112 or S113.
And S112, when the control instruction is to acquire the current on-off state of the radio frequency switch, further searching whether a first storage unit with the same temporary address as the program access address for acquiring the current on-off state of the radio frequency switch exists in the to-be-set on-off state collection unit. If so, S1121 is further executed, and if not, S1122 is executed.
In this embodiment, the current switch state of the radio frequency switch includes selecting a target radio frequency switch, selecting a corresponding target register in the target radio frequency switch, and writing data of a corresponding control instruction of the radio frequency switch into the target register, where the to-be-set switch state collection unit is provided with a first storage unit, and when detecting that the control instruction sent to the radio frequency switch is to obtain the current switch state of the radio frequency switch, searching whether the first storage unit exists in the to-be-set switch state collection unit, where a temporary address of the first storage unit is the same as a program access address for obtaining the current switch state of the radio frequency switch.
S1121: and returning the temporary data in the first storage unit.
in this embodiment, the first storage unit includes a temporary address and temporary data stored in the first storage unit corresponding to the temporary address, and when it is detected that the control instruction sent to the radio frequency switch is to acquire the current switch state of the radio frequency switch, the current switch state is read, and when a first storage unit having the same temporary address as a program access address for acquiring the current switch state of the radio frequency switch exists in the to-be-set switch state collection unit, the temporary data currently stored in the first storage unit is returned. That is, the current switch state of the rf switch is read, and when the rf switch controller does not perform a control operation on the rf switch during the period of reading the switch state, the content of the temporary data currently stored in the first storage unit that has been read before is returned.
S1122: and returning to obtain the corresponding data in the program access address of the current switch state of the radio frequency switch.
In this embodiment, the current switch state of the radio frequency switch includes selecting a target radio frequency switch, selecting a corresponding target register in the target radio frequency switch, and writing data of a corresponding control instruction of the radio frequency switch into the target register, and when it is detected that the control instruction sent to the radio frequency switch is to obtain the current switch state of the radio frequency switch, and it is found that the first storage unit does not exist in the to-be-set switch state collection unit, and the temporary address of the first storage unit is the same as the program access address for obtaining the current switch state of the radio frequency switch, directly returning to obtain the corresponding data in the program access address of the current switch state of the radio frequency switch. That is, the current switch state of the radio frequency switch is read, and the radio frequency switch controller does not control the radio frequency switch in the period of reading the switch state, the corresponding data content in the program access address which is read before and used for acquiring the current switch state of the radio frequency switch is directly returned.
and S113, when the control instruction is to acquire the access address and the corresponding data of the radio frequency switch setting program, searching whether a second storage unit with the temporary address same as the access address of the radio frequency switch setting program exists in the to-be-set switch state collection unit or not.
In this embodiment, the current switch state of the radio frequency switch includes selecting a target radio frequency switch, selecting a corresponding target register in the target radio frequency switch, and writing data of a corresponding control instruction of the radio frequency switch into the target register, where a setting program of the radio frequency switch is to set a corresponding control program of the switch state of the radio frequency switch. And when the control instruction sent to the radio frequency switch is detected to be the access address and the corresponding data of the radio frequency switch setting program, whether the second storage unit exists in the to-be-set switch state collection unit is searched, and the temporary address of the second storage unit is the same as the access address of the to-be-set switch setting program. If so, S1131 is further executed, and if not, S1132 is executed.
S1131: and assigning data corresponding to the access address of the radio frequency switch setting program in the radio frequency switch to temporary data of the second storage unit.
In this embodiment, the second storage unit includes a temporary address and temporary data stored in the second storage unit corresponding to the temporary address, and when it is detected that the control instruction sent to the radio frequency switch is an access address and corresponding data for acquiring a radio frequency switch setting program and a second storage unit having a temporary address identical to the access address for acquiring the radio frequency switch setting program is found in the to-be-set switch state collection unit, the data currently stored in the storage unit corresponding to the access address of the radio frequency switch setting program in the radio frequency switch is assigned to the temporary data of the second storage unit.
S1132: and creating a second storage unit in the to-be-set switch state collection unit, wherein the temporary address of the second storage unit is the access address of the radio frequency switch setting program, and assigning data corresponding to the access address of the radio frequency switch setting program to the temporary data of the second storage unit.
In this embodiment, when it is detected that the control instruction sent to the radio frequency switch is to acquire an access address and corresponding data of a radio frequency switch setting program, and a second storage unit having a temporary address identical to the access address of the radio frequency switch setting program is not found in the to-be-set switch state collection unit, a second storage unit is created in the to-be-set switch state collection unit, so that the temporary address is identical to the access address of the radio frequency switch setting program, and the data currently stored in the storage unit corresponding to the access address of the radio frequency switch setting program is assigned to the temporary data of the second storage unit.
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating a setting method of a radio frequency switch according to a third embodiment of the present application. This embodiment is a specific implementation step of S12 in the first embodiment of the present application, and includes:
and S121, detecting whether the number of storage units of control instructions corresponding to the control operation of the radio frequency switch in the switch state collection units to be set reaches a preset value or not when the execution of one control operation of the radio frequency switch is finished.
In this embodiment, a storage unit is provided for storing data of the control command corresponding to the control operation of each rf switch in the to-be-configured switch state collecting unit. Correspondingly, the storage unit in each to-be-set switch state collection unit corresponds to one control operation of the radio frequency switch, so that the number of the storage units directly reflects the number of times of the control operation on the radio frequency switch, when the execution of one control operation on the radio frequency switch is finished, whether the number of the storage units of the control instruction corresponding to the control operation on the radio frequency switch in the to-be-set switch state collection unit reaches a preset value or not is detected, that is, whether the number of the control operation times on the radio frequency switch at present reaches the preset value or not is detected, if so, S122 is further executed, and if not, S123 is executed.
and S122, writing the temporary data of the corresponding control command in each storage unit with the temporary address being the program access address of the radio frequency switch control operation.
In this embodiment, when it is detected that the number of the storage units of the control instruction corresponding to the control operation of the radio frequency switch in the to-be-set switch state collection unit reaches a preset value, temporary data of the corresponding control instruction is written in each storage unit of which the temporary address is the program access address of the control operation of the radio frequency switch.
and S123, continuing to store.
in this embodiment, when it is detected that the number of the storage units of the control instruction corresponding to the control operation of the radio frequency switch in the to-be-set switch state collection unit does not reach the preset value, the storage is continued. For example, if the preset value is set to 9, correspondingly, when 9 storage units of control instructions corresponding to the control operation of the radio frequency switch in the to-be-set switch state collection unit are detected, temporary data of the corresponding control instructions are written in the storage unit of which each temporary address is the program access address of the control operation of the radio frequency switch in the 9 storage units, and when the number of the storage units of the control instructions corresponding to the control operation of the radio frequency switch in the to-be-set switch state collection unit is detected to be less than 9, the temporary data are stored continuously.
Referring to fig. 4, fig. 4 is a schematic flow chart illustrating a setting method of a radio frequency switch according to a fourth embodiment of the present application. The present embodiment is different from the first embodiment of the present application in fig. 1 in that after S120 is executed, the method further includes:
And S13, deleting all the stored data of the corresponding control commands for controlling the radio frequency switch in the switch state collection unit to be set.
In this embodiment, after the data of the control instruction stored in the to-be-set switch state collection unit exceeds the preset storage threshold and all the data currently stored in the to-be-set switch state collection unit is written into the target register of the radio frequency switch, all the previously stored data of the corresponding control instruction for performing the control operation on the radio frequency switch in the to-be-set switch state collection unit are deleted.
Referring to fig. 5, fig. 5 is a schematic flow chart illustrating a setting method of a radio frequency switch according to a fifth embodiment of the present application. The present embodiment is different from the fourth embodiment of the present application in fig. 4 in that S51 is first performed, and then S13 is further performed.
And S51, when the setting method is applied to the intelligent terminal and the intelligent terminal is detected to be in a preset mode, all the currently stored data in the switch state collection unit to be set are written into a target register of the radio frequency switch.
in this embodiment, the setting method of the radio frequency switch is applied to the intelligent terminal, and when it is detected that the current operating mode of the intelligent terminal is the preset mode, all data currently stored in the to-be-set switch state collection unit is written into the target register of the radio frequency switch, and all previously stored data of the corresponding control instruction for performing the control operation on the radio frequency switch in the to-be-set switch state collection unit are deleted. The preset mode of the intelligent terminal can be a flight mode or any other disturbance-free working mode which prohibits the use of the call function, and the method is not limited in the application, and when the intelligent terminal is in the preset mode, the intelligent terminal indicates that the radio frequency switch is not required to be controlled currently, so that all the stored data of the corresponding control instruction for controlling the radio frequency switch in the switch state collection unit to be set can be directly deleted, and unnecessary control operation on the radio frequency switch is avoided.
In this embodiment, the intelligent terminal may be an intelligent terminal device having a call function, such as a mobile phone, a tablet computer, and a wearable device, and each of the intelligent terminals at least includes a radio frequency switch and a memory, and the setting method described above for the radio frequency switch may be implemented by setting a standby switch state collection unit in the memory of the intelligent terminal.
based on the general inventive concept, the present application further provides a setting system of a radio frequency switch, please refer to fig. 6, and fig. 6 is a schematic structural diagram of a first embodiment of the setting system of the radio frequency switch of the present application. The setting system 60 includes a control operation processing module 610 and a data storage module 620 coupled to each other.
In this embodiment, the control operation processing module 610 is configured to detect a control instruction sent to the radio frequency switch, where the control instruction includes a target radio frequency switch to be selected, a target register corresponding to the target radio frequency switch to be selected, and data of a control instruction corresponding to the radio frequency switch to be written into the target register, and the control operation processing module 610 is configured to sequentially write the data of the control instruction to a to-be-set switch state collection unit preset in the radio frequency switch controller.
in this embodiment, the to-be-switched state collecting unit is a temporary storage unit, a storage threshold is preset in the to-be-switched state collecting unit, when the controller of the radio frequency switch detects that a control command is sent to the radio frequency switch, firstly, the data of the control command is written into the switch state collecting unit to be set in sequence, and when the data of the control command currently stored in the to-be-set switch state collection unit exceeds the preset storage threshold value, the data currently stored in the to-be-set switch state collection unit is written into the target register of the radio frequency switch at one time instead, wherein, the data storage module 620 of the setting system 60 is used to store the control command data in the switch state collecting unit when the data exceeds the preset storage threshold, and all the currently stored data in the to-be-set switch state collection unit are written into a target register of the radio frequency switch.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a setting system of a radio frequency switch according to a second embodiment of the present application. In this embodiment, on the basis of the first embodiment of the setting system of the rf switch in the present application in fig. 6, the control operation processing module 610 further includes a switch state processing module 6101 and an rf switch setting processing module 6102.
in this embodiment, the switch state processing module 6101 is configured to obtain a program access address of a current switch state of the radio frequency switch, and search whether a first storage unit having a temporary address that is the same as the program access address of the current switch state is present in the to-be-set switch state collection unit, where the first storage unit includes the temporary address and temporary data stored in a first storage unit corresponding to the temporary address; if the temporary data exists, returning the temporary data in the first storage unit, namely returning the content of the currently stored temporary data in the first storage unit which is read before; and if the current switch state does not exist, returning the data in the storage unit corresponding to the program access address for acquiring the current switch state, namely returning the previously read data content corresponding to the program access address for acquiring the current switch state of the radio frequency switch.
In this embodiment, the rf switch setting processing module 6102 is coupled to the switch state processing module 6101, and the rf switch setting processing module 6102 is configured to, when the control instruction is to obtain an access address of the rf switch setting program and store data, search whether a second storage unit having a temporary address that is the same as the access address of the rf switch setting program exists in the to-be-set switch state collection unit, where the second storage unit includes the temporary address and the temporary data stored in the second storage unit corresponding to the temporary address; if the temporary data exists, assigning data corresponding to the access address of the radio frequency switch setting program in the radio frequency switch to the temporary data of the second storage unit; and if the temporary address of the second storage unit is not the access address of the radio frequency switch setting program, establishing a second storage unit in the to-be-set switch state collection unit, and assigning data corresponding to the access address of the radio frequency switch setting program to the temporary data of the second storage unit.
referring to fig. 8, fig. 8 is a schematic structural diagram of a setting system of a radio frequency switch according to a third embodiment of the present application. In this embodiment, on the basis of the first embodiment of the setting system of the rf switch in the application of fig. 6, the data storage module 620 further includes a triggering module 6201, a writing module 6202, and a clearing module 6203.
in this embodiment, the triggering module 6201 is configured to trigger when the program of one control operation of the rf switch is executed, so as to write all currently stored data in the to-be-set switch state collecting unit into the target register of the rf switch, where a process of writing one data into the target register of the rf switch is one control operation of the rf switch.
In this embodiment, the writing module 6202 is coupled to the triggering module 6201, and is configured to write temporary data in the memory cells of which each temporary address is the program access address of the rf switch control operation in the to-be-switched state collecting unit.
In this embodiment, the clear module 6203 is coupled to the write module 6202, and is configured to delete all stored data of corresponding control commands for controlling the rf switch in the to-be-set switch state collecting unit.
Based on the general inventive concept, the present application further provides an intelligent terminal, please refer to fig. 9, and fig. 9 is a schematic structural diagram of an embodiment of the intelligent terminal of the present application. The intelligent terminal 90 includes a memory 910, a processor 920, a connector 930, and a radio frequency switch 940.
The memory 910 is provided with a to-be-set switch state collection unit 9101, the rf switch 940 is in contact with the connector 930 to form an electrical connection with the processor 920, the processor 920 is coupled with the to-be-set switch state collection unit 9101, the memory 910 stores program data, and the processor 920 is configured to implement the following setting method when executing the program data:
The control instruction sent to the radio frequency switch 940 is detected, and data of the control instruction is sequentially written into the to-be-set switch state collection unit 9101, so that when the data of the control instruction stored in the to-be-set switch state collection unit 9101 exceeds a preset storage threshold value, all data currently stored in the to-be-set switch state collection unit 9101 are written into a target register of the radio frequency switch 940.
In this embodiment, the smart terminal 90 may be any smart terminal device having a call function, such as a mobile phone, a tablet computer, and a wearable device, and each of the smart terminals 90 at least includes the memory 910, the processor 920, the connector 930, and the radio frequency switch 940, so that the radio frequency switch 940 can be set by setting a to-be-set switch state collecting unit 9101 in the memory 910.
In this embodiment, the rf switch 940 may also be a plurality of rf switches, where the control instruction sent to the rf switch 940 includes: and selecting a corresponding target radio frequency switch, further selecting a corresponding target register in the target radio frequency switch, and writing data of a corresponding control instruction of the radio frequency switch 940 into the target register.
In a specific embodiment, the processor 920 detects a control instruction sent to the radio frequency switch 940, where the control instruction includes selecting a target radio frequency switch, further selecting a corresponding target register in the target radio frequency switch, and writing data of the control instruction corresponding to the radio frequency switch 940 into the target register, the processor 920 firstly writes the data of the control instruction into the to-be-set switch state collection unit 9101 in sequence, and writes all data currently stored in the to-be-set switch state collection unit 9101 into the target register of the radio frequency switch 940 when the data of the control instruction stored in the to-be-set switch state collection unit 9101 exceeds a preset storage threshold.
Based on the general inventive concept, the present application further provides a memory device, please refer to fig. 10, where fig. 10 is a schematic structural diagram of an embodiment of the memory device of the present application. The storage device 100 stores therein program data 1010 that can be executed to implement any of the above-described setting methods for the rf switch.
In one embodiment, the storage device 100 may be a memory chip in a terminal, a hard disk, or a removable hard disk or a flash disk, an optical disk, or other readable and writable storage tool, and may also be a server or the like.
in the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a processor or a memory is merely a logical division, and an actual implementation may have another division, for example, a plurality of processors and memories may be combined to implement the functions or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or connection may be an indirect coupling or connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
different from the prior art, the setting method of the radio frequency switch in the application comprises the following steps: detecting a control instruction sent to the radio frequency switch, and sequentially writing data of the control instruction into a to-be-set switch state collection unit; and when the data of the control instruction stored in the to-be-set switch state collecting unit exceeds a preset storage threshold value, all the currently stored data in the to-be-set switch state collecting unit are written into a target register of the radio frequency switch. In this way, the data that need write into corresponding control command in the radio frequency switch target register is prestored in a waiting to establish on-off state collection unit, and when the data that should wait to establish on-off state collection unit and current storage surpassed and predetermine the storage threshold value, all write in the target register of radio frequency switch again, thereby can reduce the number of times of writing in data in the radio frequency switch, in order to reduce the number of times of control to the radio frequency switch, prolong the life of radio frequency switch, the emergence of the condition of falling the call when avoiding conversing, thereby user experience has been improved, bring convenience for the user.
the above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. a method for setting a radio frequency switch, the method comprising:
Detecting a control instruction sent to the radio frequency switch, and writing data of the control instruction into a to-be-set switch state collection unit in sequence;
And when the data of the control instruction stored in the to-be-set switch state collection unit exceeds a preset storage threshold value, all the currently stored data in the to-be-set switch state collection unit is written into a target register of the radio frequency switch.
2. The setting method according to claim 1, wherein the step of detecting the control command sent to the radio frequency switch and writing the data of the control command into the to-be-set switch state collection unit in sequence comprises:
Detecting a control command sent to the radio frequency switch;
When the control instruction is to acquire the current on-off state of the radio frequency switch, further searching whether a first storage unit with a temporary address identical to the program access address for acquiring the current on-off state of the radio frequency switch exists in the to-be-set on-off state collection unit; if the temporary data exists, returning the temporary data in the first storage unit; if the program access address does not exist, returning data corresponding to the program access address for acquiring the current switch state of the radio frequency switch;
When the control instruction is to acquire the access address and the corresponding data of the radio frequency switch setting program, searching whether a second storage unit with the same temporary address as the access address of the radio frequency switch setting program exists in the to-be-set switch state collection unit or not; if the temporary data exists, assigning data corresponding to the access address of the radio frequency switch setting program in the radio frequency switch to the temporary data of the second storage unit; and if the temporary address of the second storage unit is not the access address of the radio frequency switch setting program, establishing the second storage unit in the to-be-set switch state collection unit, and assigning data corresponding to the access address of the radio frequency switch setting program to the temporary data of the second storage unit.
3. The setting method according to claim 1, wherein the step of writing all the currently stored data in the to-be-set switch state collection unit into the target register of the radio frequency switch when the data of the control command stored in the to-be-set switch state collection unit exceeds a preset storage threshold comprises:
When one control operation of the radio frequency switch is finished, detecting whether the number of storage units of the control instruction corresponding to the control operation of the radio frequency switch in the to-be-set switch state collection unit reaches a preset value;
if so, writing temporary data corresponding to the control instruction in a storage unit of which each temporary address is a program access address of the radio frequency switch control operation;
if not, continuing to store.
4. The setting method according to claim 1, wherein when the data of the control command stored in the to-be-set switch state collecting unit exceeds a preset storage threshold, writing all currently stored data in the to-be-set switch state collecting unit into a target register of the radio frequency switch further comprises:
and deleting all stored data of the corresponding control instruction for controlling the radio frequency switch in the to-be-set switch state collection unit.
5. The setting method according to claim 1,
the setting method is applied to an intelligent terminal, and when the intelligent terminal is detected to be in a preset mode, all data currently stored in the to-be-set switch state collecting unit are written into a target register of the radio frequency switch;
And deleting all stored data of the corresponding control instruction for controlling the radio frequency switch in the to-be-set switch state collection unit.
6. A setting system of a radio frequency switch is characterized by comprising a control operation processing module and a data storage module which are coupled with each other;
The control operation processing module is used for detecting a control instruction sent to the radio frequency switch and sequentially writing data of the control instruction into a to-be-set switch state collecting unit;
The data storage module is used for writing all the currently stored data in the to-be-set switch state collection unit into a target register of the radio frequency switch when the data of the control instruction stored in the to-be-set switch state collection unit exceeds a preset storage threshold value.
7. The setup system of claim 6, wherein the control operation processing module further comprises:
The switch state processing module is used for acquiring a program access address of the current switch state of the radio frequency switch and searching whether a first storage unit with a temporary address identical to the program access address for acquiring the current switch state exists in the to-be-set switch state collecting unit; if the temporary data exists, returning the temporary data in the first storage unit; if the current switch state does not exist, returning the data in the program access address for acquiring the current switch state;
The radio frequency switch setting processing module is coupled with the switch state processing module and used for searching whether a second storage unit with a temporary address identical to the access address of the radio frequency switch setting program exists in the to-be-set switch state collection unit or not when the control instruction is to acquire the access address and the storage data of the radio frequency switch setting program; if the temporary data exists, assigning data corresponding to the access address of the radio frequency switch setting program in the radio frequency switch to the temporary data of the second storage unit; and if the temporary address of the second storage unit is not the access address of the radio frequency switch setting program, establishing the second storage unit in the to-be-set switch state collection unit, and assigning data corresponding to the access address of the radio frequency switch setting program to the temporary data of the second storage unit.
8. The setup system of claim 6, wherein the data storage module further comprises:
The trigger module is used for triggering when the program of one-time control operation of the radio frequency switch is executed, so that all data currently stored in the to-be-set switch state collection unit are written into a target register of the radio frequency switch;
The write-in module is coupled with the trigger module and is used for writing temporary data in a storage unit of which each temporary address is a program access address of the radio frequency switch control operation in the to-be-set switch state collection unit;
And the zero clearing module is coupled with the writing module and is used for deleting all the stored data of the corresponding control instruction for controlling the radio frequency switch in the to-be-set switch state collection unit.
9. The intelligent terminal is characterized by comprising a memory, a processor, a connector and a radio frequency switch;
the memory is provided with a switch state collection unit to be arranged, the radio frequency switch is in contact with the connector so as to be electrically connected with the processor, the processor is coupled with the switch state collection unit to be arranged, the memory is stored with program data, and the processor realizes the setting method of the radio frequency switch according to any one of claims 1-6 when executing the program data.
10. A memory device, characterized in that it stores program data executable to implement the setting method of a radio frequency switch according to any one of claims 1 to 6.
CN201910692197.2A 2019-07-30 2019-07-30 Setting method and setting system of radio frequency switch, intelligent terminal and storage device Pending CN110557167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910692197.2A CN110557167A (en) 2019-07-30 2019-07-30 Setting method and setting system of radio frequency switch, intelligent terminal and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910692197.2A CN110557167A (en) 2019-07-30 2019-07-30 Setting method and setting system of radio frequency switch, intelligent terminal and storage device

Publications (1)

Publication Number Publication Date
CN110557167A true CN110557167A (en) 2019-12-10

Family

ID=68736793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910692197.2A Pending CN110557167A (en) 2019-07-30 2019-07-30 Setting method and setting system of radio frequency switch, intelligent terminal and storage device

Country Status (1)

Country Link
CN (1) CN110557167A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070135042A1 (en) * 2003-10-23 2007-06-14 Yoni Shiff System and method for the reduction of interference in an indoor communications wireless distribution system
CN101478354A (en) * 2009-01-20 2009-07-08 信息产业部通信计量中心 Radio frequency automatic test system for wireless communication base station
CN102437887A (en) * 2011-10-18 2012-05-02 大唐移动通信设备有限公司 Monitoring equipment and application method thereof
US20120162533A1 (en) * 2008-06-26 2012-06-28 Ati Technologies Ulc Physically small tunable narrow band antenna
CN105183397A (en) * 2015-09-22 2015-12-23 Tcl移动通信科技(宁波)有限公司 EMMC read-write control method and system
CN107579939A (en) * 2017-09-02 2018-01-12 广东欧珀移动通信有限公司 Signal processing method, device, storage medium and electronic equipment
CN208477536U (en) * 2018-07-10 2019-02-05 上海汲深电子信息技术有限公司 The read-write equipment of RFID electronic label

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070135042A1 (en) * 2003-10-23 2007-06-14 Yoni Shiff System and method for the reduction of interference in an indoor communications wireless distribution system
US20120162533A1 (en) * 2008-06-26 2012-06-28 Ati Technologies Ulc Physically small tunable narrow band antenna
CN101478354A (en) * 2009-01-20 2009-07-08 信息产业部通信计量中心 Radio frequency automatic test system for wireless communication base station
CN102437887A (en) * 2011-10-18 2012-05-02 大唐移动通信设备有限公司 Monitoring equipment and application method thereof
CN105183397A (en) * 2015-09-22 2015-12-23 Tcl移动通信科技(宁波)有限公司 EMMC read-write control method and system
CN107579939A (en) * 2017-09-02 2018-01-12 广东欧珀移动通信有限公司 Signal processing method, device, storage medium and electronic equipment
CN208477536U (en) * 2018-07-10 2019-02-05 上海汲深电子信息技术有限公司 The read-write equipment of RFID electronic label

Similar Documents

Publication Publication Date Title
CN100501679C (en) Electric device
CN109033247B (en) Application program management method and device, storage medium and terminal
CN108762831B (en) Application program preloading method and device, storage medium and terminal
CN110457235B (en) Memory compression method, device, terminal and storage medium
EP3572935A1 (en) Method for preloading application, storage medium, and terminal
CN110221781B (en) Manufacturing method and device of disk fragments, storage medium and intelligent terminal
CN106851015A (en) Adjust method, device and the terminal of broadcast message queue
CN101169706B (en) Storage interfacing method and apparatus
EP3592005A1 (en) Method and device for controlling broadcast recipient, and mobile terminal
CN109983428A (en) A kind of operating method and device of application
CN105204714A (en) Method for switching application interface and terminal
CN108287761B (en) Memory recovery method and device, terminal equipment and computer readable storage medium
CN110557167A (en) Setting method and setting system of radio frequency switch, intelligent terminal and storage device
CN112487838A (en) Information prompting method and device, electronic equipment and storage medium
CN114116040A (en) Method for accelerating application starting, electronic equipment and computer storage medium
CN109614248B (en) Message compression method, device, storage medium and terminal equipment
CN108595238B (en) Display control method and device of application interface
CN113412480A (en) Mounting processing method and device, electronic equipment and computer readable storage medium
CN111694626A (en) Application skipping method and device, terminal and storage medium
CN106326049B (en) A kind of Fault Locating Method and terminal
KR20200100958A (en) Electronic device and method for prefetching application
CN105630554B (en) A kind of reloading method and user terminal of third-party application
CN104767880A (en) Communication number management method
CN108776331B (en) Proximity detection method, device, medium and electronic device applying the method
CN112988105A (en) Playing state control method and device, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191210

RJ01 Rejection of invention patent application after publication