CN111479219B - Mobile communication method, device, terminal and storage medium - Google Patents

Mobile communication method, device, terminal and storage medium Download PDF

Info

Publication number
CN111479219B
CN111479219B CN202010391182.5A CN202010391182A CN111479219B CN 111479219 B CN111479219 B CN 111479219B CN 202010391182 A CN202010391182 A CN 202010391182A CN 111479219 B CN111479219 B CN 111479219B
Authority
CN
China
Prior art keywords
connection
terminal
connection mode
mode
wireless connection
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
CN202010391182.5A
Other languages
Chinese (zh)
Other versions
CN111479219A (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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202010391182.5A priority Critical patent/CN111479219B/en
Publication of CN111479219A publication Critical patent/CN111479219A/en
Application granted granted Critical
Publication of CN111479219B publication Critical patent/CN111479219B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Abstract

The application provides a mobile communication method, a device, a terminal and a storage medium, belonging to the technical field of communication. The method comprises the following steps: acquiring a plurality of wireless connection modes supported by a current terminal, wherein the plurality of wireless connection modes are connection modes for establishing communication connection with computer equipment; selecting a first connection mode which is best adapted to the current network environment of the terminal from a plurality of wireless connection modes; establishing communication connection with the computer equipment based on the first connection mode; based on the communication connection, performing, by the computer device, a target operation, the target operation being at least one of generating order information, querying the order information, and transferring resources. The method for establishing communication connection between the terminal and the computer equipment is a first connection mode which is selected from a plurality of wireless connection modes and best adapts to the current network environment, the first connection mode has strong adaptability to the current network environment, better communication quality is achieved in the current network environment, and the stability of mobile communication can be improved.

Description

Mobile communication method, device, terminal and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a mobile communication method, an apparatus, a terminal, and a storage medium.
Background
The traditional POS (Point Of Sale) system is large and heavy, and can only be used in fixed places, so as to improve the flexibility Of the POS system application, the mobile terminal can be connected to the POS system in a wireless network manner, and the functions Of remote inquiry, ordering, cash register and the like can be realized through the mobile terminal.
In the related art, the mobile terminal should have a wireless connection mode, and the mobile terminal establishes a wireless connection with the POS system through the wireless connection mode, and performs data transmission based on the wireless connection. The mobile terminal is connected with the POS system through the wireless connection mode, and when the wireless connection mode is abnormal, the stability of connection between the mobile terminal and the POS system is difficult to guarantee.
Disclosure of Invention
The embodiment of the application provides a mobile communication method, a device, a terminal and a storage medium, which can improve the stability of mobile communication. The technical scheme is as follows:
according to an aspect of embodiments of the present application, there is provided a mobile communication method, including:
acquiring a plurality of wireless connection modes supported by a current terminal, wherein the plurality of wireless connection modes are connection modes for establishing communication connection with computer equipment;
selecting a first connection mode which is best adapted to the current network environment of the terminal from the plurality of wireless connection modes;
establishing communication connection with the computer equipment based on the first connection mode;
based on the communication connection, performing, by the computer device, a target operation, the target operation being at least one of generating order information, querying order information, and resource transfer.
In a possible implementation manner, the selecting a first connection manner that best adapts to a current network environment of the terminal from the plurality of wireless connection manners includes:
acquiring historical connection speed of a historical connected wireless connection mode in the plurality of wireless connection modes;
determining the priority of each wireless connection mode in the plurality of wireless connection modes according to the historical connection rate;
and determining a first connection mode which is best adapted to the current network environment of the terminal according to the priority of each wireless connection mode.
In another possible implementation manner, the determining, according to the priority of each wireless connection manner, a first connection manner best adapted to the current network environment of the terminal includes:
according to the priority of each wireless connection mode, determining a second connection mode with the highest priority from the plurality of wireless connection modes;
acquiring the switch state of the second connection mode;
in response to that the switch state of the second connection mode is used for indicating that the second connection mode is in an open state, determining the second connection mode as a first connection mode which is best adapted to the current network environment of the terminal;
and in response to the switch state of the second connection mode being used for indicating that the second connection mode is in a closed state, determining a third connection mode with the highest priority except the second connection mode from the plurality of wireless connection modes, and determining the third connection mode as a first connection mode best adapted to the current network environment of the terminal.
In another possible implementation manner, the method further includes:
responding to the switch state of the second connection mode to indicate that the second connection mode is in a closed state, and popping up prompt information for prompting to open the second connection mode;
and determining the second connection mode as a first connection mode which is best adapted to the current network environment of the terminal in response to the second connection mode being opened.
In another possible implementation manner, the determining the priority of each of the plurality of radio connection modes according to the historical connection rate includes:
acquiring the preset priority of each wireless connection mode in the plurality of wireless connection modes;
determining the priority of the wireless connection mode of the historical connection according to the historical connection speed of the wireless connection mode of the historical connection and the preset priority of the wireless connection mode of the historical connection;
and taking the preset priority of the historical unconnected wireless connection modes as the priority of the historical unconnected wireless connection modes.
In another possible implementation manner, the selecting, from the plurality of wireless connection manners, a first connection manner that best adapts to a current network environment of the terminal includes:
acquiring a first position where the terminal is located currently, and acquiring a second position where the computer equipment is located currently;
determining the communication distance between the terminal and the computer equipment according to the first position and the second position;
selecting a first connection method which is best adapted to the communication distance from the plurality of wireless connection methods.
In another possible implementation manner, the selecting, from the plurality of wireless connection manners, a first connection manner that best adapts to a current network environment of the terminal includes:
acquiring a first position where the terminal is located currently;
determining the current building environment of the terminal according to the current first position of the terminal;
selecting a first connection mode which is best adapted to the building environment from the plurality of wireless connection modes.
In another possible implementation manner, the method further includes:
acquiring the connection state of the terminal and the computer equipment;
in response to the connection state indicating that the current connection between the terminal and the computer equipment is unstable, reselecting a fourth connection mode which is best adapted to the current network environment of the terminal from the plurality of wireless connection modes;
and based on the fourth connection mode, reestablishing communication connection with the computer equipment, and based on the reestablished communication connection, performing data communication with the computer equipment.
According to another aspect of embodiments of the present application, there is provided a mobile communication apparatus, the apparatus including:
the terminal comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is configured to acquire a plurality of wireless connection modes supported by a current terminal, and the wireless connection modes are connection modes for establishing communication connection with computer equipment;
a selection module configured to select a first connection mode best adapted to a current network environment of the terminal from the plurality of wireless connection modes;
the establishing module is configured to establish communication connection with the computer equipment based on the first connection mode;
a communication module configured to perform a target operation by the computer device based on the communication connection, the target operation being at least one of generating order information, querying order information, and resource transfer.
In a possible implementation manner, the selection module is further configured to obtain a historical connection rate of a historically connected wireless connection manner of the plurality of wireless connection manners; determining the priority of each wireless connection mode in the plurality of wireless connection modes according to the historical connection rate; and determining a first connection mode which is best adapted to the current network environment of the terminal according to the priority of each wireless connection mode.
In another possible implementation manner, the selecting module is further configured to determine, according to the priority of each wireless connection manner, a second connection manner with a highest priority from the plurality of wireless connection manners; acquiring the switch state of the second connection mode; in response to that the switch state of the second connection mode is used for indicating that the second connection mode is in an open state, determining the second connection mode as a first connection mode which is best adapted to the current network environment of the terminal; and in response to the switch state of the second connection mode being used for indicating that the second connection mode is in a closed state, determining a third connection mode with the highest priority except the second connection mode from the plurality of wireless connection modes, and determining the third connection mode as a first connection mode best adapted to the current network environment of the terminal.
In another possible implementation manner, the apparatus further includes:
the popup module is configured to respond to the switch state of the second connection mode for indicating that the second connection mode is in a closed state, and popup prompt information for prompting the opening of the second connection mode;
the determining module is configured to determine the second connection mode as a first connection mode best adapted to the current network environment of the terminal in response to the second connection mode being opened.
In another possible implementation manner, the selection module is further configured to obtain a preset priority of each of the plurality of wireless connection manners; determining the priority of the wireless connection mode of the historical connection according to the historical connection speed of the wireless connection mode of the historical connection and the preset priority of the wireless connection mode of the historical connection; and taking the preset priority of the historical unconnected wireless connection modes as the priority of the historical unconnected wireless connection modes.
In another possible implementation manner, the selection module is further configured to obtain a first location where the terminal is currently located, and obtain a second location where the computer device is currently located; determining the communication distance between the terminal and the computer equipment according to the first position and the second position; selecting a first connection method which is best adapted to the communication distance from the plurality of wireless connection methods.
In another possible implementation manner, the selection module is further configured to obtain a first location where the terminal is currently located; determining the current building environment of the terminal according to the current first position of the terminal; selecting a first connection mode which is best adapted to the building environment from the plurality of wireless connection modes.
In another possible implementation manner, the obtaining module is further configured to obtain a connection state of the terminal and the computer device; the selection module is further configured to reselect a fourth connection mode which is best adapted to the current network environment of the terminal from the plurality of wireless connection modes in response to the connection state indicating that the current connection between the terminal and the computer device is unstable; the establishing module is further configured to reestablish a communication connection with the computer device based on the fourth connection mode; the communication module is further configured to communicate data with the computer device based on the re-established communication connection.
According to another aspect of the embodiments of the present application, there is provided a terminal, where the terminal includes a processor and a memory, and the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the mobile communication method according to any one of the above possible implementation manners.
According to another aspect of the embodiments of the present application, there is provided a computer-readable storage medium having at least one instruction stored therein, where the at least one instruction is loaded and executed by a processor to implement the mobile communication method according to any one of the above-mentioned possible implementation manners.
In the embodiment of the application, a plurality of wireless connection modes supported by the current terminal are obtained, wherein the plurality of wireless connection modes are connection modes for establishing communication connection with the computer equipment; selecting a first connection mode which is best adapted to the current network environment of the terminal from a plurality of wireless connection modes; establishing communication connection with the computer equipment based on the first connection mode; based on the communication connection established with the computer device, performing, by the computer device, a target operation, the target operation being at least one of generating order information, querying the order information, and transferring resources. The method for establishing communication connection between the terminal and the computer equipment is a first connection mode which is selected from a plurality of wireless connection modes and best adapts to the current network environment, the first connection mode has stronger adaptability to the current network environment and has better communication quality in the current network environment, and therefore the stability of mobile communication can be improved.
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.
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the present application;
fig. 2 is a flowchart of a mobile communication method according to an embodiment of the present application;
fig. 3 is a flowchart of a mobile communication method according to an embodiment of the present application;
fig. 4 is a block diagram of a mobile communication device provided in an embodiment of the present application;
fig. 5 is a block diagram of a terminal according to an embodiment of the present application;
fig. 6 is a block diagram of a server according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Referring to fig. 1, the implementation environment includes a terminal 101 and a computer device 102.
The terminal 101 is a small-sized terminal convenient to carry and move, and the terminal 101 includes a mobile phone, a tablet computer, a wearable device or other electronic devices. The computer device 102 has at least data processing functionality, and the computer device 102 comprises one or more of a server, a desktop computer, a cash register, or other computer device. The computer device 102 may also be referred to as a POS system.
The terminal 101 and the computer device 102 are connected via a wireless network. The terminal 101 supports a plurality of wireless connection modes, and the terminal 101 can establish communication connection with the computer device 102 through any one of the plurality of wireless connection modes. In this embodiment, the terminal 101 selects a first connection method best adapted to the current network environment from the plurality of wireless connection methods, and establishes a communication connection with the computer device 102 based on the first connection method.
The computer device 102 is generally used in the field of commodity sales, and the computer device 102 can perform operations such as querying, placing orders, collecting cash and the like on commodities, and the computer device 102 can also process and analyze sales data of the commodities, so that the operation strategy can be adjusted based on the data obtained through processing and analysis, and the operation efficiency can be improved. The computer device 102 may be applied to a restaurant, a supermarket, a shopping mall, or the like, and in the embodiment of the present application, the computer device 102 is applied to a restaurant as an example.
Based on the development and wide application of terminal technology and communication technology, a terminal which is small in size and convenient to carry and move can be connected into the computer device 102 through a wireless network, so that functions of data transmission, message interaction and the like can be achieved at any position within a connectable range.
The terminal 101 may be installed with a target application program, and after the terminal 101 and the computer device 102 establish a communication connection, a user corresponding to the terminal 101 may remotely perform operations such as query, order placement, cash collection and the like on a commodity through the target application program. The terminal 101 executes, by the computer apparatus 102, a target operation that is at least one operation of generating order information, inquiring about the order information, and transferring resources, based on the communication connection established with the computer apparatus 102.
Fig. 2 is a flowchart of a mobile communication method according to an embodiment of the present application. Referring to fig. 2, the embodiment includes:
201. and acquiring a plurality of wireless connection modes supported by the current terminal.
The plurality of wireless connection modes are connection modes for establishing communication connection between the terminal and the computer equipment. The terminal can establish communication connection with the computer equipment through any one of the plurality of connection modes.
The terminal can establish communication connection with the computer equipment based on the Bluetooth technology, and correspondingly, the plurality of wireless connection modes comprise Bluetooth connection modes; the terminal may also establish a communication connection with the computer device based on WiFi (Wireless-Fidelity, a Wireless network communication technology), and correspondingly, the plurality of Wireless connection modes further include a WiFi connection mode.
The terminal can also establish communication connection with the computer equipment based on a mobile communication technology, and correspondingly, the plurality of wireless connection modes further comprise a mobile network connection mode. The mobile communication technology includes a second generation mobile communication technology (2G), a third generation mobile communication technology (3G), a fourth generation mobile communication technology (4G), a fifth generation mobile communication technology (5G), and a mobile communication technology based on the technology evolution of the existing mobile communication technology.
The terminal may also establish a communication connection with the computer device based on other wireless communication technologies, and in this embodiment, the wireless connection mode supported by the terminal is not limited.
In the embodiment of the application, the terminal supports a plurality of wireless connection modes, and each wireless connection mode can be respectively suitable for different application scenes, so that mobile communication between the terminal and the computer equipment can be realized in more application scenes, and the feasibility of remote commodity inquiry, order placing and cash collection is improved.
In a possible implementation manner, the plurality of wireless connection manners acquired by the terminal include all wireless connection manners supported by the terminal. For example, the terminal supports three wireless connection modes, namely a bluetooth connection mode, a WiFi connection mode and a mobile network connection mode, and the terminal can acquire the three wireless connection modes and select a first connection mode best adapted to the current network environment of the terminal from the three wireless connection modes.
In another possible implementation manner, the terminal may obtain the plurality of wireless connection manners in the on state according to the on-off states of the plurality of wireless connection manners supported by the terminal, and then select the first connection manner best adapted to the current network environment of the terminal from the plurality of wireless connection manners in the on state. Correspondingly, the step of the terminal acquiring the plurality of wireless connection modes supported by the current terminal may be: the method comprises the steps that a terminal obtains the on-off state of each wireless connection mode in all wireless connection modes supported by the terminal; and acquiring a plurality of wireless connection modes in an open state.
In another possible implementation manner, the plurality of radio connection manners acquired by the terminal are radio connection manners that the terminal has historically connected. Correspondingly, the step of the terminal acquiring the plurality of wireless connection modes supported by the current terminal may be: the terminal acquires a plurality of wireless connection modes with history connection marks according to the history connection marks of each wireless connection mode in all wireless connection modes supported by the terminal.
In another possible implementation manner, the terminal may further obtain, according to the historical connection times of the historical connected wireless connection manners, a plurality of wireless connection manners for which the historical connection times reach a preset numerical value. Correspondingly, the step of the terminal acquiring the plurality of wireless connection modes supported by the current terminal may be: the terminal acquires historical connection times of each wireless connection mode which is historically connected; and acquiring a plurality of wireless connection modes with historical connection times reaching a preset numerical value. The predetermined value may be any value, for example, the predetermined value may be 10, 15, or 20.
In another possible implementation manner, the terminal supports the user to select the wireless connection manner, the user may select a plurality of wireless connection manners supported by the terminal, and the terminal selects the first connection manner best adapted to the current network environment from the plurality of wireless connection manners selected by the user. Correspondingly, the step of the terminal acquiring the plurality of wireless connection modes supported by the current terminal may be: the terminal displays a connection mode selection interface; and acquiring a plurality of selected wireless connection modes based on the connection mode selection interface.
In another possible implementation, the current terminal may be used by multiple users, for example, for a restaurant scenario, the multiple users using the current terminal may be multiple attendants responsible for the same area of the restaurant at different time periods. The terminal can determine the user currently using the terminal and acquire a plurality of wireless connection modes used by the user in history. Correspondingly, the step of the terminal acquiring the plurality of wireless connection modes supported by the current terminal may be: the terminal displays a verification interface which is used for performing identity verification on a user using the terminal; acquiring identity information to be verified based on the verification interface; determining the current user using the terminal according to the identity information; and acquiring a plurality of wireless connection modes corresponding to the user from the wireless connection modes of the historical connection. The method for the terminal to authenticate the user using the terminal can be face identification authentication, fingerprint identification authentication or voiceprint identification authentication and the like.
The terminal can also acquire a plurality of wireless connection modes which are used by the current user using the terminal in a historical manner, and the historical use times of the wireless connection modes reach preset values.
In another possible implementation manner, the terminal may further obtain a plurality of wireless connection manners with current resource being relaxed, and select a first connection manner best adapted to the current network environment of the terminal from the plurality of wireless connection manners with current resource being relaxed, and correspondingly, the step of the terminal obtaining the plurality of wireless connection manners supported by the current terminal may be: the method comprises the steps that a terminal obtains a saturation value of each connection mode in all wireless connection modes supported by the terminal, wherein the saturation value is used for representing the maximum number of devices supported and accessed by the wireless connection modes; the terminal acquires the number of currently accessed devices in each wireless connection mode; and acquiring a plurality of wireless connection modes of which the number of the currently accessed devices does not reach a saturation value.
For example, the maximum number of devices that the bluetooth connection mode supports to access is 10, the current device that establishes communication connection with the computer device based on the bluetooth connection mode is 5, and the bluetooth connection mode may be one of the plurality of wireless connection modes without reaching the saturation value of the bluetooth connection mode.
In the embodiment of the application, the terminal acquires a plurality of wireless connection modes with current non-stressed resources, establishes connection with the computer equipment based on the first connection mode selected from the plurality of wireless connection modes, and can improve the connection rate of the terminal and the computer equipment and improve the communication quality.
202. The terminal selects a first connection mode which is best adapted to the current network environment of the terminal from a plurality of wireless connection modes.
In a first possible implementation manner, the terminal may determine the priority of each wireless connection manner according to the historical connection rate of the wireless connection manners that have been historically connected, and use the wireless connection manner with the highest priority as the first connection manner that is best adapted to the current network environment of the terminal. Correspondingly, the terminal selects the first connection mode which is best adapted to the current network environment of the terminal from the plurality of wireless connection modes through the following steps (1) to (3):
(1) the terminal acquires a historical connection rate of a wireless connection mode which is historically connected among a plurality of wireless connection modes.
After the terminal establishes communication connection with the computer equipment based on any wireless connection mode, the terminal can carry out data communication with the computer equipment in a mode of sending network requests to the computer equipment, the terminal can count the transmission rate of each network request, and the historical connection rate of the wireless connection mode is determined according to the transmission rate of each network request. Correspondingly, the step of the terminal acquiring the historical connection rate of the historically connected wireless connection mode in the plurality of wireless connection modes may be: the method comprises the steps that a terminal obtains the data volume of a request data packet of each network request in a plurality of network requests sent to computer equipment based on a fifth connection mode in a target time period, the first time of each network request and the second time of each network request reaching the computer equipment, wherein the fifth connection mode is any one of historical connection wireless connection modes; taking the difference value of the first time and the second time as a first transmission duration; determining the transmission rate of each network request according to the data volume of the request data packet of each network request and the first transmission duration of the network request; and determining the average value of the transmission rates of the plurality of network requests as the historical connection rate of the fifth connection mode.
The target time period may be a time period during which the terminal establishes a communication connection with the computer device based on any wireless connection manner. In one possible implementation, the target time period may include all time periods during which the terminal establishes a communication connection with the computer device based on the fifth connection mode before the current time.
In another possible implementation manner, the target time period may also be a first time period in which the terminal last establishes a communication connection with the computer device based on a fifth connection manner, for example, when the terminal last establishes a communication connection with the computer device based on a bluetooth connection manner from 8 hours to 21 hours in XX month XX, and then the target time period is from 8 hours to 21 hours in XX month XX.
In the embodiment of the application, the target time period is a first time period in which the terminal establishes communication connection with the computer device based on the fifth connection mode last time, the terminal determines, according to a network request of the target time period, a historical connection rate at which the terminal establishes communication connection with the computer device based on the fifth connection mode last time, so that the historical connection rate is used as a reference, the priority of the determined wireless connection mode better meets a real-time requirement, the first connection mode determined according to the priority is more adaptive to a current network environment, and further, based on the first connection mode, the communication quality of the terminal and the computer device can be improved.
In another possible implementation manner, the target time period may further include a time period intercepted by the terminal from the time period for establishing the communication connection with the computer device according to the service scenario. For example, the service scenario is a restaurant scenario, the restaurant generally has high requirements for connection to the network in the lunch period and the dinner period, and the terminal may intercept the time periods within 11 hours to 13 hours and 17 hours to 21 hours as the target time periods.
In the embodiment of the application, the target time period may also be a time period intercepted by the terminal from a time period for establishing a communication connection with the computer device according to a service scene, the time period intercepted by the terminal is matched with the current service scene, and a wireless connection mode with a higher historical connection rate in the target time period is more in line with the requirement of the current service scene, so that the communication quality between the terminal and the computer device can be improved in the target time period in a targeted manner, the requirement of the current service scene is met, and the experience of a user is improved.
In another possible implementation manner, the target time period may further include a second time period in which the terminal establishes communication connection with the computer device based on the fifth connection manner for the last several times. Correspondingly, the step of the terminal determining the target time period may be: the terminal acquires a preset number of second time periods closest to the current time, wherein the terminal establishes communication connection with the computer equipment based on a fifth connection mode in each of the preset number of second time periods; and determining a preset number of second time periods as the target time period. The predetermined number may be any number, for example, the predetermined number may be 5, 10, or 20, etc.
In the embodiment of the application, the target time period includes a second time period in which the terminal establishes communication connection with the computer device based on the fifth connection mode for the last several times, and according to the network request in the target time period, the reliability and the real-time performance of the obtained historical connection rate can be improved, so that the first connection mode determined according to the historical connection rate is more adaptive to the current network environment, and further based on the first connection mode, the communication quality of the terminal and the computer device can be improved.
In another possible implementation manner, the target time period may further include all time periods during which the terminal establishes a communication connection with the computer device based on the fifth connection manner within a third time period, where the third time period is a preset time period based on the current time, for example, the third time period may be the day before the current time, the three days before the current time, or the week before the current time.
In the embodiment of the application, the target time periods include all time periods in which the terminal establishes communication connection with the computer device based on the fifth connection mode within the latest time period, and according to the network request within the target time period, the reliability and the real-time performance of the obtained historical connection rate can be improved, so that the first connection mode determined according to the historical connection rate is more adaptive to the current network environment, and further, based on the first connection mode, the communication quality of the terminal and the computer device can be improved.
(2) The terminal determines the priority of each wireless connection mode in the plurality of wireless connection modes according to the historical connection rate.
In a possible implementation manner, the terminal may determine the priority of each of the plurality of wireless connection manners according to the magnitude of the historical connection rate of each of the plurality of wireless connection manners, and the higher the historical connection rate of a certain wireless connection manner is, the higher the priority of the wireless connection manner is. Correspondingly, the step of determining, by the terminal, the priority of each of the plurality of radio connection modes according to the historical connection rate may be: the terminal sequences the historical connection rate of each wireless connection mode to obtain the connection sequence of a plurality of wireless connection modes; and determining the priority of each wireless connection mode according to the position of each wireless connection mode in the connection sequence. For example, the wireless connection modes of the historical connection are a bluetooth connection mode, a WiFi connection mode and a mobile network connection mode respectively, and the connection order of the three wireless connection modes from large to small determined according to the historical connection rate is the WiFi connection mode, the bluetooth connection mode and the mobile network connection mode, then the priority of the WiFi connection mode is higher than the priority of the bluetooth connection mode and the priority of the mobile network connection mode, and the priority of the bluetooth connection mode is higher than the priority of the mobile network connection mode.
In the embodiment of the application, the higher the historical connection rate is, the higher the priority of the wireless connection mode is, so that the historical connection rate of the first connection mode which is determined by the terminal according to the priority and best adapted to the current network environment is the highest, and the terminal establishes communication connection with the computer equipment based on the first connection mode, so that the data communication speed between the terminal and the computer equipment can be increased, and the data transmission speed between the terminal and the computer equipment is increased.
In another possible implementation manner, the priority is preset for each wireless connection mode supported by the terminal, the terminal may determine the priority of each wireless connection mode by combining according to the preset priority of each wireless connection mode and the historical connection rate of the wireless connection mode of the historical connection, and correspondingly, the step of determining the priority of each wireless connection mode in the plurality of wireless connection modes by the terminal according to the historical connection rate may be: the terminal acquires the preset priority of each wireless connection mode in a plurality of wireless connection modes; determining the priority of the wireless connection mode of the historical connection according to the historical connection speed of the wireless connection mode of the historical connection and the preset priority of the wireless connection mode of the historical connection; and taking the priority preset by the historical unconnected wireless connection mode as the priority of the historical unconnected wireless connection mode.
The preset priority of each wireless connection mode can be determined according to the characteristics of each wireless connection mode and the current service scene of the terminal, and the higher the adaptation degree of the characteristics of a certain wireless connection mode and the current service scene of the terminal is, the higher the preset priority of the wireless connection mode is. For example, the transmission distance of the bluetooth connection mode is 10 meters, for a service scene with a small business area, the preset priority of the bluetooth connection mode may be higher than the preset priority of the WiFi connection mode and the preset priority of the mobile network connection mode, and the preset priority of the WiFi connection mode may be higher than the preset priority of the mobile network connection mode because the use cost of the WiFi connection mode is lower than the use cost of the mobile network connection mode. For another example, for a service scenario with a large business area, the bluetooth connection mode is difficult to meet the requirement of the service scenario, so the priority preset by the WiFi connection mode may be higher than the priority preset by the mobile network connection mode and the priority preset by the bluetooth connection mode, and the priority preset by the mobile network connection mode is higher than the priority preset by the bluetooth connection mode.
The terminal may sequence the historical connection rates of the wireless connection modes of the historical connections to obtain a connection order of the wireless connection modes of the historical connections, and determine the priority of each wireless connection mode of the historical connections by combining the connection order and the preset priority of each wireless connection mode of the historical connections, and correspondingly, the step of determining the priority of the wireless connection modes of the historical connections by the terminal according to the historical connection rates of the wireless connection modes of the historical connections and the preset priority of the wireless connection modes of the historical connections may be: the terminal sequences the historical connection rate of each wireless connection mode to obtain the connection sequence of a plurality of wireless connection modes; and determining the priority of each wireless connection mode according to the position of each wireless connection mode in the connection sequence and the preset priority of each wireless connection mode.
The position of each wireless connection mode in the connection sequence and the preset priority can be represented by corresponding numerical values, and the terminal can sum a first numerical value which is used for representing the connection sequence and corresponds to each wireless connection mode and a second numerical value which is used for representing the preset priority to obtain a third numerical value; and obtaining the priority of each wireless connection mode according to the third numerical value. The terminal can also respectively give different weights to the first numerical value and the second numerical value, and the first numerical value and the second numerical value are subjected to weighted summation based on the weights of the first numerical value and the second numerical value to obtain a third numerical value. The terminal may also use the second numerical value as a weight of the wireless connection mode, and perform a product operation on the first numerical value and the second numerical value to obtain a third numerical value.
For example, the historical wireless connection modes of the historical connection comprise a bluetooth connection mode and a WiFi connection mode, the historical connection rate of the WiFi connection mode is higher than that of the bluetooth connection mode, and the connection sequence of the plurality of wireless connection modes from small to large is a mobile network connection mode, a bluetooth connection mode and a WiFi connection mode; the positions of the WiFi connection mode, the bluetooth connection mode, and the mobile network connection mode in the connection sequence may be represented by values 3, 2, and 1, respectively; moreover, the preset priority of the Bluetooth connection mode is higher than that of the WiFi connection mode, the preset priority of the WiFi connection mode is higher than that of the mobile network connection mode, and the preset priorities of the WiFi connection mode, the Bluetooth connection mode and the mobile network connection mode can be represented by numerical values 2, 3 and 1 respectively; and the weight of the first numerical value for representing the connection order is 0.7, and the weight of the second numerical value for representing the preset priority is 0.3, then the third numerical values corresponding to the WiFi connection mode, the bluetooth connection mode and the mobile network connection mode are 2.7, 2.3 and 1, respectively, the priority of the WiFi connection mode is higher than that of the bluetooth connection mode, and the priority of the bluetooth connection mode is higher than that of the mobile network connection mode.
It should be noted that, if the plurality of radio connection schemes acquired by the terminal in step 201 are historically connected radio connection schemes, the terminal does not need to execute the step of setting the priority preset for the historically unconnected radio connection scheme as the priority of the historically unconnected radio connection scheme.
In the embodiment of the application, the terminal further determines the final priority of the wireless connection mode according to the historical connection rate and the preset priority, so that the first connection mode determined according to the priority is more adaptive to the current network environment, and the communication quality of the terminal and the computer equipment can be improved based on the first connection mode.
It should be noted that, when the priorities of the radio connection schemes determined by the terminals are the same, the priority levels of the radio connection schemes may be indicated by the preset priorities of the radio connection schemes with the same priority. For example, if the priority of the WiFi connection mode determined by the terminal is the same as the priority of the mobile network connection mode and higher than the priority of the bluetooth connection mode, and the preset priority of the WiFi connection mode is higher than the preset priority of the mobile network connection mode, the terminal may determine that the priority of the WiFi connection mode is higher than the priority of the mobile network connection mode, and the priority of the mobile network connection mode is higher than the priority of the bluetooth connection mode.
Another point to be noted is that when the terminal establishes a communication connection with the computer device for the first time, there is no wireless connection mode of historical connection, and the terminal may use the priority preset by each wireless connection mode as the priority of each wireless connection mode.
It should be noted that, before determining the first connection mode best adapted to the current network environment of the terminal according to the priority of each wireless connection mode, the terminal may perform step (1) and step (2) to determine the priority of each wireless connection mode in real time.
In the embodiment of the application, each time the terminal establishes communication connection with the computer device, the priority of each wireless connection mode is determined in real time, the first connection mode which is best adapted to the current network environment is determined according to the priority of each current wireless connection mode, the reliability of determining the first connection mode is improved, the adaptation degree of the first connection mode and the current network environment is improved, and then the communication quality of the terminal and the computer device can be improved based on the first connection mode.
The terminal may also store the priority of each wireless connection mode, and acquire the stored priority of the wireless connection mode before determining the first connection mode best adapted to the current network environment of the terminal according to the priority of each wireless connection mode.
The terminal can determine the historical connection rate of the wireless connection mode after establishing communication connection with the computer equipment based on any wireless connection mode; determining the priority of each wireless connection mode in the plurality of wireless connection modes according to the historical connection rate of the wireless connection modes, and storing the priority of each wireless connection mode or updating the stored priority.
The terminal may also determine a historical connection rate of the wireless connection modes of the historical connection at intervals, determine a priority of each of the plurality of wireless connection modes according to the historical connection rate of the wireless connection modes, and store the priority of each wireless connection mode or update the stored priority.
The time when the terminal determines the historical connection rate of the wireless connection mode and the time when the terminal determines the priority can be any time after the terminal establishes the communication connection with the computer equipment based on the wireless connection mode. The time when the terminal determines the historical connection rate of the wireless connection means and the time when the priority is determined may also be the time when the terminal is in the idle state. For example, for a restaurant scenario, the terminal is usually in an idle state at a time other than the meal time, and the terminal may determine the historical connection rate and priority level at the time of being in the idle state, so as to improve the operation efficiency when the terminal is in a non-idle state.
(3) And the terminal determines a first connection mode which is best adapted to the current network environment of the terminal according to the priority of each wireless connection mode.
In a possible implementation manner, the switch state of each wireless connection mode is in an on state, and the terminal determines the wireless connection mode with the highest priority as the first connection mode best adapted to the current network environment of the terminal, and accordingly, this step may be: the terminal determines a second connection mode with the highest priority from the plurality of wireless connection modes according to the priority of each wireless connection mode; and determining the second connection mode as the first connection mode which is best adapted to the current network environment.
In another possible implementation manner, the switch state of the wireless connection mode supported by the terminal may be in an on state or an off state, and when the switch state of the second connection mode with the highest priority determined by the terminal is in the off state, the terminal may select a third connection mode with the highest priority except for the second connection mode, and determine the third connection mode as the first connection mode best adapted to the current network environment of the terminal. Correspondingly, the step of determining, by the terminal, the first connection mode best adapted to the current network environment of the terminal according to the priority of each wireless connection mode may be: the terminal determines a second connection mode with the highest priority from the plurality of wireless connection modes according to the priority of each wireless connection mode; acquiring the switch state of the second connection mode; responding to the switch state of the second connection mode to indicate that the second connection mode is in an open state, and determining the second connection mode as a first connection mode which is best adapted to the current network environment of the terminal; and in response to the switch state of the second connection mode being used for indicating that the second connection mode is in the closed state, determining a third connection mode with the highest priority except the second connection mode from the plurality of wireless connection modes, and determining the third connection mode as the first connection mode which is best adapted to the current network environment of the terminal.
Fig. 3 is a flowchart of a mobile communication method according to an embodiment of the present application, and referring to fig. 3, a terminal and a computer device start to connect; determining the priority of each wireless connection mode according to the historical connection rate, wherein the priority of the wireless connection modes is sequentially a mode 1, a mode 2 and a mode 3 from top to bottom; the method comprises the steps that a terminal firstly obtains the switch state of a mode 1, and if the switch state of the mode 1 is used for indicating that the mode 1 is in an open state, namely the mode 1 switch is opened, connection is established with computer equipment through the mode 1; if the connection is successful through the mode 1, counting the historical connection rate of the mode 1; if the mode 1 is not connected successfully, the on-off state of the mode 2 is obtained; if the switch state of the mode 1 is used for indicating that the mode 1 is in a closed state, namely the switch of the mode 1 is not opened, acquiring the switch state of the mode 2, and if the switch state of the mode 2 is used for indicating that the mode 2 is in an opened state, namely the switch of the mode 2 is opened, establishing connection with the computer equipment through the mode 2; if the connection is successful through the mode 2, counting the historical connection rate of the mode 2; if the connection is not successful through the mode 2, the switch state of the mode 3 is acquired; if the switch state of the mode 2 is used for indicating that the mode 2 is in the off state, that is, the switch of the mode 2 is not turned on, the switch state of the mode 3 is acquired, and if the switch state of the mode 3 is used for indicating that the mode 3 is in the on state, that is, the switch of the mode 3 is turned on, the connection with the computer equipment is established through the mode 3; if the connection is successful through the mode 3, counting the historical connection rate of the mode 3; if the connection is not successful in the mode 3, continuing to establish connection with the computer equipment from the step of acquiring the switch state of the mode 1; if the switch state of the mode 3 is used for indicating that the mode 3 is in the off state, that is, the switch of the mode 3 is not turned on, a prompt message for prompting to turn on the network can be popped up, and the connection with the computer equipment is continuously established from the step of obtaining the switch state of the mode 1.
In this embodiment of the application, when the second connection mode is in a closed state, the terminal may determine the third connection mode with the highest priority except for the second connection mode as the first connection mode best adapted to the current network environment, so that the terminal may quickly establish a communication connection with the computer device based on the first connection mode, thereby increasing a speed of establishing a communication connection between the terminal and the computer device, reducing a waiting time, and improving user experience.
In another possible implementation manner, when the switch state of the second connection mode with the highest priority determined by the terminal is in the off state, the terminal may also pop up prompt information for prompting to open the second connection mode, and in response to the second connection mode being opened, determine the second connection mode as the first connection mode that is best adapted to the current network environment of the terminal. Correspondingly, the step of determining the first connection mode best adapted to the current network environment of the terminal, where the terminal responds to the switch state of the second connection mode to indicate that the second connection mode is in the off state, may be: the terminal responds to the switch state of the second connection mode to indicate that the second connection mode is in a closed state, and pops up prompt information for prompting the opening of the second connection mode; the terminal responds to the opening of the second connection mode, and determines the second connection mode as a first connection mode which is best adapted to the current network environment of the terminal; and the terminal responds to the fact that the second connection mode is not started within the preset time length, determines a third connection mode with the highest priority except the second connection mode from the plurality of wireless connection modes, and determines the third connection mode as a first connection mode which is best adapted to the current network environment of the terminal.
In the embodiment of the application, when the second connection mode is in a closed state, the terminal pops up prompt information to prompt a user to open the second connection mode, and determines the second connection mode as a first connection mode which is best adapted to the current network environment in response to the second connection mode being opened, so that communication connection is established with the computer equipment based on the first connection mode, the communication quality between the terminal and the computer equipment can be improved, and the stability of mobile communication of the terminal is improved; and if the second connection mode is not started within the preset time length from the pop-up prompt message, the terminal can also determine a third connection mode with the highest priority except the second connection mode, and determine the third connection mode as the first connection mode which is best adapted to the current network environment of the terminal, so that the terminal and the computer equipment can be ensured to be capable of establishing communication connection quickly, waiting time is reduced, and user experience is improved.
In a second possible implementation manner, the terminal may select the first connection manner best adapted to the current network environment according to a communication distance with the computer device, and accordingly, the step of selecting, by the terminal, the first connection manner best adapted to the current network environment of the terminal from the plurality of wireless connection manners may be: the method comprises the steps that a terminal obtains a first position where the terminal is located currently and obtains a second position where computer equipment is located currently; the terminal determines the communication distance between the terminal and the computer equipment according to the first position and the second position; the terminal selects a first connection scheme that best matches the communication distance from among a plurality of radio connection schemes.
The terminal can directly establish communication connection with the computer equipment, and the communication distance determined by the terminal can be a first spatial distance between a first position where the terminal is located and a second position where the computer equipment is located.
The terminal may also establish a communication connection with the computer device through the intermediary device, for example, the terminal may establish a communication connection with the computer device through the router. The communication distance between the terminal and the computer device may also be represented by a second spatial distance between a first location where the terminal is located and a third location where the intermediate device is located, and accordingly, the step of determining, by the terminal, the communication distance between the terminal and the computer device according to the first location and the second location may be: determining a third position where the intermediate equipment connected with the computer equipment is currently located according to the second position where the computer equipment is currently located; determining a spatial distance between the first location and the third location; and determining a second space distance of the first position and the third position as a communication distance between the terminal and the computer equipment.
The communication quality of the terminal and the computer device may be affected by the communication distance between the terminal and the computer device, the terminal may select the first connection mode best adapted to the communication distance from the plurality of wireless connection modes, and correspondingly, the step of selecting the first connection mode best adapted to the communication distance from the plurality of wireless connection modes by the terminal may be: the terminal determines a numerical range to which the communication distance with the computer equipment belongs, and determines a wireless connection mode corresponding to the numerical range; selecting a wireless connection mode corresponding to the numerical range from a plurality of wireless connection modes; the wireless connection mode is determined as a first connection mode.
For example, the farthest distance between the terminal and the computer device through the bluetooth connection mode is 10 meters, the wireless connection mode corresponding to the numerical range within 10 meters is the bluetooth connection mode, and the communication distance between the terminal and the computer device is represented by a first spatial distance, if the communication distance between the terminal and the computer device belongs to the numerical range within 10 meters, the terminal may determine the bluetooth connection mode as the first connection mode; the terminal supports a WiFi connection mode, the farthest distance between the terminal and the router can be 50 meters, the communication distance between the terminal and the computer equipment can be represented by a second space distance, and if the first space distance between the terminal and the computer equipment is larger than 10 meters and the second space distance between the terminal and the computer equipment is smaller than 50 meters, the terminal can determine the WiFi connection mode as the first connection mode; the terminal also supports a mobile network connection mode, and if the first spatial distance between the terminal and the computer device is greater than 10 meters and the second spatial distance between the terminal and the computer device is greater than 50 meters, the terminal can determine the mobile network connection mode as the first connection mode.
In the embodiment of the application, the terminal supports a plurality of wireless connection modes, the range of mobile communication between the terminal and the computer equipment can be expanded through the combination of the plurality of wireless connection modes, the terminal can select the wireless connection mode which is best adapted to the current communication distance according to the communication distance between the terminal and the computer equipment, the wireless connection mode can be fully utilized in the coverage range of each wireless connection mode, the cost of mobile communication is reduced on the basis of expanding the range of mobile communication, and the communication quality and stability between the terminal and the computer equipment are improved.
In a third possible implementation manner, the terminal may select the first connection manner best adapted to the current network environment according to the building environment where the terminal is currently located, and correspondingly, the step of selecting the first connection manner best adapted to the current network environment of the terminal from the plurality of wireless connection manners by the terminal may be: the method comprises the steps that a terminal obtains a first position where the terminal is located at present; determining the current building environment of the terminal according to the current first position of the terminal; a first connection mode best adapted to the building environment is selected from a plurality of wireless connection modes.
For example, the mobile network connection method needs to establish communication connection through a base station, the base station signal is poor in a corner of a building or an underground building, the connection rate through the mobile network connection method is slow, and when the current building environment of the terminal is a corner or underground, the terminal can determine the first connection method from other wireless connection methods except the mobile network connection method. The method comprises the steps that a terminal determines a first connection mode from other wireless connection modes except a mobile network connection mode, and the terminal obtains historical connection speed of a wireless connection mode which is historically connected from a plurality of wireless connection modes; determining the priority of each wireless connection mode in a plurality of wireless connection modes according to the historical connection rate; and determining the first connection mode which is best adapted to the current network environment of the terminal according to the priority of each wireless connection mode.
In a fourth possible implementation manner, each wireless connection manner is preset with a priority, and the terminal may determine the first connection manner that best adapts to the current network environment according to the priority preset by each wireless connection manner. Correspondingly, the step of selecting, by the terminal, the first connection mode best adapted to the current network environment of the terminal from the plurality of wireless connection modes may be: the terminal acquires the preset priority of each wireless connection mode in a plurality of wireless connection modes; selecting a preset wireless connection mode with the highest priority from a plurality of wireless connection modes; and determining the preset wireless connection mode with the highest priority as a first connection mode which is best adapted to the current network environment of the terminal.
It should be noted that, after the terminal selects the first connection method best adapted to the current network environment of the terminal from the multiple wireless connection methods, the number of devices that establish wireless network connection based on the first connection method may also be obtained, and when the number of devices that establish wireless network connection based on the first connection method reaches a saturation value of the first connection method, the terminal may reselect the wireless connection method best adapted to the current network environment of the terminal from the multiple wireless connection methods, and determine the reselected wireless connection method as the first connection method. The saturation value of the first connection mode may be the maximum device connection number supported by the first connection mode in the current service scenario; the saturation value of the first connection means may also be a maximum number of device connections on the premise of ensuring a connection rate of each connected device.
For example, the first connection mode selected by the terminal from the multiple wireless connection modes is a WiFi connection mode, the WiFi connection mode in the current service scenario supports at most 100 devices to be connected at the same time, that is, the saturation value of the WiFi connection mode is 100, and if the number of the devices currently establishing wireless network connection based on the WiFi connection mode reaches 100, the terminal reselects the wireless connection mode best adapted to the current network environment of the terminal from the multiple wireless connection modes other than the WiFi connection mode.
In the embodiment of the application, when the number of the devices establishing the wireless network connection based on the first connection mode reaches the saturation value of the first connection mode, the terminal may reselect the wireless connection mode best adapted to the current network environment of the terminal from the plurality of wireless connection modes, so as to reduce the problem of abnormal connection or low connection rate caused by excessive connection of the first connection mode, and improve the stability of the communication connection between the terminal and the computer device.
203. And the terminal establishes communication connection with the computer equipment based on the first connection mode.
In one possible implementation, the computer device includes at least a first computer having an interface interaction function and a data processing function, which may be a desktop computer or a cash register or the like. For example, for a restaurant scene, the first computer has functions of inquiring, ordering, receiving cash and the like of dishes, the first computer can display a dish selling interface, a user of the first computer can perform operations of inquiring, selecting, ordering, receiving cash and the like of the dishes on the basis of the dish selling interface, and the first computer can respond to the operation of the user to perform interface interaction and data acquisition; the first computer also has a data processing function of sales data, and the first computer can process and analyze the sales data, generate sales reports and assist the restaurants in adjusting the operation strategies. The first computer is suitable for small-scale stores, and the computing power of the first computer can meet the data processing function of the small-scale stores. The terminal establishes communication connection with the computer device based on the first connection mode, that is, the terminal establishes communication connection with the first computer based on the first connection mode.
In another possible implementation, the computer device includes a second computer having an interface interaction function and a simple data processing function, and a server, and the second computer may be a desktop computer or a cash register, etc. The second computer is connected with the server through a wired or wireless network, the second computer is in data communication with the server, and the server executes complex data processing functions. The computer device is suitable for large-scale stores, the data volume of the large-scale stores is large, and a server needs to execute a complex data processing function.
The terminal can directly establish communication connection with the server of the computer equipment based on the first connection mode. The terminal can also establish communication connection with a second computer of the computer equipment based on the first connection mode; the terminal performs data communication with the second computer based on the communication connection; and the second computer is in data communication with the server.
204. And the terminal executes target operation through the computer equipment based on the communication connection, wherein the target operation is at least one operation of generating order information, inquiring the order information and transferring resources.
The terminal may perform a target operation through the computer device by transmitting a network request to the computer device, performing data communication with the computer device. Correspondingly, the steps can be as follows: the terminal sends a network request to the computer equipment based on the communication connection; return data of the computer device is received, and the target operation is executed based on the return data.
For example, for a restaurant environment, a user may trigger a confirmation operation of a selected dish through a terminal, in response to which the terminal performs a target operation of generating order information by sending an order generation request to a computer device based on a communication connection with the computer device, the order generation request carrying dish information of the selected dish; the computer equipment receives an order generation request sent by the terminal, generates order information and sends return data to the terminal, wherein the return data comprises the order information; and the terminal receives the return data of the computer equipment and displays the order information according to the return data.
It should be noted that, after establishing the communication connection with the computer device based on the communication connection, the terminal may further adjust the wireless connection mode for establishing the communication connection with the computer device according to the current connection state of the terminal and the computer device. Correspondingly, the step of adjusting the wireless connection mode of the terminal for establishing communication with the computer device may be: the method comprises the steps that a terminal obtains the connection state of the terminal and computer equipment; the terminal responds to the connection state and is used for indicating that the current connection between the terminal and the computer equipment is unstable, and a fourth connection mode which is best adapted to the current network environment of the terminal is reselected from the plurality of wireless connection modes; based on the fourth connection mode, reestablishing communication connection with the computer equipment, and based on the reestablished communication connection, performing data communication with the computer equipment; the terminal responds to the connection state and is used for indicating that the current connection between the terminal and the computer equipment is stable, the terminal is in communication connection with the computer equipment based on the first connection mode, and data communication is carried out with the computer equipment based on the communication connection.
The terminal can determine that the current connection state of the terminal and the computer equipment is connection success or connection failure by sending a heartbeat request to the computer equipment. Correspondingly, the step of the terminal acquiring the connection state of the connection with the computer device may be: the terminal sends a first heartbeat request to the computer equipment; responding to the situation that returned data of the computer equipment are not received within a preset time period, determining that the connection state is connection failure, wherein the connection failure is used for indicating that the current connection between the terminal and the computer equipment is unstable, and the returned data is used for indicating that the current connection is normal; and responding to the received return data of the computer equipment in a preset time period, and determining that the connection state is successful, wherein the successful connection is used for indicating that the current connection between the terminal and the computer equipment is stable.
Continuing to refer to fig. 3, the terminal may detect the connection state of the terminal and the computer device by starting a daemon thread at regular time through the heartbeat request, and when the connection state is a connection failure, that is, when the heartbeat detection connection fails, continuously perform reselection of a fourth connection mode best adapted to the current network environment of the terminal from the plurality of wireless connection modes; and reestablishing the communication connection with the computer device based on the fourth connection mode, and performing data communication with the computer device based on the reestablished communication connection.
The terminal may further send a heartbeat request carrying the detection data packet to the computer device, determine a current connection rate of the terminal and the computer device through the heartbeat request, determine whether the connection between the terminal and the computer device is stable according to the current connection rate, and correspondingly, the step of the terminal acquiring the connection state with the computer device may further be: the terminal sends a first heartbeat request to the computer equipment, wherein the first heartbeat request carries a detection data packet; the terminal acquires a third time for sending the first heartbeat request, a fourth time for receiving the first heartbeat request by the computer equipment and the size of the detection data packet; the terminal determines a second transmission duration corresponding to the detection data packet according to the third time and the fourth time; determining the current connection rate according to the size of the detection data packet and the second transmission time length; in response to the fact that the current connection rate is smaller than a preset threshold value, determining that the current connection state of the terminal and the computer equipment is unstable; and determining that the current connection state of the terminal and the computer equipment is stable in connection in response to the fact that the current connection rate is not less than a preset threshold value.
In the embodiment of the application, after the communication connection between the terminal and the computer device is established, the wireless connection mode of the communication connection with the computer device can be adjusted according to the current connection state of the terminal and the computer device, and when the current connection state is used for indicating that the current connection between the terminal and the computer device is unstable, the terminal can be automatically switched to other wireless connection modes to reestablish the communication connection with the computer device, so that the stability of mobile communication is improved.
In the embodiment of the application, a plurality of wireless connection modes supported by the current terminal are obtained, wherein the plurality of wireless connection modes are connection modes for establishing communication connection with the computer equipment; selecting a first connection mode which is best adapted to the current network environment of the terminal from a plurality of wireless connection modes; establishing communication connection with the computer equipment based on the first connection mode; based on the communication connection established with the computer device, performing, by the computer device, a target operation, the target operation being at least one of generating order information, querying the order information, and transferring resources. The method for establishing communication connection between the terminal and the computer equipment is a first connection mode which is selected from a plurality of wireless connection modes and best adapts to the current network environment, the first connection mode has stronger adaptability to the current network environment and has better communication quality in the current network environment, and therefore the stability of mobile communication can be improved.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
Fig. 4 is a block diagram of a mobile communication device according to an embodiment of the present application. Referring to fig. 4, the apparatus includes:
an obtaining module 401, configured to obtain a plurality of wireless connection modes supported by a current terminal, where the plurality of wireless connection modes are connection modes for establishing communication connection with a computer device;
a selecting module 402 configured to select a first connection mode best adapted to a current network environment of the terminal from a plurality of wireless connection modes;
an establishing module 403 configured to establish a communication connection with the computer device based on the first connection manner;
a communication module 404 configured to perform a target operation by the computer device based on the communication connection, the target operation being at least one of generating order information, querying order information, and resource transfer.
In a possible implementation manner, the selecting module 402 is further configured to obtain a historical connection rate of a historically connected wireless connection manner of the plurality of wireless connection manners; determining the priority of each wireless connection mode in a plurality of wireless connection modes according to the historical connection rate; and determining a first connection mode which is best adapted to the current network environment of the terminal according to the priority of each wireless connection mode.
In another possible implementation manner, the selecting module 402 is further configured to determine, according to the priority of each wireless connection manner, a second connection manner with a highest priority from the multiple wireless connection manners; acquiring the switch state of the second connection mode; responding to the switch state of the second connection mode to indicate that the second connection mode is in an open state, and determining the second connection mode as a first connection mode which is best adapted to the current network environment of the terminal; and in response to the switch state of the second connection mode being used for indicating that the second connection mode is in the closed state, determining a third connection mode with the highest priority except the second connection mode from the plurality of wireless connection modes, and determining the third connection mode as the first connection mode which is best adapted to the current network environment of the terminal.
In another possible implementation manner, the apparatus further includes:
the popup module is configured to respond to the on-off state of the second connection mode for indicating that the second connection mode is in the off state, and popup prompt information for prompting the opening of the second connection mode;
and the determining module is configured to determine the second connection mode as the first connection mode which is best adapted to the current network environment of the terminal in response to the second connection mode being opened.
In another possible implementation manner, the selecting module 402 is further configured to obtain a preset priority of each of the plurality of wireless connection manners; determining the priority of the wireless connection mode of the historical connection according to the historical connection speed of the wireless connection mode of the historical connection and the preset priority of the wireless connection mode of the historical connection; and taking the priority preset by the historical unconnected wireless connection mode as the priority of the historical unconnected wireless connection mode.
In another possible implementation manner, the selecting module 402 is further configured to obtain a first location where the terminal is currently located, and obtain a second location where the computer device is currently located; determining the communication distance between the terminal and the computer equipment according to the first position and the second position; a first connection method that best matches the communication distance is selected from a plurality of wireless connection methods.
In another possible implementation manner, the selecting module 402 is further configured to obtain a first location where the terminal is currently located; determining the current building environment of the terminal according to the current first position of the terminal; a first connection mode best adapted to the building environment is selected from a plurality of wireless connection modes.
In another possible implementation manner, the obtaining module 401 is further configured to obtain a connection state of the terminal and the computer device; a selecting module 402, further configured to reselect a fourth connection mode best adapted to the current network environment of the terminal from the plurality of wireless connection modes in response to the connection status indicating that the current connection between the terminal and the computer device is unstable; an establishing module 403, further configured to reestablish a communication connection with the computer device based on the fourth connection manner; a communication module 404, further configured to communicate data with the computer device based on the re-established communication connection.
It should be noted that: in the mobile communication device provided in the above embodiment, when performing mobile communication, only the division of the above functional modules is illustrated, and in practical applications, the above function allocation may be performed by different functional modules according to needs, that is, the internal structure of the terminal is divided into different functional modules to perform all or part of the above described functions. In addition, the mobile communication device and the mobile communication method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
In the embodiment of the application, a plurality of wireless connection modes supported by the current terminal are obtained, wherein the plurality of wireless connection modes are connection modes for establishing communication connection with the computer equipment; selecting a first connection mode which is best adapted to the current network environment of the terminal from a plurality of wireless connection modes; establishing communication connection with the computer equipment based on the first connection mode; based on the communication connection established with the computer device, performing, by the computer device, a target operation, the target operation being at least one of generating order information, querying the order information, and transferring resources. The method for establishing communication connection between the terminal and the computer equipment is a first connection mode which is selected from a plurality of wireless connection modes and best adapts to the current network environment, the first connection mode has stronger adaptability to the current network environment and has better communication quality in the current network environment, and therefore the stability of mobile communication can be improved.
Fig. 5 is a block diagram of a terminal according to an embodiment of the present disclosure. The terminal 500 may be: a smartphone, a tablet, a wearable device, a laptop, or a desktop. Terminal 500 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like.
In general, the terminal 500 includes: a processor 501 and a memory 502.
The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 501 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 502 is used to store at least one instruction for execution by processor 501 to implement the mobile communication method provided by the method embodiments herein.
In some embodiments, the terminal 500 may further optionally include: a peripheral interface 503 and at least one peripheral. The processor 501, memory 502 and peripheral interface 503 may be connected by a bus or signal lines. Each peripheral may be connected to the peripheral interface 503 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 504, touch screen display 505, camera assembly 506, audio circuitry 507, positioning assembly 508, and power supply 509.
The peripheral interface 503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 501 and the memory 502. In some embodiments, the processor 501, memory 502, and peripheral interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral interface 503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 504 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 504 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 504 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 504 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 504 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to capture touch signals on or over the surface of the display screen 505. The touch signal may be input to the processor 501 as a control signal for processing. At this point, the display screen 505 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 505 may be one, providing the front panel of the terminal 500; in other embodiments, the display screens 505 may be at least two, respectively disposed on different surfaces of the terminal 500 or in a folded design; in still other embodiments, the display 505 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 500. Even more, the display screen 505 can be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 505 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 506 is used to capture images or video. Optionally, camera assembly 506 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 506 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 507 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 501 for processing, or inputting the electric signals to the radio frequency circuit 504 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 500. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 507 may also include a headphone jack.
The positioning component 508 is used for positioning the current geographic Location of the terminal 500 for navigation or LBS (Location Based Service). The Positioning component 508 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union's galileo System.
Power supply 509 is used to power the various components in terminal 500. The power source 509 may be alternating current, direct current, disposable or rechargeable. When power supply 509 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 500 also includes one or more sensors 510. The one or more sensors 510 include, but are not limited to: acceleration sensor 511, gyro sensor 512, pressure sensor 513, fingerprint sensor 514, optical sensor 515, and proximity sensor 516.
The acceleration sensor 511 may detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the terminal 500. For example, the acceleration sensor 511 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 501 may control the touch screen 505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 511. The acceleration sensor 511 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 512 may detect a body direction and a rotation angle of the terminal 500, and the gyro sensor 512 may cooperate with the acceleration sensor 511 to acquire a 3D motion of the user on the terminal 500. The processor 501 may implement the following functions according to the data collected by the gyro sensor 512: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 513 may be disposed on a side bezel of the terminal 500 and/or an underlying layer of the touch display screen 505. When the pressure sensor 513 is disposed on the side frame of the terminal 500, a user's holding signal of the terminal 500 may be detected, and the processor 501 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed at the lower layer of the touch display screen 505, the processor 501 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 505. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 514 is used for collecting a fingerprint of the user, and the processor 501 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 501 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 514 may be provided on the front, back, or side of the terminal 500. When a physical button or a vendor Logo is provided on the terminal 500, the fingerprint sensor 514 may be integrated with the physical button or the vendor Logo.
The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 may control the display brightness of the touch display screen 505 based on the ambient light intensity collected by the optical sensor 515. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 505 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 505 is turned down. In another embodiment, processor 501 may also dynamically adjust the shooting parameters of camera head assembly 506 based on the ambient light intensity collected by optical sensor 515.
A proximity sensor 516, also referred to as a distance sensor, is typically disposed on the front panel of the terminal 500. The proximity sensor 516 is used to collect the distance between the user and the front surface of the terminal 500. In one embodiment, when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal 500 gradually decreases, the processor 501 controls the touch display screen 505 to switch from the bright screen state to the dark screen state; when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal 500 becomes gradually larger, the processor 501 controls the touch display screen 505 to switch from the screen-rest state to the screen-on state.
Those skilled in the art will appreciate that the configuration shown in fig. 5 is not intended to be limiting of terminal 500 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Fig. 6 is a block diagram of a server 600 according to an embodiment of the present application, where the server 600 may generate a relatively large difference due to a difference in configuration or performance, and may include one or more processors (CPUs) 601 and one or more memories 602, where at least one instruction is stored in the memory 602, and the at least one instruction is loaded and executed by the processor 601 to implement the mobile communication method provided by each method embodiment. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, a computer-readable storage medium is also provided, in which at least one instruction is stored, the at least one instruction being executable by a processor in a computer device to perform the mobile communication method in the above-described embodiment. For example, the computer-readable storage medium may be a ROM (Read-Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present application also provides a computer program product comprising one or more computer programs for implementing the mobile communication method provided by the above-mentioned method embodiments when the computer program is executed by a processor.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (11)

1. A method of mobile communication, the method comprising:
acquiring a plurality of wireless connection modes supported by a current terminal, wherein the plurality of wireless connection modes are connection modes for establishing communication connection with computer equipment;
selecting a first connection mode which is best adapted to the current network environment of the terminal from the plurality of wireless connection modes;
acquiring the number of devices establishing wireless network connection based on the first connection mode;
when the number reaches a saturation value of the first connection mode, reselecting a radio connection mode best adapted to the current network environment of the terminal from the plurality of radio connection modes, and determining the reselected radio connection mode as the first connection mode, wherein the saturation value of the first connection mode is the maximum device connection number on the premise of ensuring the connection rate of each connected device;
establishing communication connection with the computer equipment based on the first connection mode;
based on the communication connection, performing, by the computer device, a target operation, the target operation being at least one of generating order information, querying order information, and resource transfer.
2. The method according to claim 1, wherein the selecting the first connection mode best adapted to the current network environment of the terminal from the plurality of wireless connection modes comprises:
acquiring historical connection speed of a historical connected wireless connection mode in the plurality of wireless connection modes;
determining the priority of each wireless connection mode in the plurality of wireless connection modes according to the historical connection rate;
and determining a first connection mode which is best adapted to the current network environment of the terminal according to the priority of each wireless connection mode.
3. The method according to claim 2, wherein the determining the first connection mode best adapted to the current network environment of the terminal according to the priority of each wireless connection mode comprises:
according to the priority of each wireless connection mode, determining a second connection mode with the highest priority from the plurality of wireless connection modes;
acquiring the switch state of the second connection mode;
in response to that the switch state of the second connection mode is used for indicating that the second connection mode is in an open state, determining the second connection mode as a first connection mode which is best adapted to the current network environment of the terminal;
and in response to the switch state of the second connection mode being used for indicating that the second connection mode is in a closed state, determining a third connection mode with the highest priority except the second connection mode from the plurality of wireless connection modes, and determining the third connection mode as a first connection mode best adapted to the current network environment of the terminal.
4. The method of claim 3, further comprising:
responding to the switch state of the second connection mode to indicate that the second connection mode is in a closed state, and popping up prompt information for prompting to open the second connection mode;
and determining the second connection mode as a first connection mode which is best adapted to the current network environment of the terminal in response to the second connection mode being opened.
5. The method of claim 2, wherein determining the priority of each of the plurality of wireless connectivity means based on the historical connection rates comprises:
acquiring the preset priority of each wireless connection mode in the plurality of wireless connection modes;
determining the priority of the wireless connection mode of the historical connection according to the historical connection speed of the wireless connection mode of the historical connection and the preset priority of the wireless connection mode of the historical connection;
and taking the preset priority of the historical unconnected wireless connection modes as the priority of the historical unconnected wireless connection modes.
6. The method according to claim 1, wherein the selecting the first connection mode best adapted to the current network environment of the terminal from the plurality of wireless connection modes comprises:
acquiring a first position where the terminal is located currently, and acquiring a second position where the computer equipment is located currently;
determining the communication distance between the terminal and the computer equipment according to the first position and the second position;
selecting a first connection method which is best adapted to the communication distance from the plurality of wireless connection methods.
7. The method according to claim 1, wherein the selecting the first connection mode best adapted to the current network environment of the terminal from the plurality of wireless connection modes comprises:
acquiring a first position where the terminal is located currently;
determining the current building environment of the terminal according to the current first position of the terminal;
selecting a first connection mode which is best adapted to the building environment from the plurality of wireless connection modes.
8. The method of claim 1, further comprising:
acquiring the connection state of the terminal and the computer equipment;
in response to the connection state indicating that the current connection between the terminal and the computer equipment is unstable, reselecting a fourth connection mode which is best adapted to the current network environment of the terminal from the plurality of wireless connection modes;
and based on the fourth connection mode, reestablishing communication connection with the computer equipment, and based on the reestablished communication connection, performing data communication with the computer equipment.
9. A mobile communications device, the device comprising:
the terminal comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is configured to acquire a plurality of wireless connection modes supported by a current terminal, and the wireless connection modes are connection modes for establishing communication connection with computer equipment;
a selection module configured to select a first connection mode best adapted to a current network environment of the terminal from the plurality of wireless connection modes; acquiring the number of devices establishing wireless network connection based on the first connection mode; when the number reaches a saturation value of the first connection mode, reselecting a radio connection mode best adapted to the current network environment of the terminal from the plurality of radio connection modes, and determining the reselected radio connection mode as the first connection mode, wherein the saturation value of the first connection mode is the maximum device connection number on the premise of ensuring the connection rate of each connected device;
the establishing module is configured to establish communication connection with the computer equipment based on the first connection mode;
a communication module configured to perform a target operation by the computer device based on the communication connection, the target operation being at least one of generating order information, querying order information, and resource transfer.
10. A terminal, characterized in that the terminal comprises a processor and a memory, in which at least one instruction is stored, which is loaded and executed by the processor to implement the mobile communication method according to any of claims 1-8.
11. A computer-readable storage medium having stored therein at least one instruction, which is loaded and executed by a processor, to implement the mobile communication method according to any one of claims 1 to 8.
CN202010391182.5A 2020-05-11 2020-05-11 Mobile communication method, device, terminal and storage medium Active CN111479219B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010391182.5A CN111479219B (en) 2020-05-11 2020-05-11 Mobile communication method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010391182.5A CN111479219B (en) 2020-05-11 2020-05-11 Mobile communication method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111479219A CN111479219A (en) 2020-07-31
CN111479219B true CN111479219B (en) 2022-03-11

Family

ID=71762312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010391182.5A Active CN111479219B (en) 2020-05-11 2020-05-11 Mobile communication method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111479219B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492554A (en) * 2020-11-24 2021-03-12 惠州Tcl移动通信有限公司 Data transmission method, device, storage medium and terminal
CN112566088A (en) * 2020-12-11 2021-03-26 深圳市沃特沃德股份有限公司 Microphone connection method and device of intelligent telephone, computer equipment and storage medium
CN115866803B (en) * 2023-03-03 2023-05-16 深圳市迈斯高科技有限公司 Method and device for transmitting audio information by using wireless earphone

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707880B (en) * 2012-04-24 2015-01-07 华为终端有限公司 File transmission method and terminal
CN104581999A (en) * 2014-12-11 2015-04-29 惠州Tcl移动通信有限公司 Connecting strategy selection method and terminal
CN105392213B (en) * 2015-11-27 2019-07-12 小米科技有限责任公司 Connect the method and device of controlled smart machine
CN107578347A (en) * 2017-08-23 2018-01-12 泊头市乾江软件科技有限公司 A kind of meal ordering system based on internet intelligent interaction
CN108597160B (en) * 2018-04-13 2019-09-06 北京三快在线科技有限公司 A kind of method, apparatus and system managing order information
CN110392414B (en) * 2018-04-17 2021-05-07 Tcl科技集团股份有限公司 Wireless network connection method and device, terminal equipment and readable storage medium

Also Published As

Publication number Publication date
CN111479219A (en) 2020-07-31

Similar Documents

Publication Publication Date Title
CN112162671B (en) Live broadcast data processing method and device, electronic equipment and storage medium
CN112561632B (en) Information display method, device, terminal and storage medium
CN110278464B (en) Method and device for displaying list
CN111479219B (en) Mobile communication method, device, terminal and storage medium
CN111897465B (en) Popup display method, device, equipment and storage medium
CN110569220A (en) Game resource file display method and device, terminal and storage medium
CN111510482B (en) Method and device for determining failed network request and computer storage medium
CN111311155A (en) Method, apparatus, system, device and storage medium for modifying distribution position
CN110827830B (en) Voiceprint recognition method, voiceprint recognition device, terminal and storage medium based on voice data
CN112118353A (en) Information display method, device, terminal and computer readable storage medium
CN111064657B (en) Method, device and system for grouping concerned accounts
CN110971692B (en) Method and device for opening service and computer storage medium
CN110324791B (en) Networking method and device, computer equipment and storage medium
CN110336881B (en) Method and device for executing service processing request
CN112579926A (en) Method and device for acquiring target resource, electronic equipment and storage medium
CN112132472A (en) Resource management method and device, electronic equipment and computer readable storage medium
CN112561107A (en) Resource management method, device, equipment and computer readable storage medium
CN112260845A (en) Method and device for accelerating data transmission
CN111047328A (en) Mobile payment method, device, system and storage medium
CN111953767B (en) Content sharing method, device, equipment and storage medium
CN112153720B (en) Wireless network connection method and device, mobile terminal and storage medium
CN110764808B (en) Client upgrade detection method, device and computer readable storage medium
CN111246147B (en) Video caching method, device, terminal and storage medium
CN113064537B (en) Media resource playing method, device, equipment, medium and product
CN111526221B (en) Domain name quality determining method, device 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
GR01 Patent grant
GR01 Patent grant