CN106231570B - A kind of automatic repeating method of data of unstructured supplementary data traffic and device - Google Patents

A kind of automatic repeating method of data of unstructured supplementary data traffic and device Download PDF

Info

Publication number
CN106231570B
CN106231570B CN201610584560.5A CN201610584560A CN106231570B CN 106231570 B CN106231570 B CN 106231570B CN 201610584560 A CN201610584560 A CN 201610584560A CN 106231570 B CN106231570 B CN 106231570B
Authority
CN
China
Prior art keywords
ussd
data
message
failure
send
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610584560.5A
Other languages
Chinese (zh)
Other versions
CN106231570A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610584560.5A priority Critical patent/CN106231570B/en
Publication of CN106231570A publication Critical patent/CN106231570A/en
Application granted granted Critical
Publication of CN106231570B publication Critical patent/CN106231570B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/18Service support devices; Network management devices
    • H04W88/184Messaging devices, e.g. message centre

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of automatic repeating method of the data of unstructured supplementary data traffic and device, method includes the following steps: sending the data of unstructured supplementary data traffic USSD to network operator server;It obtains the USSD that network operator server returns and returns to message;Judge that the USSD returns to whether message is because of the failure information that network cause causes data to send failure;If it is because of the failure information that network cause causes data to send failure that the USSD, which returns to message, that then cancels default returns to USSD information reporting to the mechanism of systematic difference layer, again USSD data are sent to network operator server, its manual operation that can reduce user promotes user experience.In addition, processing operation of the invention can be handled directly in the RIL layer of system, the speed of processing is greatly accelerated.

Description

