Disclosure of Invention
The invention aims to provide a big data analysis method based on a mobile client with improved success rate, which can reduce the flow steps and further reduce the probability of transmission failure.
The invention aims to provide a big data analysis system based on a mobile client with improved success rate.
In order to achieve the above object, the present invention provides a big data analysis method based on a mobile client with improved success rate, which comprises the following steps: collecting user information by a mobile client; initializing a transmission power by a mobile client to obtain a first transmission power; sending a data channel establishment request message to a big data processing center by a mobile client at a first transmission power; if the mobile client does not receive the data channel establishment response message within the first preset time period, the mobile client sends the data channel establishment request message to the big data processing center again at the second transmitting power; if the mobile client receives the data channel establishment response message within a first preset time period, the mobile client sends the identity identifier of the mobile client to the big data processing center; if the mobile client receives the identity identifier receiving confirmation message within the second preset time period, the mobile client continuously judges whether a correct data transmission confirmation message is received within a third preset time period; if the mobile client judges that the wrong data transmission confirmation message is received within the third preset time period, the mobile client waits for the re-competition message until the first timer is overtime, wherein if the first timer is overtime, the mobile client sends the data channel establishment request message to the big data processing center again at the first transmission power; and if the mobile client judges that the correct data transmission confirmation message or the wrong data transmission confirmation message is not received within the third preset time period, the mobile client waits for a re-competition message until the first timer is overtime, wherein if the first timer is overtime, the mobile client sends the data channel establishment request message to the big data processing center again at the first transmission power.
In a preferred embodiment, the method for analyzing big data based on a mobile client with an improved success rate further comprises the following steps: and if the mobile client judges that the correct data transmission confirmation message is received within the third preset time period, the mobile client sends the collected user information to the big data processing center.
In a preferred embodiment, the re-contention message is sent by the big data processing center based on the following steps: judging the current wireless network condition; predicting data transmission delay based on the current wireless network condition; and if the data transmission delay is larger than the threshold value, broadcasting a re-competition message.
In a preferred embodiment, the data transfer confirmation message is sent by the big data processing center based on the following steps: receiving a plurality of identity identifiers sent by a plurality of mobile clients; determining a first number of mobile clients that can be carried by a current wireless network; randomly selecting a first number of selected identity identifiers from a plurality of identity identifiers based on the determined first number of mobile clients that can be carried by the current wireless network; broadcasting a first number of selected identity identifiers; wherein if the mobile client determines that there is an own identity identifier among the broadcasted first number of selected identity identifiers, it determines that a correct data transmission confirmation message is received; if the mobile client determines that there is no own identity identifier among the broadcasted first number of selected identity identifiers, it is determined that an erroneous data transmission confirmation message is received.
In a preferred embodiment, the big data analysis method based on the mobile client with the improved success rate comprises the following steps: and if the mobile client receives the re-competition message before the first timer is overtime, the identity identifier of the mobile client is sent to the big data processing center again by the mobile client.
The invention also provides a big data analysis system based on the mobile client with improved success rate, which comprises: a plurality of mobile clients; the big data processing center is in communication connection with each mobile client of the plurality of mobile clients; wherein the mobile client is configured to: collecting user information; initializing transmission power to obtain first transmission power; sending a data channel establishment request message to a big data processing center by first transmitting power; if the data channel establishment response message is not received within the first preset time period, the data channel establishment request message is sent to the big data processing center again at the second transmitting power; if the data channel establishment response message is received within a first preset time period, the identity identifier of the mobile client is sent to the big data processing center; if the identity identifier receiving confirmation message is received within the second preset time period, continuously judging whether a correct data transmission confirmation message is received within a third preset time period; if the wrong data transmission confirmation message is received within the third preset time period, waiting for a re-competition message until the first timer is overtime, wherein if the first timer is overtime, the data channel establishment request message is sent to the big data processing center again by the first transmitting power; and if the correct data transmission confirmation message or the wrong data transmission confirmation message is judged not to be received within the third preset time period, waiting for a re-competition message until the first timer is overtime, wherein if the first timer is overtime, the data channel establishment request message is sent to the big data processing center again at the first transmission power.
In a preferred embodiment, the mobile client is configured to: and if the correct data transmission confirmation message is received within the third preset time period, sending the collected user information to the big data processing center.
In a preferred embodiment, the re-contention message is sent by the big data processing center based on the following steps: judging the current wireless network condition; predicting data transmission delay based on the current wireless network condition; and if the data transmission delay is larger than the threshold value, broadcasting a re-competition message.
In a preferred embodiment, the data transfer confirmation message is sent by the big data processing center based on the following steps: receiving a plurality of identity identifiers sent by a plurality of mobile clients; determining a first number of mobile clients that can be carried by a current wireless network; randomly selecting a first number of selected identity identifiers from a plurality of identity identifiers based on the determined first number of mobile clients that can be carried by the current wireless network; broadcasting a first number of selected identity identifiers; wherein if the mobile client determines that there is an own identity identifier among the broadcasted first number of selected identity identifiers, it determines that a correct data transmission confirmation message is received; if the mobile client determines that there is no own identity identifier among the broadcasted first number of selected identity identifiers, it is determined that an erroneous data transmission confirmation message is received.
In a preferred embodiment, the mobile client is configured to: and if the re-competition message is received before the first timer is timed out, the identity identifier of the mobile client is sent to the big data processing center again.
Compared with the prior art, the big data analysis method based on the mobile client side has the following advantages: big data analysis (in essence, preference prediction based on big data analysis) is a crucial technical means for e-commerce, and whether the preference prediction is accurate or not will largely determine the profitability of the e-commerce. At present, a large part of services of an e-commerce depend on a wireless mobile terminal, and a lot of data information must also be wirelessly transmitted to a data analysis center or a server through the wireless mobile terminal. In order to ensure the success rate of information transmission based on a wireless network, the invention develops a big data analysis method based on a mobile client with improved success rate.
Detailed Description
The following detailed description of the present invention is provided in conjunction with the accompanying drawings, but it should be understood that the scope of the present invention is not limited to the specific embodiments.
Throughout the specification and claims, unless explicitly stated otherwise, the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element or component but not the exclusion of any other element or component.
Fig. 1 is a flowchart of a big data analysis method based on a mobile client according to an embodiment of the present invention. The big data analysis method based on the mobile client comprises the following steps:
step 101: collecting user information by a mobile client;
step 102: initializing a transmission power by a mobile client to obtain a first transmission power;
step 103: sending a data channel establishment request message to a big data processing center by a mobile client at a first transmission power;
step 104: if the mobile client does not receive the data channel establishment response message within a first preset time period, the mobile client sends the data channel establishment request message to the big data processing center again at a second transmitting power, wherein the second transmitting power is greater than the first transmitting power;
step 105: if the mobile client receives the data channel establishment response message within a first preset time period, the mobile client sends the identity identifier of the mobile client to the big data processing center;
step 106: if the mobile client receives the identity identifier receiving confirmation message within the second predetermined time period, the mobile client continuously judges whether a correct data transmission confirmation message is received within a third predetermined time period;
step 107: if the mobile client judges that the wrong data transmission confirmation message is received within the third preset time period, the mobile client waits for the re-competition message until the first timer is overtime, wherein if the first timer is overtime, the mobile client sends the data channel establishment request message to the big data processing center again at the first transmission power; and
step 108: and if the mobile client judges that the correct data transmission confirmation message or the wrong data transmission confirmation message is not received within the third preset time period, the mobile client waits for a re-competition message until the first timer is overtime, and if the first timer is overtime, the mobile client sends the data channel establishment request message to the big data processing center again at the first transmission power.
In the above solution, the big data analysis method based on the mobile client with improved success rate further includes the following steps: and if the mobile client judges that the correct data transmission confirmation message is received within the third preset time period, the mobile client sends the collected user information to the big data processing center.
In a preferred embodiment, the re-contention message is sent by the big data processing center based on the following steps: judging the current wireless network condition; predicting data transmission delay based on the current wireless network condition; and if the data transmission delay is larger than the threshold value, broadcasting a re-competition message.
In a preferred embodiment, the data transfer confirmation message is sent by the big data processing center based on the following steps: receiving a plurality of identity identifiers sent by a plurality of mobile clients; determining a first number of mobile clients that can be carried by a current wireless network; randomly selecting a first number of selected identity identifiers from a plurality of identity identifiers based on the determined first number of mobile clients that can be carried by the current wireless network; broadcasting a first number of selected identity identifiers; wherein if the mobile client determines that there is an own identity identifier among the broadcasted first number of selected identity identifiers, it determines that a correct data transmission confirmation message is received; if the mobile client determines that there is no own identity identifier among the broadcasted first number of selected identity identifiers, it is determined that an erroneous data transmission confirmation message is received.
In a preferred embodiment, the big data analysis method based on the mobile client with the improved success rate comprises the following steps: and if the mobile client receives the re-competition message before the first timer is overtime, the identity identifier of the mobile client is sent to the big data processing center again by the mobile client.
The invention also provides a big data analysis system based on the mobile client with improved success rate, which comprises: a plurality of mobile clients and a big data processing center. Wherein the big data processing center is communicatively coupled to each of the plurality of mobile clients.
Wherein the mobile client is configured to: collecting user information; initializing transmission power to obtain first transmission power; sending a data channel establishment request message to a big data processing center by using first transmission power; if the data channel establishment response message is not received within the first preset time period, the data channel establishment request message is sent to the big data processing center again at the second transmitting power; if the data channel establishment response message is received within a first preset time period, the identity identifier of the mobile client is sent to the big data processing center; if the identity identifier receiving confirmation message is received within the second preset time period, continuously judging whether a correct data transmission confirmation message is received within a third preset time period; if the wrong data transmission confirmation message is received within the third preset time period, waiting for a re-competition message until the first timer is overtime, wherein if the first timer is overtime, the data channel establishment request message is sent to the big data processing center again by the first transmitting power; and if the correct data transmission confirmation message or the wrong data transmission confirmation message is judged not to be received within the third preset time period, waiting for a re-competition message until the first timer is overtime, wherein if the first timer is overtime, the data channel establishment request message is sent to the big data processing center again at the first transmission power.
In a preferred embodiment, the mobile client is configured to: and if the correct data transmission confirmation message is received within the third preset time period, sending the collected user information to the big data processing center.
In a preferred embodiment, the re-contention message is sent by the big data processing center based on the following steps: judging the current wireless network condition; predicting data transmission delay based on the current wireless network condition; and broadcasting the re-competition message if the data transmission delay is greater than the threshold value.
In a preferred embodiment, the data transfer confirmation message is sent by the big data processing center based on the following steps: receiving a plurality of identity identifiers sent by a plurality of mobile clients; determining a first number of mobile clients that can be carried by a current wireless network; randomly selecting a first number of selected identity identifiers from a plurality of identity identifiers based on the determined first number of mobile clients that can be carried by the current wireless network; broadcasting a first number of selected identity identifiers; wherein if the mobile client determines that there is an own identity identifier among the broadcasted first number of selected identity identifiers, it determines that a correct data transmission confirmation message is received; if the mobile client determines that there is no own identity identifier among the broadcasted first number of selected identity identifiers, it is determined that an erroneous data transmission confirmation message is received.
In a preferred embodiment, the mobile client is configured to: and if the re-competition message is received before the first timer is overtime, the identity identifier of the mobile client is sent to the big data processing center again.
It should be noted that the method in the embodiment of the present invention can be implemented by a device with a processor, and the device also includes instructions (software) stored with the program according to the method of the present invention, and when the software is executed by the processor, the device can implement the method of the present invention. Methods of programming are well known in the art and how to program is not material to the invention, and in the interest of brevity, the invention does not introduce programming details. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The instructions may be implemented and controlled by a processor to perform the methods disclosed by the embodiments of the invention. The processor may also be a general purpose processor, a Digital Signal Processor (DSP), an application specific integrated circuit (application specific integrated circuit), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic, or discrete hardware components.
The general purpose processor may be a microprocessor or the processor may be any conventional processor, decoder, etc. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art.
As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by software plus a general hardware platform. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the method according to the embodiments or some parts of the embodiments.
It should be noted that, in the present specification, all the embodiments are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the method embodiments and apparatus embodiments are substantially similar to the system embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the system embodiments for related points. The above-described embodiments of the apparatus and system are merely illustrative, wherein modules described as separate parts may or may not be physically separate, and parts shown as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only for the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present invention, and such improvements and modifications should be considered as the protection scope of the present invention.
The foregoing descriptions of specific exemplary embodiments of the present invention have been presented for purposes of illustration and description. It is not intended to limit the invention to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. The exemplary embodiments were chosen and described in order to explain certain principles of the invention and its practical application to enable one skilled in the art to make and use various exemplary embodiments of the invention and various alternatives and modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims and their equivalents.