A kind of automatic repeating method of data of unstructured supplementary data traffic and device
Technical field
The present invention relates to mobile communication technology fields, are to be related to a kind of unstructured supplementary data traffic more specifically The automatic repeating method of data and device.
Background technique
Unstructured supplementary data traffic USSD (Unstructured Supplementary Service Data) is one Based on global system for mobile communications GSM network, real-time online novel interactive sessions data service, it is identified kind based on user Module SIM card, using GSM network signalling path transmit data, be released in the short-message system technical foundation of GSM it is new Business.
USSD business is identical with the system structure of SMS business, all transmits information, but network using the signalling path of network Situations such as sometimes will appear network busy or unknown error, causes the data of USSD to send failure, and mobile terminal can receive at this time The USSD data returned to network operator server send the return message of failure, and will default the return information reporting to being The application layer of system, thus show that user can only retransmit once manually at this time to remind user data to send failure on the screen, this Sample will be not easy to user's operation, reduce user experience.
Summary of the invention
It is an object of the invention to overcome drawbacks described above in the prior art, provide one kind can reduce user manual operation, Promote the automatic repeating method of data and device of the unstructured supplementary data traffic of user experience.
To achieve the above object, first aspect present invention provide a kind of unstructured supplementary data traffic data it is automatic Repeating method, comprising the following steps:
The data of unstructured supplementary data traffic USSD are sent to network operator server;
It obtains the USSD that network operator server returns and returns to message;
Judge that the USSD returns to whether message is because of the failure information that network cause causes data to send failure;
If it is to cancel default because network cause causes data to send the failure information of failure that the USSD, which returns to message, By USSD return information reporting to systematic difference layer mechanism, again to network operator server send USSD data.
Preferably, described obtain described in the step of USSD that network operator server returns returns to message, judgement USSD returns to whether message is the step of causing data to send the failure information of failure because of network cause and again to network The step of carrier server transmission USSD data, is handled at RIL layers of the wireless interface of system.
Preferably, described the step of obtaining the USSD return message that network operator server returns, specifically includes:
RIL layers of RIL.java is set to pass through the information communication mechanism of Modem to monitor whether the Modem of system layer receives The USSD that network operator server returns returns to message;
After the USSD that the Modem layer of system receives network operator server return returns to message, then obtained at RIL layers The USSD is taken to return to message.
Preferably, described judge that the USSD returns to whether message is because network cause causes data to send failure Failure information the step of specifically include:
It is returned in message by way of checking amorphous additional service data instruction to obtain the USSD at RIL layers The all information for being included;
It parses the USSD and returns to all information for being included in message, to judge whether it includes because of network cause Data are caused to send the error code of failure;
If include because network cause causes data to send the error code of failure, determine the USSD return message for because Data are caused to send the failure information to fail for network cause.
Preferably, this method is further comprising the steps of:
When reaching preset threshold value to the frequency of failure that network operator server sends USSD data again, then stop Operation is retransmitted, and gives USSD return information reporting to systematic difference layer, to notify user data to send failure.
The second aspect of the present invention provides a kind of automatic retransmission apparatus of data of unstructured supplementary data traffic, packet It includes:
Data transmission blocks, for sending the data of unstructured supplementary data traffic USSD to network operator services Device;
Return information obtains module, and the USSD for obtaining network operator server return returns to message;
Message judgment module is returned to, for judging that the USSD returns to whether message is because network cause causes data to be sent out Send the failure information of failure;
Retransmission process module, if returning to message for the USSD is because of the mistake that network cause causes data to send failure Information is lost, then that cancels default returns to USSD information reporting to the mechanism of systematic difference layer, and controls data transmission blocks Again USSD data are sent to network operator server.
Preferably, the processing that the return information obtains module, returns to message judgment module and retransmission process module Operation is handled at RIL layers of the wireless interface of system.
It is specifically included preferably, the return information obtains module:
Monitoring unit monitors system for making RIL layers of RIL.java pass through the information communication mechanism of Modem The Modem layers of USSD for whether receiving network operator server return return to message;
First acquisition unit, the USSD for receiving network operator server return for the Modem layer when system are returned After message, then the USSD is obtained at RIL layers and return to message.
Preferably, the return message judgment module specifically includes:
Second acquisition unit, for being obtained by way of check amorphous additional service data instruction at RIL layers The USSD returns to all information for being included in message;
Judging unit returns to all information for being included in message for parsing the USSD, to judge whether it wraps Contain the error code for leading to data transmission failure because of network cause;And if including because network cause causes data to send failure Error code, then determining that the USSD returns to message is because of the failure information that network cause causes data to send failure.
Preferably, the retransmission process module is also used to when data transmission blocks are again to network operator server When the frequency of failure of transmission USSD data reaches preset threshold value, then controls data transmission blocks and stop retransmitting operation, and USSD return information reporting is given to systematic difference layer, to notify user data to send failure.
Compared with prior art, the beneficial effects of the present invention are:
The present invention is provided with the automatic retransmission mechanism of data of unstructured supplementary data traffic USSD, transports when getting network When seeking the USSD return message that quotient's server returns, judges the USSD and return to whether message is because network cause leads to data The failure information of failure is sent, if so, cancel the mechanism by USSD return information reporting to systematic difference layer of default, from It is dynamic to send USSD data to network operator server again, the manual operation of user can be reduced, user experience is promoted.
Further, processing operation of the invention can be carried out directly in the RIL layer of system, can quickly be got USSD data send failure news and the processing convenient for relevant operation, greatly accelerate the speed of processing.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of the automatic repeating method of data of unstructured supplementary data traffic provided by the invention;
Fig. 2 is the process of the automatic repeating method of data of another unstructured supplementary data traffic provided by the invention Figure;
Fig. 3 is the information structure diagram that a kind of USSD provided by the invention returns to message,
Fig. 4 is a kind of structural frames of the automatic retransmission apparatus of data of unstructured supplementary data traffic provided by the invention Figure;
Fig. 5 is the structural frames of the automatic retransmission apparatus of data of another unstructured supplementary data traffic provided by the invention Figure.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The automatic repeating method of the data of unstructured supplementary data traffic provided in an embodiment of the present invention and device can be applied In mobile terminal, the mobile terminal includes smart phone, tablet computer or other support unstructured supplementary data traffics Electronic equipment.
For android system, the system architecture of mobile terminal can be divided into Modem layer from bottom to top, RIL (nothing Line interface) this four layerings of layer, ccf layer and application layer.
Fig. 1 is the process of the automatic repeating method of data of one of embodiment of the present invention unstructured supplementary data traffic Figure.As shown, the method for the present embodiment the following steps are included:
Step S101, the data of unstructured supplementary data traffic USSD are sent to network operator server;
When initial, mobile terminal can send unstructured supplement number to network operator server in systematic difference layer According to the data of business USSD and then information is transmitted with network side.
Step S102, it obtains the USSD that network operator server returns and returns to message;
After mobile terminal sends the data of unstructured supplementary data traffic USSD to network operator server, network The USSD that carrier server can be returned to mobile terminal returns to message, wherein the Modem layer of system can receive the USSD at first Message is returned, but Modem layers of processing is more complicated, does not handle message usually, but directly report, therefore RIL Layer, ccf layer and application layer can theoretically obtain the USSD return message for being received back the network operator server come, but It is since RIL layers are one layers with Modem layers of direct communication, it is contemplated that report and need the time, be directly most square in RIL layers of processing Just with it is the fastest.Therefore, the USSD that the network operator server feedback for being received back can be preferably obtained at RIL layers is returned Message and the processing that it is followed the steps below.
Step S103, judge that the USSD returns to whether message is because of the failure that network cause causes data to send failure Information;
Wherein, it may include that data send success message and data that the USSD that network operator server returns, which returns to message, Send failed message.When mobile terminal transmits message to network operator server, network sometimes will appear network busy Or situations such as unknown error, causes USSD data to send failure, and the number for being included in message is returned according to the USSD fed back It is believed that breath (such as: error code or other identification informations) can determine whether because network cause causes data to send failure, if because Cause data to send failure for network cause, thens follow the steps S104.
Step S104, that cancels default returns to USSD information reporting to the mechanism of systematic difference layer, again to network Carrier server sends USSD data.
In the prior art, default, if it is because network cause causes data to send failure that the USSD, which returns to message, Failure information, USSD can return to information reporting and notify user to systematic difference layer by the Modem layer of system, and in this reality It applies in the step S104 of example, preferably directly can send USSD data to network operator server again at RIL layers, not need Application layer is reported to again.It is of course also possible to which the ccf layer in system is handled.
The method of the embodiment of the present invention is provided with the automatic retransmission mechanism of data of unstructured supplementary data traffic USSD, The manual operation of user can be reduced, user experience is promoted.
Fig. 2 is the stream of the automatic repeating method of data of another unstructured supplementary data traffic in the embodiment of the present invention Cheng Tu.The method of the present embodiment be designed based on MTK platform, as shown, the method for the present embodiment the following steps are included:
Step S201, the data of unstructured supplementary data traffic USSD are sent to network operator server;
When initial, mobile terminal can send unstructured supplement number to network operator server in systematic difference layer According to the data of business USSD and then information is transmitted with network side.
Step S202, RIL layers of RIL.java is made to pass through the information communication mechanism of Modem to monitor the Modem of system layer The USSD for whether receiving network operator server return returns to message;
Step S203, after the USSD that the Modem layer of system receives network operator server return returns to message, then The USSD, which is obtained, at RIL layers returns to message;
Wherein, mobile terminal can monitor RIL_UNSOL_ON_USSD in RIL layers of system of RIL.java file and disappear Breath, when Modem layers, which receive USSD, returns to message, Modem layers can instruct (i.e. AT by amorphous additional service data + CUSD) USSD return message is sent to RILD (module in RIL layers), RILD passes through socket (socket) hair again RIL.java is given, USSD can be got at RIL layers in this way and return to message.
Step S204, the USSD is obtained by way of checking amorphous additional service data instruction at RIL layers Return to all information for being included in message;
AT instruction is the mode that communicates with RIL layers of Modem layer of MTK platform, and RIL layers by checking amorphous addition The mode of service data instruction (i.e. AT+CUSD) can obtain USSD and return to the total data information for being included in message, this is MTK obtains the method that USSD returns to the information for being included in message.Fig. 3 is that the USSD got returns to the message structure of message.
Step S205, parse the USSD and return to all information for being included in message, thus judge its whether include Because network cause causes data to send the error code to fail;
Wherein, step S205 can be carried out in RIL layers of RILD, can also be carried out in RIL.java, in this implementation It is preferably handled in RIL.java in example.
As shown in figure 3, the USSD, which returns to message package, contains the code informations such as 0,2,4, these code informations represent data Whether transmission success or other meanings.
Illustratively, the definition that USSD returns to the code information that message is included can be as described below:
Static final int USSD_MODE_NOTIFY=0;
Static final int USSD_MODE_REQUEST=1;
Static final int USSD_MODE_NW_RELEASE=2;
Static final int USSD_MODE_LOCAL_CLIENT=3;
Static final int USSD_MODE_NOT_SUPPORTED=4;
Static final int USSD_MODE_NW_TIMEOUT=5.
Data are caused to send the representative error code of failure because of network cause it is found that 4 and 5 are all according to above-mentioned definition, If including because network cause causes data to send the error code of failure, determining that the USSD returns to message is because network is former Because causing data to send the failure information of failure, S206 is thened follow the steps.
Step S206, that cancels default returns to USSD information reporting to the mechanism of systematic difference layer, again to network Carrier server sends USSD data;
When specific operation, if it is because of the failure letter that network cause causes data to send failure that the USSD, which returns to message, Breath, can directly be handled at RIL layers, sent USSD data to network operator server again, do not needed to be reported to again Application layer.
Step S207, when again to network operator server send USSD data the frequency of failure reach preset threshold value When, then stop retransmitting operation, and give USSD return information reporting to systematic difference layer, to notify user data to send out Send failure.
When it is implemented, the threshold value can be preferably arranged to 3 times, naturally it is also possible to be set as other numbers, but fail Number is too many, and ceaselessly retransmitting will increase system burden.Therefore, in the present embodiment, when the mistake for retransmitting USSD data When losing number and reaching 3 times, it can stop retransmitting operation and notice user data sends failure.
The processing step of the method for the embodiment of the present invention can be carried out directly in the RIL layer of system, can quickly be obtained Failure news is sent to USSD data and convenient for the processing of relevant operation, greatly accelerates the speed of processing.
It should be noted that the automatic repeating method of the data of unstructured supplementary data traffic of the invention can also be in height It is designed on the basis of the platform that logical platform or other platform providers provide, since the platform of the prior art is all to have done Alright, it is only necessary to it goes to call interface therein that can obtain USSD return message by the dependent instruction that each platform is arranged, Therefore the mode for being not limited to " AT+CUSD " instruction of MTK platform offer returns to message to obtain USSD.
Fig. 4 is the structure of the automatic retransmission apparatus of data of one of embodiment of the present invention unstructured supplementary data traffic Block diagram, as shown, the device of the present embodiment includes data transmission blocks 1, return information obtains module 2, return message judges Module 3 and retransmission process module 4 below will be described in detail the principle of above-mentioned module.
Data transmission blocks 1, for sending the data of unstructured supplementary data traffic USSD to network operator services Device;
Specifically, data transmission blocks 1 can be in systematic difference layer to network operator server in initial send It sends the data of unstructured supplementary data traffic USSD and then transmits information with network side.
Return information obtains module 2, and the USSD for obtaining network operator server return returns to message;
After mobile terminal sends the data of unstructured supplementary data traffic USSD to network operator server, network The USSD that carrier server can be returned to mobile terminal returns to message, wherein the Modem layer of system can receive the USSD at first Message is returned, but Modem layers of processing is more complicated, does not handle message usually, but directly report, therefore RIL Layer, ccf layer and application layer can theoretically obtain the USSD return message for being received back the network operator server come, but It is since RIL layers are one layers with Modem layers of direct communication, it is contemplated that report and need the time, be directly most square in RIL layers of processing Just with it is the fastest.Therefore, return information obtains module 2, returns to message judgment module 3 and the processing behaviour of retransmission process module 4 Work is preferably handled in the RIL layer of system.
Message judgment module 3 is returned to, for judging that the USSD returns to whether message is because network cause leads to data Send the failure information of failure;
Wherein, it may include that data send success message and data that the USSD that network operator server returns, which returns to message, Send failed message.When mobile terminal transmits message to network operator server, network sometimes will appear network busy Or situations such as unknown error, causes USSD data to send failure, returns to message judgment module 3 and is returned according to the USSD fed back The data information (such as: error code or other identification informations) for being included in message can determine whether because network cause causes to count Fail according to sending, if retransmission process module 4 can be started because network cause causes data to send failure.
Retransmission process module 4, if returning to message for the USSD is because network cause causes data to send failure Failure information, then that cancels default returns to USSD information reporting to the mechanism of systematic difference layer, and controls data and send mould Block sends USSD data to network operator server again.
In the prior art, default, if it is because network cause causes data to send failure that the USSD, which returns to message, Failure information, USSD can return to information reporting and notify user to systematic difference layer by the Modem layer of system, and in this reality It applies in example, retransmission process module 4 can control data transmission blocks preferably at RIL layers directly again to network operator server USSD data are sent, do not need to be reported to application layer again.It is of course also possible to which the ccf layer in system is handled.
The device of the embodiment of the present invention is provided with the automatic retransmission mechanism of data of unstructured supplementary data traffic USSD, The manual operation of user can be reduced, user experience is promoted.
Fig. 5 is the knot of the automatic retransmission apparatus of data of another unstructured supplementary data traffic in the embodiment of the present invention Structure block diagram, as shown, on the basis of the device of above-described embodiment, the device of the present embodiment also include data transmission blocks 1, Return information obtains module 2, returns to message judgment module 3 and retransmission process module 4, the data transmission blocks 1, return information The processing operation of acquisition module 2, return message judgment module 3 and retransmission process module 4 is directly at the RIL layer of system Reason.
In addition, further, the return information obtains module 2 and specifically includes:
Monitoring unit 21 monitors system for making RIL layers of RIL.java pass through the information communication mechanism of Modem The Modem layers of USSD for whether receiving network operator server return return to message;
First acquisition unit 22, the USSD for receiving network operator server return for the Modem layer when system are returned After returning message, then the USSD is obtained at RIL layers and return to message.
Monitoring unit 21 can monitor RIL_UNSOL_ON_USSD message in RIL layers of system of RIL.java file, when Modem layers when receiving USSD and returning to message, Modem layer can pass through amorphous additional service data instruction (i.e. AT+ CUSD) USSD return message is sent to RILD (module in RIL layers), RILD passes through socket (socket) transmission again To RIL.java, such first acquisition unit 22 can get USSD at RIL layers and return to message.
Optionally, in the present embodiment, the return message judgment module 3 specifically includes:
Second acquisition unit 31, for being obtained by way of check amorphous additional service data instruction at RIL layers The USSD is taken to return to all information for being included in message;
AT instruction is the mode that communicates with RIL layers of Modem layer of MTK platform, and RIL layers by checking amorphous addition The mode of service data instruction (i.e. AT+CUSD) can obtain USSD and return to the total data information for being included in message, this is MTK obtains the method that USSD returns to the information for being included in message.Fig. 3 is that the USSD got returns to the message structure of message.
Judging unit 32 returns to all information for being included in message for parsing the USSD, to whether judge it It include because network cause causes data to send the error code to fail;And if including to be lost because network cause causes data to send The error code lost, then determining that the USSD returns to message is because of the failure information that network cause causes data to send failure.
Furthermore, the processing operation of judging unit 32 can be carried out specifically in RIL layers of RILD, can also be It carries out in RIL.java, is preferably handled in the present embodiment in RIL.java.
As shown in figure 3, the USSD, which returns to message package, contains the code informations such as 0,2,4, these code informations represent data Whether transmission success or other meanings.
Illustratively, the definition that USSD returns to the code information that message is included can be as described below:
Static final int USSD_MODE_NOTIFY=0;
Static final int USSD_MODE_REQUEST=1;
Static final int USSD_MODE_NW_RELEASE=2;
Static final int USSD_MODE_LOCAL_CLIENT=3;
Static final int USSD_MODE_NOT_SUPPORTED=4;
Static final int USSD_MODE_NW_TIMEOUT=5.
According to above-mentioned definition it is found that " 4 " and " 5 " are all because network cause causes data to send the representative mistake of failure Code, if including because network cause causes data to send the error code of failure, determining that the USSD returns to message is because of net Network reason causes data to send the failure information to fail.
If it is because of the failure that network cause causes data to send failure that judging unit 32, which determines that the USSD returns to message, Information, retransmission process module 4 can be handled directly at RIL layers, control data transmission blocks 1 directly RIL layers again to Network operator server sends USSD data, does not need to be reported to application layer again.
As preferred embodiment, the retransmission process module 4 be can be also used for when data transmission blocks are again to net When the frequency of failure that network carrier server sends USSD data reaches preset threshold value, then controls data transmission blocks and stop weight It is new to send operation, and give USSD return information reporting to systematic difference layer, to notify user data to send failure.
When it is implemented, the threshold value can be preferably arranged to 3 times, naturally it is also possible to be set as other numbers, but fail Number is too many, and ceaselessly retransmitting will increase system burden.Therefore, in the present embodiment, when the failure time for retransmitting data When number reaches 3 times, it can stop retransmitting operation and notice user data sends failure.
The processing step of the device of the embodiment of the present invention can be carried out directly in the RIL layer of system, can quickly be obtained Failure news is sent to USSD data and convenient for the processing of relevant operation, greatly accelerates the speed of processing.
It should be noted that the automatic retransmission apparatus of the data of unstructured supplementary data traffic provided by the above embodiment, Only the example of the division of the above functional modules, it in practical application, can according to need and by above-mentioned function distribution It is completed by different functional modules, i.e., the internal structure of system is divided into different functional modules, it is described above to complete All or part of function.
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, the program can be stored in a computer-readable storage medium In, the storage medium, such as ROM/RAM, disk, CD.
The above embodiment is a preferred embodiment of the present invention, but embodiments of the present invention are not by above-described embodiment Limitation, other any changes, modifications, substitutions, combinations, simplifications made without departing from the spirit and principles of the present invention, It should be equivalent substitute mode, be included within the scope of the present invention.

Claims (4)

1. a kind of automatic repeating method of the data of unstructured supplementary data traffic, which is characterized in that this method includes following step It is rapid:
The data of unstructured supplementary data traffic USSD are sent to network operator server in application layer;In wireless interface RIL layers obtain the USSD that network operator server returns and return to message;Specifically: it is supervised in RIL layers of RIL.java file RIL_UNSOL_ON_USSD message is surveyed, the USSD that network operator server return is received when Modem layers returns to message, then USSD return message is sent to RILD by amorphous additional service data instruction, the RILD is sent out by socket RIL.java is given, returns to message to obtain the USSD at RIL layers;
At RIL layers of wireless interface, the error code information for being included in message is returned to according to the USSD and judges that the USSD is returned Whether message is because network cause causes data to send the failure information to fail;Specifically: at RIL layers by checking inorganization The mode of addition service data instruction return to all information for being included in message to obtain the USSD;It is solved in RIL.java It analyses the USSD and returns to all information for being included in message, to judge whether it includes because network cause causes data to be sent out Send the error code of failure;If including to determine that the USSD is returned because network cause causes data to send the error code of failure Message is because network cause causes data to send the failure information to fail;The network cause causes data to send Network busy, which causes data to send failure or network unknown error, causes data to send failure;
If the USSD return message be because of the failure information that network cause causes data to send failure, cancel default general USSD returns to information reporting to the mechanism of systematic difference layer, and at RIL layers of wireless interface again to network operator server Send USSD data.
2. the automatic repeating method of the data of unstructured supplementary data traffic according to claim 1, which is characterized in that should Method is further comprising the steps of:
When reaching preset threshold value to the frequency of failure that network operator server sends USSD data again, then stop again Operation is sent, and gives USSD return information reporting to systematic difference layer, to notify user data to send failure.
3. a kind of automatic retransmission apparatus of the data of unstructured supplementary data traffic, which is characterized in that the device includes:
Data transmission blocks, the data for sending unstructured supplementary data traffic USSD in application layer take to network operator Business device;
Return information obtains module, disappears for obtaining the USSD return that network operator server returns at RIL layers of wireless interface Breath;The return information obtains module and specifically includes: monitoring unit, for monitoring RIL_ in RIL layers of RIL.java file UNSOL_ON_USSD message;First acquisition unit, for receiving the USSD of network operator server return when Modem layers Message is returned, then USSD return message is sent to by RILD, the RILD by amorphous additional service data instruction It is sent to RIL.java by socket, returns to message to obtain the USSD at RIL layers;
Message judgment module is returned to, for returning to the error code for being included in message according to the USSD at RIL layers of wireless interface Information judges that the USSD returns to whether message is because of the failure information that network cause causes data to send failure;The return Message judgment module specifically includes: second acquisition unit, at RIL layers by checking that amorphous additional service data instructs Mode return to all information for being included in message to obtain the USSD;Judging unit, for parsing institute in RIL.java It states USSD and returns to all information for being included in message, to judge whether it includes to lose because network cause causes data to send The error code lost;If including to determine that the USSD returns to message because network cause causes data to send the error code of failure For because network cause causes data to send the failure information to fail;It unsuccessfully includes network that the network cause, which causes data to send, It is busy to cause data transmission failure or network unknown error that data is caused to send failure;
Retransmission process module, if returning to message for the USSD is because of the failure letter that network cause causes data to send failure Breath, then that cancels default returns to USSD information reporting to the mechanism of systematic difference layer, and controls data transmission blocks in nothing RIL layers of line interface sends USSD data to network operator server again.
4. the automatic retransmission apparatus of the data of unstructured supplementary data traffic according to claim 3, which is characterized in that
The retransmission process module is also used to send USSD data to network operator server again when data transmission blocks When the frequency of failure reaches preset threshold value, then controls data transmission blocks and stop retransmitting operation, and the USSD is returned Information reporting gives systematic difference layer, to notify user data to send failure.
CN201610584560.5A 2016-07-22 2016-07-22 A kind of automatic repeating method of data of unstructured supplementary data traffic and device Active CN106231570B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610584560.5A CN106231570B (en) 2016-07-22 2016-07-22 A kind of automatic repeating method of data of unstructured supplementary data traffic and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610584560.5A CN106231570B (en) 2016-07-22 2016-07-22 A kind of automatic repeating method of data of unstructured supplementary data traffic and device

Publications (2)

Publication Number Publication Date
CN106231570A CN106231570A (en) 2016-12-14
CN106231570B true CN106231570B (en) 2019-09-13

Family

ID=57532259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610584560.5A Active CN106231570B (en) 2016-07-22 2016-07-22 A kind of automatic repeating method of data of unstructured supplementary data traffic and device

Country Status (1)

Country Link
CN (1) CN106231570B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172640B (en) * 2017-07-13 2021-06-22 惠州Tcl移动通信有限公司 Method for simulating Modem to report message, storage medium and terminal
CN113422871B (en) * 2021-06-22 2022-11-11 上海立可芯半导体科技有限公司 Method for improving delay of mobile phone terminal initiating unstructured supplementary service data based on IMS network
CN113326421B (en) * 2021-08-04 2021-10-29 佛山市东信科技有限公司 Data identification method and device for record carrier, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448220A (en) * 2008-12-26 2009-06-03 Tcl天一移动通信(深圳)有限公司 Method for acquiring network time by USSD in mobile communication network
CN101883338A (en) * 2010-06-07 2010-11-10 华勇 Self-adapting and self-learning system for solving message sending failure by USSD mode and implementing method thereof
EP2869608A1 (en) * 2013-10-30 2015-05-06 Callfreedom Sp. z o.o. A communication system for exchange of messages between one or more mobile operators and at least one traffic operator
CN105722044A (en) * 2016-03-29 2016-06-29 深圳市万普拉斯科技有限公司 Short message resending method and short message resending system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448220A (en) * 2008-12-26 2009-06-03 Tcl天一移动通信(深圳)有限公司 Method for acquiring network time by USSD in mobile communication network
CN101883338A (en) * 2010-06-07 2010-11-10 华勇 Self-adapting and self-learning system for solving message sending failure by USSD mode and implementing method thereof
EP2869608A1 (en) * 2013-10-30 2015-05-06 Callfreedom Sp. z o.o. A communication system for exchange of messages between one or more mobile operators and at least one traffic operator
CN105722044A (en) * 2016-03-29 2016-06-29 深圳市万普拉斯科技有限公司 Short message resending method and short message resending system

Also Published As

Publication number Publication date
CN106231570A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
EP3632145B1 (en) Subscription management service data feeds
CN108933727B (en) Message receipt processing method and device
CN110830925B (en) Session management method and device for user group
CN102427604B (en) The delivery confirmation method and apparatus of MTC Device Trigger message
KR101621346B1 (en) Method, node, mobile terminal and system for identifying network tethering behavior
CN106231570B (en) A kind of automatic repeating method of data of unstructured supplementary data traffic and device
CN102958108B (en) Method, separation point device, user terminal and system for data transmission
CN103841569B (en) The foundation and data transmission method of a kind of virtual base station, equipment and system
CN104159306B (en) A kind of method, equipment and system for controlling interface-free resources
CN104854890A (en) Wireless communication system
KR20210002544A (en) Method, equipment and apparatus for updating short message service capability
CN110140369A (en) The foundation of urgent call in wireless network
CN102685147A (en) Mobile communication honeypot capturing system and implementation method thereof
CN102281580B (en) M2M system and service processing method thereof
CN114710801B (en) Processing method and device of evaluation parameters of network performance, storage medium and equipment
CN109802849B (en) Method and device for sending alarm information
CN111698677A (en) Method for reporting and receiving user plane statistical information and network equipment
CN114422320A (en) Terminal control method, device and system
CN106303124A (en) A kind of method of recharging for mobile phone, Apparatus and system
CN105791036A (en) AP access detection method and device
CN103813276A (en) Information sending method, MTC server, user equipment, and MTC system
CN104010325A (en) Trigger message delivery control method, equipment and system
CN105722044B (en) A kind of short message repeating method and short message repeater system
EP4300895A1 (en) 5g message processing method, 5g message center, terminal and storage medium
CN116528401B (en) Communication method, core network element, user equipment and communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant