WO2021233262A1 - Commande de communication - Google Patents

Commande de communication Download PDF

Info

Publication number
WO2021233262A1
WO2021233262A1 PCT/CN2021/094184 CN2021094184W WO2021233262A1 WO 2021233262 A1 WO2021233262 A1 WO 2021233262A1 CN 2021094184 W CN2021094184 W CN 2021094184W WO 2021233262 A1 WO2021233262 A1 WO 2021233262A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
network
server
channel
short message
Prior art date
Application number
PCT/CN2021/094184
Other languages
English (en)
Chinese (zh)
Inventor
张旺明
徐斌
李冲
林玉山
陈志阁
付雅文
阴永俊
Original Assignee
北京三快在线科技有限公司
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 北京三快在线科技有限公司 filed Critical 北京三快在线科技有限公司
Publication of WO2021233262A1 publication Critical patent/WO2021233262A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/305Handover due to radio link failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure

Definitions

  • the embodiments of the present application relate to the field of computer technology, and in particular to a communication control.
  • the embodiments of the present application provide a communication control method, device, equipment, and computer-readable storage medium, which can be used to solve problems in related technologies.
  • the technical scheme is as follows:
  • an embodiment of the present application provides a communication control method, which is applied to a server, and the server and a client communicate through a network connection, and a plurality of link channels are established between the client and the server, and the method includes :
  • Detect whether the client has a network failure according to the client's network connection in response to the client's network failure, determine the client's network failure type; according to the network failure type, select from the multiple link channels The target link channel matching the network fault type; communicate with the client based on the target link channel.
  • the multiple link channels include HTTP hypertext transfer protocol short link channels, TCP transmission control protocol long link channels, and short message channels; according to the type of network failure, from the multiple Selecting a target link channel matching the network fault type from among the link channels includes: in response to the network fault type being that the network signal does not meet the requirements, using the short message channel as a target matching the network fault type Link channel.
  • the communicating with the client terminal based on the target link channel includes: obtaining a short message message by monitoring the short message channel, and the content of the short message message includes order information; The short message message is parsed to obtain the order information; the order information is transformed into a graphical interface, which includes operation instruction buttons; the graphical interface is sent to the client, and the client displays The graphic interface returns a corresponding operation instruction based on the operation instruction button; sends an updated graphic interface to the client according to the operation instruction, and the updated graphic interface includes order information corresponding to the operation instruction .
  • the communicating with the client based on the target link channel includes: sending a short message message to the client through the short message channel, and the content of the short message message includes an order Information; receiving the interactive instruction code returned by the client based on the order information, the interactive instruction code is used to indicate the corresponding interactive instruction; according to the interactive instruction code through the short message channel to return a new to the client A short message message.
  • the content of the new short message message includes order information corresponding to the interaction instruction code.
  • the method before communicating with the client based on the target link channel, the method further includes: receiving a request for opening a short message channel sent by the client; and according to the opening short message The channel requests to send the SMS verification code to the client; receives the SMS verification code returned by the client; in response to the SMS verification code returned by the client being consistent with the SMS verification code sent by the server, it is the client Open the short message channel.
  • the detecting whether the client has a network failure according to the network connection status of the client includes: determining the operator network used by the client, and according to the network connection status of the client Determine the network connection success rate of the operator network in the target time period; in response to the network connection success rate of the operator network in the target time period being less than the success rate threshold, determine that the client has a network failure.
  • the determining the type of network failure of the client includes: sending a network diagnosis instruction to the client, the network diagnosis instruction being used to instruct the client to feed back network-related information, so
  • the network-related information includes at least one of the basic information of the client, device information, network information, network connection information, and interface check information; the network-related information fed back by the client is received, and the network-related information is determined according to the network-related information. Describe the type of network failure of the client.
  • the selecting a target link channel matching the network failure type from the multiple link channels according to the network failure type further includes: responding to the network failure The type is that the network signal meets the requirements, but hijacking or network link failure occurs, select a target link channel matching the network failure type from the multiple link channels in any of the following ways; obtain the HTTP The connection success rate of the short link channel and the connection success rate of the TCP long link channel, using the channel with the highest connection success rate among the HTTP short link channel and the TCP long link channel as the target link channel; or, The TCP long link channel is used as the target link channel, and in response to the client's failure to communicate with the server through the TCP long link channel, the target link channel is connected to the TCP long link channel. The channel is switched to the HTTP short link channel.
  • an embodiment of the present application provides a communication control method, which is applied to a client, and the client and the server are in communication connection through a network, and multiple link channels are established between the client and the server.
  • the communicating with the server based on the target link channel includes: receiving a graphical interface sent by the server, and displaying the graphical interface, the graphical interface including order information And an operation instruction button; obtain a corresponding operation instruction based on the operation instruction button; send the operation instruction to the server; receive an updated graphical interface sent by the server based on the operation instruction, on the updated graphical interface Including the order information corresponding to the operation instruction; displaying the updated graphical interface.
  • the communicating with the client based on the target link channel includes: receiving a short message message sent by the server, the content of the short message message includes order information; and displaying the Order information, based on the order information to obtain the input interaction instruction code, the interaction instruction code is used to indicate the corresponding interaction instruction; return the interaction instruction code to the server; receive the server returns according to the interaction instruction code
  • the content of the new short message message includes the order information corresponding to the interaction instruction code; the new short message message is displayed.
  • the method before communicating with the client based on the target link channel, the method further includes: sending a request for opening a short message channel to the server, and receiving a short message sent by the server Verification code: Obtain the entered SMS verification code through the verification interface, return the entered SMS verification code to the server, and the server will open the SMS channel based on the entered SMS verification code.
  • an embodiment of the present application provides a communication control device, which is applied to a server, the server and a client communicate through a network, and multiple link channels are established between the client and the server, and the device includes:
  • the detection module is used to detect whether the client has a network failure according to the network connection status of the client;
  • the determining module is used to determine the type of network failure of the client in response to a network failure of the client;
  • the selection module is used to select a target link channel matching the network failure type from the multiple link channels according to the network failure type;
  • the communication module is used to communicate with the client based on the target link channel.
  • the multiple link channels include an HTTP hypertext transfer protocol short link channel, a TCP transmission control protocol long link channel, and a short message channel
  • the selection module is configured to respond to the network failure
  • the type is that the network signal does not meet the requirements, and the short message channel is used as the target link channel that matches the network fault type.
  • the communication module is configured to obtain an SMS message by monitoring the SMS channel, and the content of the SMS message includes order information; parse the SMS message to obtain the order information; Transform the order information into a graphical interface, the graphical interface includes an operation instruction button; send the graphical interface to the client, the client displays the graphical interface, and returns based on the operation instruction button Corresponding operating instructions; sending an updated graphical interface to the client according to the operating instructions, and the updated graphical interface includes order information corresponding to the operating instructions.
  • the communication module is configured to send a short message message to the client through the short message channel, and the content of the short message message includes order information; receiving the client based on the order information
  • the returned interaction instruction code the interaction instruction code is used to indicate the corresponding interaction instruction; according to the interaction instruction code, a new short message message is returned to the client through the short message channel, and the content of the new short message message includes Order information corresponding to the interactive instruction code.
  • the device further includes:
  • the receiving module is used to receive the SMS channel opening request sent by the client;
  • a sending module configured to send an SMS verification code to the client according to the SMS channel opening request
  • the receiving module is also used to receive the SMS verification code returned by the client;
  • the activation module is used for opening the SMS channel for the client in response to that the SMS verification code returned by the client is consistent with the SMS verification code sent by the server.
  • the detection module determines the operator network used by the client, and determines the network connection success rate of the operator's network in the target time period according to the network connection status of the client; In response to the network connection success rate of the operator's network in the target time period being less than the success rate threshold, it is determined that the client has a network failure.
  • the determining module is configured to send a network diagnostic instruction to the client, and the network diagnostic instruction is used to instruct the client to feed back network-related information, and the network-related information includes all At least one of the basic information, device information, network information, network connection information, and interface check information of the client; receiving network-related information fed back by the client, and determining the type of network failure of the client according to the network-related information .
  • the selection module is further configured to respond to the network fault type being that the network signal meets the requirements, but hijacking or network link failure occurs, from the multiple Select the target link channel matching the network fault type among the two link channels; obtain the connection success rate of the HTTP short link channel and the connection success rate of the TCP long link channel, and combine the HTTP short link channel and The channel with a high connection success rate in the TCP long link channel is used as the target link channel; or, the TCP long link channel is used as the target link channel, in response to the client failing to pass the TCP The long link channel communicates with the server, and the target link channel is switched from the TCP long link channel to the HTTP short link channel.
  • an embodiment of the present application provides a communication control device, which is applied to a client, and the client and the server are in communication connection through a network, and multiple link channels are established between the client and the server, and the device includes :
  • the sending module is used to send the network connection status to the server, and the server determines the target link channel based on the network connection status;
  • the communication module is used to communicate with the server based on the target link channel.
  • the communication module is configured to receive a graphical interface sent by the server, and display the graphical interface.
  • the graphical interface includes order information and operation instruction buttons; based on the operation instruction buttons Obtain a corresponding operation instruction; send the operation instruction to the server; receive an updated graphical interface sent by the server based on the operation instruction, the updated graphical interface including order information corresponding to the operation instruction; The updated graphical interface is displayed.
  • the communication module is configured to receive a short message message sent by the server, the content of the short message message includes order information; display the order information, and obtain the input interaction based on the order information Instruction code, the interaction instruction code is used to indicate a corresponding interaction instruction; return the interaction instruction code to the server; receive a new short message message returned by the server according to the interaction instruction code, the new short message message
  • the content includes the order information corresponding to the interactive instruction code; the new short message message is displayed.
  • the device also includes: a receiving module for receiving a short message verification code sent by the server;
  • the sending module is further configured to obtain the entered short message verification code through the verification interface, and return the entered short message verification code to the server, and the server opens a short message channel based on the entered short message verification code.
  • a server in one aspect, includes a processor and a memory, and at least one piece of program code is stored in the memory, and the at least one piece of program code is loaded and executed by the processor, so as to realize any of the above-mentioned possibilities of being applied to the server.
  • the communication control method provided by the implementation mode.
  • a client in one aspect, includes a processor and a memory, and at least one piece of program code is stored in the memory.
  • Communication control method provided by one possible implementation.
  • a computer-readable storage medium stores at least one piece of program code, and the at least one piece of program code is loaded and executed by a processor to implement any one of the above-mentioned communication control methods.
  • the technical solution provided by the embodiments of the present application determines the type of network failure of the client based on the network connection of the client after detecting the network failure of the client, so that the determination of the type of network failure of the client is more accurate.
  • a number of link channels are established between them, and the client communicates with the client based on the target link channel that matches the network fault type, so that the success rate of communication between the client and the server can be improved.
  • FIG. 1 is a schematic diagram of an implementation environment of a communication control method provided by an embodiment of the present application
  • FIG. 2 is a flowchart of a communication control method provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of determining the success rate of a network connection provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a network diagnosis system provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of network-related information of a client provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a process of opening a short message channel provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a client and a server using SMS messages to communicate according to an embodiment of the present application
  • FIG. 8 is a schematic diagram of a graphical interface of a short message channel provided by an embodiment of the present application.
  • FIG. 9 is a flowchart of a communication control method provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a communication control device provided by an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a communication control device provided by an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a server provided by an embodiment of the present application.
  • a client application is installed and running in a computer device, and the client can communicate with the server.
  • the client is a takeaway client.
  • the client can communicate with the server to make the delivery process of the takeaway order transparent, so that the user can view the takeaway order in real time.
  • privacy protection for the key information of the rider and the user, such as the mobile phone number and user name of the rider and the user.
  • FIG. 1 is a schematic diagram of an implementation environment of a communication control method provided by an embodiment of the present application. As shown in FIG. 1, the implementation environment includes a server 101 and a terminal 102.
  • the server 101 may be one server or a server cluster composed of multiple servers.
  • the server 101 may be at least one of a cloud computing platform and a virtualization center, which is not limited in the embodiment of the present application.
  • the server 101 is connected to the terminal 102 through a wired network or a wireless network, and a client is installed and running on the terminal 102.
  • the terminal 102 may be a mobile terminal.
  • the server 101 is configured to detect whether the client has a network failure according to the network connection status of the client, and in response to the network failure of the client, determine the type of the network failure of the client.
  • the server 101 is also configured to select a target link channel matching the network failure type from multiple link channels according to the network failure type of the client.
  • the server 101 may also communicate with the client based on the target link channel.
  • the server 101 may also include other functional servers to provide more comprehensive and diversified services.
  • the terminal 102 can be a smart phone, a game console, a desktop computer, a tablet computer, an MP3 (Moving Picture Experts Group Audio Layer III, a moving picture expert compression standard audio layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, a moving picture Expert compression standard audio level 4) At least one of player and laptop computer.
  • the terminal 102 has a client installed and running.
  • the terminal 102 is configured to receive the network diagnosis instruction sent by the server, and the terminal 102 obtains the network related information of the client according to the network diagnosis instruction.
  • the terminal 102 is also used to feed back the network-related information to the server 101, so that the server 101 can determine the type of network failure of the client according to the network-related information.
  • the terminal 102 may also communicate with the server 101 based on the target link channel determined by the server 101.
  • an embodiment of the application provides a communication control method. Taking the flowchart of the communication control method provided in the embodiment of the application shown in FIG. 2 as an example, the method can be performed with the client in FIG. 1
  • the communication server 101 executes. There are multiple link channels established between the client and the server. As shown in Figure 2, the method includes the following steps:
  • step 201 it is detected whether the client has a network failure according to the network connection status of the client.
  • a client is installed and running in the terminal.
  • the client may be a take-out client or another type of client.
  • the embodiment of the present application does not limit the type of the client.
  • the server can communicate with the client, and the server can detect whether the client has a network failure according to the network connection of the client, including the following steps:
  • Step 2011 Determine the operator network used by the client, and determine the network connection success rate of the operator's network in the target time period according to the network connection status of the client.
  • the server may obtain the operator network used by the client, and based on the operator network, determine the network connection success rate of the operator network in the target time period.
  • the server may determine the network connection success rate of the operator's network in the target time period based on the following method: the server stores a network monitoring system, and the network monitoring system is used to monitor the operation of the client For the network connection status of the business network, enter the target time period in the network monitoring system, so that the network connection success rate of the operator’s network in the target time period can be obtained.
  • the operator network used by the client is the first operator network.
  • the start time is 00:00 on December 20, 2019, and the end time is It is 23:00 on December 20, 2019.
  • the network monitoring system determines the success rate of the client's network connection in the target time period based on the target time period.
  • FIG. 3 is a schematic diagram of determining the success rate of a network connection provided by an embodiment of the application.
  • the network connection success rate of the first operator during the time period from 00:00 on December 20, 2019 to 23:00 on December 20, 2019 is 85%.
  • the network monitoring system counts the network connection success rate of each time unit.
  • the network connection success rate of the time unit is taken as the network connection success rate of the target time period.
  • the network connection success rate of each time unit may be weighted and summed, and the result of the weighted summation may be used as the network connection success rate of the target time period.
  • the weights corresponding to the network connection success rates of different units may be the same or different. This embodiment does not limit the duration of the time unit, and the duration of the time unit is, for example, 5 minutes.
  • the start time of the target time period entered in the network monitoring system is 23:00, December 20, 2019, and the end time of the target time period is 23:10, December 20, 219
  • the network monitoring system determines the first network connection success rate for the time unit from 23:00 on December 20, 2019 to 23:05 on December 20, 2019, and determines the success rate of the first network connection from 23:05 on December 20, 2019 to December 2019
  • the second network connection success rate in the time unit of 23:10 on the 20th and then the weighted sum of the first network connection success rate and the second network connection success rate can get the target time period, which is December 2019
  • the first network connection success rate is 80%
  • the corresponding weight is 0.5
  • the second network connection success rate is 100%
  • the corresponding weight is 0.5
  • the network connection success rate in the target time period is 90%.
  • target time period can be any time period, which is not limited in the embodiment of the present application.
  • Step 2012 Determine whether the client has a network failure based on the network connection success rate of the operator's network in the target time period.
  • Case 1 In response to the network connection success rate of the operator's network in the target time period being less than the success rate threshold, it is determined that the client has a network failure.
  • the network connection success rate of the operator's network within the target time period is 85%, and the success rate threshold is 90%, it is determined that the client has a network failure.
  • Case 2 In response to the network connection success rate of the operator's network within the target time period being not less than the success rate threshold, it is determined that the client has no network failure.
  • the network connection success rate of the operator's network in the target time period is 95%, and the success rate threshold is 90%, it is determined that the client has no network failure.
  • the above-mentioned success rate threshold may be set based on experience, or may be adjusted according to application scenarios, which is not limited in the embodiment of the present application.
  • step 202 in response to a network failure of the client, the type of the network failure of the client is determined.
  • the following steps may be taken to determine the type of the client's network failure.
  • Step 2021 Send a network diagnosis instruction to the client.
  • the network diagnosis instruction is used to instruct the client to feed back network-related information.
  • the network-related information includes basic information, device information, network information, network connection information, and interface check information of the client. At least one.
  • the server in response to a network failure of the client, sends a network diagnosis instruction to the client.
  • the client receives the network diagnosis instruction, obtains network related information of the client based on the network diagnosis instruction, sends the network related information of the client to the server, and the server determines the type of network failure of the client based on the network related information.
  • the client receives the network diagnosis instruction, and based on the network diagnosis instruction, the process of obtaining the client's network-related information may be as follows: a network diagnosis system is stored in the terminal, and the network diagnosis system is used to obtain the The network-related information of the client.
  • the client terminal obtains the network related information of the client terminal based on the network diagnosis system.
  • the structural diagram of the network diagnosis system is shown in Figure 4.
  • the administrator of the server selects a region or client in the background, performs service management based on the client, and generates Push (instruction channel) by controlling the frequency of calling , Send a network diagnosis item to the client, the client diagnoses based on the network diagnosis item, and reports the diagnosis result to the server of the client.
  • the server of the client reports the diagnosis data (that is, network-related information) to the servicing transaction terminal,
  • the diagnostic data is written into the DB (Date Base) database, and the diagnostic data is stored in the service (management end) so that the administrator can view the diagnostic data.
  • Figure 5 shows a schematic diagram of the client's network-related information.
  • Figure 5 includes basic information, device information, network information, network connection information, and interface check information.
  • the basic information includes user ID, user mobile phone number, user city, client type, client version, inspection time and inspection time.
  • Device information includes terminal brand, terminal system model, terminal content capacity, terminal storage capacity, terminal device ID, and terminal device number.
  • Network information includes network type, network operator, network IP (Internet Protocol) address, and network DNS (Domain Name System, domain name server) address.
  • Network connection information includes domain name, domain name IP, number of transmissions, packet loss rate, maximum RIT, minimum RIT, average RIT, and TTL (Time To Live) value.
  • Interface inspection information includes Native (local) interface inspection information, Https (Hyper Text Transfer Protocol over Secure Socket Layer, Hypertext Transfer Protocol on the Secure Socket layer) interface inspection information and Html (Hyper Text Markup Language, Hypertext Markup Language) interface Check the information.
  • Native interface check information includes URL (Uniform Resource Locator) address, status, request speed, request time and content length.
  • URL Uniform Resource Locator
  • the information included in the Https interface check information and the Html interface check information is consistent with the information included in the Native interface check information.
  • the various information involved in the foregoing description are only examples, and the network-related information in the embodiments of the present application includes, but is not limited to, the various information in the foregoing examples.
  • Step 2022 Receive network-related information fed back by the client, and determine the type of network failure of the client according to the network-related information.
  • the server receives network-related information fed back by the client, and determines the type of network failure of the client according to the network-related information.
  • the network fault types include but are not limited to two types, namely the first fault type and the second fault type.
  • the network information of the first failure type meets the requirements, but hijacking or network link failure occurs, and the network signal of the second failure type does not meet the requirements.
  • the first failure type may be that the network information meets the requirements, but domain name hijacking (that is, DNS hijacking), link hijacking, DNS failure, parameter tampering, return value hijacking, long link failure, etc. occur.
  • domain name hijacking is a method of attacking the domain name resolution server or forging the domain name resolution server to resolve the domain name of the target website to the wrong IP address, so that the user cannot access the target website.
  • Link hijacking is to maliciously add devices or control network devices between the server and the client, causing the client's data or the server's data to be maliciously monitored.
  • the network signal of the second fault type does not meet the requirements, including but not limited to the second fault type being that the network signal is weak and there is no network signal.
  • a weak network signal may be a bad 3G or 4G network signal.
  • the network signal strength does not reach the strength threshold, the network signal is considered to be weak.
  • No network signal may mean that the client cannot connect to the network, for example, the client is a 2G network.
  • the first fault type and the second fault type may also include other network faults.
  • the embodiment of the present application only uses the network fault shown above as an example for illustration, and does not describe the network included in the first fault type and the second fault type. The fault is limited.
  • a target link channel matching the type of the network failure is selected from a plurality of link channels.
  • multiple link channels include HTTP (Hyper Text Transfer Protocol) short link channel, TCP (Transmission Control Protocol, transmission control protocol) long link channel and SMS channel.
  • HTTP Hyper Text Transfer Protocol
  • TCP Transmission Control Protocol, transmission control protocol
  • SMS channel SMS channel.
  • communicating with the server through the http protocol is a common communication method for the client. It is accessed through a domain name, and the network link is through a public network. It will happen that users in a certain area cannot access the domain name normally. The cause may be The quality of the Internet network link is poor, or the link is hijacked.
  • the method provided in the embodiments of the present application finds that the domain name cannot be accessed normally, and switches the operator network entry in the region where the domain name is located, that is, the IP address that the domain name resolves to respond to, so as to quickly solve the problem.
  • the httpDNS scheme may not be used in the method.
  • the server may select a target link channel matching the network failure from a plurality of link channels based on the type of the network failure of the client.
  • one of the HTTP short link channel and the TCP long link channel is selected as the target link channel.
  • Implementation method 1 Obtain the connection success rate of the HTTP short link channel and the connection success rate of the TCP long link channel, and use the channel with the highest connection success rate in the HTTP short link channel and the TCP long link channel as the target link channel.
  • the server can collect the connection status of the HTTP short link channel and the TCP long link channel, and obtain the connection success rate of the HTTP short link channel and the connection success rate of the TCP long link channel based on this.
  • the communication success rate between the client and the server can be further guaranteed.
  • Implementation mode 2 First, the TCP long link channel is used as the target link channel, and the client communicates with the server based on the TCP long link channel. If the client cannot communicate with the server through the TCP long link channel, it switches to the HTTP short link channel, and the client communicates with the server based on the HTTP short link channel.
  • the link channel of the HTTP protocol is routed and forwarded multiple times through the public network before reaching the server. Because it is a public network, the stability is not very reliable. Such as DNS hijacking, link failure, link hijacking, data tampering and other issues. For these problems, the client can preferentially select the TCP long link channel as the target link channel. When the client sends an HTTP request, it will be encapsulated into a data packet, and the TCP protocol is used to transmit through a private dedicated network line. The data transmission is faster, more stable, and encrypted, thereby effectively avoiding the data transmission on the public network. Series of questions.
  • the SDK Software Development Kit, software development kit
  • this embodiment transmits data packets through a CIP (Common Industrial Protocol) channel.
  • the CIP channel includes but is not limited to TCP sub-channel, http sub-channel and UDP (User Datagram Protocol, user data packet protocol) Sub-channel.
  • the data packet can be encrypted and can be sent using TCP or UDP protocol.
  • the client prefers to use the TCP long link channel, but the TCP long link channel may fail and become unavailable. Therefore, the client also needs to reserve the HTTP short link channel to communicate with the server.
  • the switch link configuration sent by the sensing server to the client That is to say, the method provided by the embodiment of the present application can switch to the HTTP short link channel in time when the TCP long link channel is unavailable.
  • the short message channel in response to the network failure type being the second failure type, is used as the target link channel matching the network failure type.
  • the short message channel please refer to the description under step 204 below, and I will not repeat it here.
  • step 204 communication with the client is performed based on the target link channel.
  • the server when the target link channel is an HTTP short link channel, the server communicates with the client based on the HTTP short link channel.
  • the target link channel is a TCP long link channel
  • the server communicates with the client based on the TCP long link channel.
  • the target link channel is a short message channel
  • the server communicates with the client based on the short message channel.
  • the server when the server detects that the client's network has a network failure, and determines that the network failure of the client's network is the second failure type, that is, the client's network failure type is network
  • the server uses the short message channel as the target link channel matching the network fault type.
  • the server communicates with the client based on the short message channel, it also needs to determine whether the client has opened the short message channel. If the client has opened the short message channel, it will directly communicate with the client based on the short message channel. If the client does not open the short message channel, Then the server needs to open a short message channel for the client.
  • the process for the server to open the SMS channel for the client can be as follows: the client sends an SMS channel opening request to the server, the server receives the SMS channel opening request sent by the client, and sends the SMS channel to the client according to the SMS channel opening request.
  • the client sends the SMS verification code, and the client receives the SMS verification code sent by the server.
  • the client user enters the SMS verification code on the verification interface.
  • the client responds to the SMS verification code entered by the client user and returns the entered SMS verification code to the server ,
  • the server opens the SMS channel based on the entered SMS verification code.
  • the server receives the SMS verification code returned by the client, verifies the SMS verification code returned by the client, and responds that the SMS verification code returned by the client is consistent with the SMS verification code sent by the server, and opens an SMS channel for the client.
  • the SMS verification code can be a 4-digit SMS verification code or a 6-digit SMS verification code, or the number of digits of the SMS verification code can be longer or shorter. Be qualified.
  • the process of the server opening a short message channel for the client can be as shown in FIG. 6.
  • the server receives the SMS channel opening request sent by the client, and determines whether the client has opened the SMS channel based on the SMS channel opening message. If the client has opened the SMS channel, then the SMS channel is used as the target chain Road channel, based on the short message channel to communicate with the client. If the client terminal has not opened the SMS channel, the server performs verification based on the mobile phone number of the client user. If the verification fails, it means that the client user's mobile phone number is provided incorrectly.
  • the server sends an SMS verification code to the client.
  • the client receives the SMS verification code sent by the server
  • the client user enters the SMS verification code in the verification interface, and the server is based on the SMS entered by the client user
  • the verification code is consistent with the SMS verification code sent by the server
  • the SMS channel is opened for the client.
  • the request for opening a short message channel sent by the client may include a first reference code, such as KQ, and the server executes the steps shown in FIG. 6 according to the first reference code, thereby opening the short message channel for the client.
  • the first reference code is only an example, and this embodiment does not limit the code used to open the short message channel.
  • the server is based on the client’s network fault type as the second fault type, and the client has opened a short message channel, the server can communicate with the client through the short message channel, and the communication method can be from the server to the client.
  • the way to send SMS messages is based on the client’s network fault type as the second fault type, and the client has opened a short message channel, the server can communicate with the client through the short message channel, and the communication method can be from the server to the client. The way to send SMS messages.
  • the server detects that the client has opened an SMS channel based on the network fault type of the client as the second fault type, and the server can use the SMS channel to communicate to the client Send a short message message
  • the content of the short message message includes order information, that is, the method of sending a short message message to the client to notify the client that the user has a new takeaway order assigned.
  • the client user can also use SMS messages to complete the entire process of order receiving, delivery, and delivery.
  • the order information includes but is not limited to the status of the order, the delivery address corresponding to the order, the user information corresponding to the order, etc. The embodiment of the present application does not limit the content of the order information.
  • the client can also send the SMS message to the server in order to obtain the latest status of the order.
  • the SMS message sent by the client to the server may include a second reference code, such as HQ, and the server determines the current status of the order according to the second reference code, and returns the current status of the order to the client as the latest status of the order.
  • HQ a second reference code
  • the server determines the current status of the order according to the second reference code, and returns the current status of the order to the client as the latest status of the order.
  • the second reference code is only an example, and this embodiment does not limit the code used to obtain the latest status of the order.
  • the server may also receive an interaction instruction code returned by the client based on the order message, the interaction instruction code is used to indicate a corresponding interaction instruction, the interaction instruction code may be composed of an order number and an interaction instruction, wherein, the interactive instruction may be the first letter of the interactive instruction, and the order number may be the target number of digits in the order number, for example, it may be the last two digits of the order number.
  • the interactive instructions can include order acceptance, store arrival, meal retrieval, delivery, etc.
  • the order acceptance interaction instruction code is represented by JD
  • the shop interaction instruction code is denoted by DD
  • the meal retrieval interaction instruction code is denoted by QC
  • the delivery interaction instruction code is It is represented by SD.
  • the interactive instruction code can also have other expressions, which is not limited in the embodiment of the present application.
  • the server returns a new short message message to the client through the short message channel according to the interactive instruction code sent by the client, and the content of the new short message message includes order information corresponding to the interactive instruction code.
  • Figure 7 shows a schematic diagram of a client and a server communicating using SMS messages according to an embodiment of the application.
  • the order number is 23, and the client user sends an interactive command code 23QC to the server to query the Whether the order is successfully taken, the server receives the interactive instruction code sent by the client, generates a new short message message, and returns a new short message message to the client through the short message channel.
  • the content of the new short message message includes the order information of the 23rd order.
  • the client user can also send other interactive instruction codes to the server, which is not limited in the embodiment of the present application.
  • the client terminal receives a new short message message returned by the server according to the interactive instruction code, the content of the new short message message includes order information corresponding to the interactive instruction code, and the client terminal may also display the new short message message.
  • the short message channel is used as the target link channel, and based on the target link channel to communicate with the client, there may be the following steps 1 to 10.
  • Step 1 The server obtains an SMS message by monitoring the SMS channel, and the content of the SMS message includes order information.
  • the server monitors the SMS channel of the client, so that the SMS message in the SMS channel can be obtained.
  • Step 2 The server parses the short message to obtain the order information.
  • the server performs analysis based on the obtained short message content, so as to obtain the order information included in the short message message.
  • Step 3 The server converts the order information into a graphical interface, and the graphical interface includes operation instruction buttons.
  • Step 4 The server sends the graphical interface to the client, and the client displays the graphical interface, and returns the corresponding operation instruction based on the operation instruction button.
  • the server may directly send the graphical interface to the client after converting the order information into a graphical interface, and the client may display the graphical interface.
  • the client obtains the operation instruction corresponding to the operation instruction button, and the client sends the operation instruction to the server. That is, the server receives the operation instruction corresponding to the operation instruction button returned by the client.
  • Step 5 The client receives the graphical interface sent by the server, and displays the graphical interface.
  • the graphical interface includes order information and operation instruction buttons.
  • the graphical interface is displayed on the client interface.
  • Step 6 The client obtains the corresponding operation instruction based on the operation instruction button.
  • the client user can click the operation instruction button in the graphical interface, and the client responds to the click operation of the client user to obtain the operation instruction corresponding to the operation instruction button .
  • Step 7. The client sends an operation instruction to the server.
  • the client after the client obtains the operation instruction corresponding to the operation instruction button, it can directly send the operation instruction to the server, and the embodiment of the present application does not limit the sending timing of the operation instruction.
  • Step 8 The server sends an updated graphical interface to the client according to the operating instruction, and the updated graphical interface includes order information corresponding to the operating instruction.
  • the server after receiving the operation instruction returned by the client, the server updates the graphical interface according to the operation instruction to obtain an updated graphical interface.
  • the process of the server updating the graphical interface according to the operation instruction is as follows: the server monitors the short message channel and obtains a new short message message.
  • the new short message message is a short message message corresponding to the operation instruction.
  • the short message message is analyzed to obtain the new order information included in the new short message message, and the new order information is converted into a graphical interface, that is, an updated graphical interface is obtained.
  • the server sends the updated graphical interface to the client, and the client displays the updated graphical interface.
  • the updated graphical interface may or may not include operation instruction buttons. If the updated graphical interface is the last delivery step of the order, the updated graphical interface may not include an operation instruction button. If the updated graphical interface is not the last delivery step of the order, the updated graphical interface may include an operation instruction button, and the client user can track and view the order information according to the operation instruction button.
  • Step 9 The client receives the updated graphic interface sent by the server based on the operation instruction button, and the updated graphic interface includes order information corresponding to the operation instruction.
  • Step 10 The client terminal displays the updated graphical interface.
  • the client terminal displays an updated graphical interface, so that the client user can see the order information more intuitively.
  • FIG. 8 is a schematic diagram of a graphical interface of a short message channel according to an embodiment of the application.
  • the server responds to the client's network failure, and detects that the network failure type of the client is the second failure type, and sends the graphical interface for opening the SMS channel to the client, and the client displays the opening of the SMS channel Graphical interface.
  • the client opens the SMS channel.
  • the server sends the graphical interface of the SMS delivery page to the client, and the client displays the graphical interface.
  • the unfinished order is displayed on the client interface. If there is no unfinished order on the interface, the client user can refresh the unfinished order list to obtain the unfinished order. The client user can perform the delivery operation in the uncompleted order.
  • the server parses the meal instruction , Thereby generating a new graphical interface according to the meal fetching instruction, and sending the new graphical interface to the client for display.
  • the server detects whether the client's network is faulty based on the client's network connection, and in response to the client's network failure, based on the network failure type, selects a target chain matching the network failure type from multiple link channels Channel, based on the target link channel to communicate with the client. Since the foregoing communication control method determines the type of network failure of the client based on the network connection status of the client after detecting the network failure of the client, the determination of the type of network failure of the client is more accurate. And because multiple link channels are established with the client, communication with the client is performed based on the target link channel matching the network fault type, so that the communication success rate between the client and the server can be improved.
  • FIG. 9 shows a flowchart of a communication control method provided by an embodiment of the present application.
  • the method can be implemented by the interaction process between the server 101 and the client installed and running in the terminal 102 in FIG. 1. Among them, the server 101 and the client installed and running in the terminal 102 communicate through a network. As shown in Figure 9, the method includes the following steps:
  • step 901 the client obtains the network connection status.
  • a client is installed and running on the terminal.
  • the client may be a take-out client or another type of client.
  • the type of the client is not limited in the embodiment of the present application.
  • a network monitoring system is stored in the client.
  • the network monitoring system is used to monitor the network connection of the operator’s network of the client.
  • the target time period is output in the network monitoring system, so that the client can be obtained.
  • step 902 the client sends the network connection status to the server, and the server determines the target link channel based on the network connection status.
  • the client after obtaining the network connection status, the client can directly send the network connection status to the server, and the server determines the target link channel based on the network connection status. It is also possible to send the network connection status to the server after receiving the acquisition request sent by the server.
  • the embodiment of the present application does not limit the timing of sending the network connection status.
  • step 903 the server receives the network connection status sent by the client, and detects whether the client has a network failure according to the network connection status.
  • the process for the server to determine whether the client has a network failure is the same as the process in step 201 above, and will not be repeated here.
  • step 904 in response to the client's network failure, the server determines the type of the client's network failure.
  • the server determines the type of the network failure of the client in response to the network failure of the client, and the process is the same as the process in step 202 described above, and will not be repeated here.
  • step 905 the server selects a target link channel matching the network failure type from a plurality of link channels according to the network failure type.
  • the process of the server selecting the target link channel matching the network fault type from the multiple link channels according to the network fault type is the same as the process in step 203 above, and will not be repeated here.
  • step 906 the server communicates with the client based on the target link channel.
  • the process of the server communicating with the client based on the target link channel is consistent with the process in step 204 described above, and will not be repeated here.
  • the server detects whether the client's network is faulty based on the client's network connection, and in response to the client's network failure, based on the network failure type, selects a target chain matching the network failure type from multiple link channels Channel, based on the target link channel to communicate with the client. Since the foregoing communication control method determines the type of network failure of the client based on the network connection status of the client after detecting the network failure of the client, the determination of the type of network failure of the client is more accurate. And because multiple link channels are established with the client, communication with the client is performed based on the target link channel matching the network fault type, so that the communication success rate between the client and the server can be improved.
  • FIG. 10 is a schematic structural diagram of a communication control device provided by an embodiment of the application.
  • the device is applied to a server, and the server and a client communicate through a network, and multiple links are established between the client and the server aisle.
  • the device includes:
  • the detection module 1001 is used to detect whether the client has a network failure according to the network connection status of the client;
  • the determining module 1002 is configured to determine the type of network failure of the client in response to a network failure of the client;
  • the selection module 1003 is configured to select a target link channel matching the network failure type from the multiple link channels according to the network failure type;
  • the communication module 1004 is configured to communicate with the client based on the target link channel.
  • the multiple link channels include an HTTP hypertext transfer protocol short link channel, a TCP transmission control protocol long link channel, and a short message channel;
  • the selection module 1003 is configured to respond to the network failure type being that the network signal does not meet the requirements, and use the short message channel as a target link channel matching the network failure type.
  • the communication module 1004 is configured to obtain an SMS message by monitoring the SMS channel, and the content of the SMS message includes order information; parse the SMS message to obtain the order information; Transform to a graphical interface, the graphical interface includes an operation instruction button; send the graphical interface to the client, the client displays the graphical interface, based on the operation instruction button to return the corresponding operation instruction; according to the operation instruction to the The client sends an updated graphical interface, and the updated graphical interface includes order information corresponding to the operation instruction.
  • the communication module 1004 is configured to send a short message message to the client through the short message channel, and the content of the short message message includes order information; receiving the interactive instruction code returned by the client based on the order information The interaction instruction code is used to indicate the corresponding interaction instruction; according to the interaction instruction code, a new short message message is returned to the client through the short message channel, and the content of the new short message message includes order information corresponding to the interaction instruction code.
  • the device further includes:
  • the receiving module is used to receive the SMS channel opening request sent by the client;
  • the sending module is used to send the SMS verification code to the client according to the SMS channel opening request;
  • the receiving module is also used to receive the SMS verification code returned by the client;
  • the activation module is used for opening the SMS channel for the client in response to the SMS verification code returned by the client being consistent with the SMS verification code sent by the server.
  • the detection module 1001 is configured to determine the operator network used by the client, and determine the network connection success rate of the operator's network in the target time period according to the network connection status of the client; If the network connection success rate of the operator's network in the target time period is less than the success rate threshold, it is determined that the client has a network failure.
  • the determining module 1002 is configured to send a network diagnosis instruction to the client, and the network diagnosis instruction is used to instruct the client to feed back network-related information, and the network-related information includes basic information of the client. , At least one of device information, network information, network connection information, and interface check information; receiving network-related information fed back by the client, and determining the type of network failure of the client according to the network-related information.
  • the selection module 1003 is also used to respond to the network failure type that the network signal meets the requirements, but hijacking or network link failure occurs, from multiple link channels in any of the following ways Select the target link channel that matches the network fault type; obtain the connection success rate of the HTTP short link channel and the connection success rate of the TCP long link channel, and use the channel with the highest connection success rate in the HTTP short link channel and the TCP long link channel as The target link channel; or, the TCP long link channel is used as the target link channel, and in response to the client's failure to communicate with the server through the TCP long link channel, the target link channel is switched from the TCP long link channel to the HTTP short link channel .
  • the above-mentioned device detects whether the client's network fails based on the client's network connection status, and in response to the client's network failure, selects a target link matching the network failure type from multiple link channels based on the network failure type Channel, based on the target link channel to communicate with the client. Since the foregoing communication control method determines the type of network failure of the client based on the network connection status of the client, the determination of the type of network failure of the client is more accurate. And because multiple link channels are established with the client, communication with the client is performed based on the target link channel matching the network fault type, so that the communication success rate between the client and the server can be improved.
  • Figure 11 is a schematic structural diagram of a communication control device provided by an embodiment of the application.
  • the device is applied to a client, and the client and the server are in communication connection through a network, and multiple links are established between the client and the server. Road channel.
  • the device includes:
  • the obtaining module 1101 is used to obtain network connection status
  • the sending module 1102 is configured to send the network connection status to the server, and the server determines the target link channel based on the network connection status;
  • the communication module 1103 is configured to communicate with the server based on the target link channel.
  • the communication module 1103 is configured to receive a graphical interface sent by the server, and display the graphical interface.
  • the graphical interface includes order information and operation instruction buttons; the corresponding operation is obtained based on the operation instruction buttons. Instruction; send the operating instruction to the server; receive an updated graphical interface sent by the server based on the operating instruction, the updated graphical interface including order information corresponding to the operating instruction; display the updated graphical interface.
  • the communication module 1103 is configured to receive a short message message sent by the server, the content of the short message message includes order information; display the order information, and obtain the input interaction instruction code based on the order information.
  • the interactive instruction code is used to indicate the corresponding interactive instruction;
  • the sending module 1102 is also used to send a request for opening a short message channel to the server;
  • the device also includes:
  • the receiving module is used to receive the SMS verification code sent by the server
  • the sending module 1102 is also used to obtain the entered short message verification code through the verification interface, and return the entered short message verification code to the server, and the server opens a short message channel based on the entered short message verification code.
  • the above device client sends its network connection status to the server, and the server determines the target link channel based on the client's network connection status, and communicates with the server based on the target link channel. Since there are multiple link channels established between the client and the server, communication with the client is performed based on the target link channel that matches the client, so that the success rate of communication between the client and the server can be improved.
  • the communication control device provided in the above embodiment performs communication control
  • only the division of the above-mentioned functional modules is used as an example.
  • the above-mentioned functions can be allocated by different functional modules as needed. That is, the internal structure of the communication device is divided into different functional modules to complete all or part of the functions described above.
  • the communication control device and the communication control method embodiments provided in the above embodiments belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be repeated here.
  • FIG. 12 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • the terminal 1200 can be: a smartphone, a tablet computer, an MP3 (Moving Picture Experts Group Audio Layer III, moving picture expert compression standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, a moving picture expert compressing standard audio Level 4) Player, laptop or desktop computer.
  • the terminal 1200 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
  • the terminal 1200 includes: one or more processors 1201 and one or more memories 1202.
  • the processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on.
  • the processor 1201 may adopt at least one hardware form among DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array, Programmable Logic Array). accomplish.
  • the processor 1201 may also include a main processor and a coprocessor.
  • the main processor is a processor used to process data in the awake state, also called a CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor used to process data in the standby state.
  • the processor 1201 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used to render and draw content that needs to be displayed on the display screen.
  • the processor 1201 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence
  • the memory 1202 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 1202 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • the non-transitory computer-readable storage medium in the memory 1202 is used to store at least one program code, and the at least one program code is used to be executed by the processor 1201 to implement the method embodiments in the embodiments of the present application.
  • the provided communication control method is used to store at least one program code, and the at least one program code is used to be executed by the processor 1201 to implement the method embodiments in the embodiments of the present application.
  • the terminal 1200 may optionally further include: a peripheral device interface 1203 and at least one peripheral device.
  • the processor 1201, the memory 1202, and the peripheral device interface 1203 may be connected by a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 1203 through a bus, a signal line, or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 1204, a display screen 1205, a camera 1206, an audio circuit 1207, a positioning component 1208, and a power supply 1209.
  • the peripheral device interface 1203 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1201 and the memory 1202.
  • the processor 1201, the memory 1202, and the peripheral device interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1201, the memory 1202, and the peripheral device interface 1203 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 1204 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 1204 communicates with a communication network and other communication devices through electromagnetic signals.
  • the radio frequency circuit 1204 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 1204 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and so on.
  • the radio frequency circuit 1204 can communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity, wireless fidelity) networks.
  • the radio frequency circuit 1204 may also include a circuit related to NFC (Near Field Communication), which is not limited in the embodiment of the present application.
  • the display screen 1205 is used to display a UI (User Interface, user interface).
  • the UI can include graphics, text, icons, videos, and any combination thereof.
  • the display screen 1205 also has the ability to collect touch signals on or above the surface of the display screen 1205.
  • the touch signal may be input to the processor 1201 as a control signal for processing.
  • the display screen 1205 may also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
  • the display screen 1205 may be one display screen 1205, which is provided with the front panel of the terminal 1200; in other embodiments, there may be at least two display screens 1205, which are respectively arranged on different surfaces of the terminal 1200 or in a folded design; In still other embodiments, the display screen 1205 may be a flexible display screen, which is arranged on the curved surface or the folding surface of the terminal 1200. Furthermore, the display screen 1205 can also be set as a non-rectangular irregular pattern, that is, a special-shaped screen.
  • the display screen 1205 may be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
  • the camera assembly 1206 is used to capture images or videos.
  • the camera assembly 1206 includes a front camera and a rear camera.
  • the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
  • the camera assembly 1206 may also include a flash.
  • the flash can be a single-color flash or a dual-color flash. Dual color temperature flash refers to a combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
  • the audio circuit 1207 may include a microphone and a speaker.
  • the microphone is used to collect sound waves of the user and the environment, convert the sound waves into electrical signals and input them to the processor 1201 for processing, or input to the radio frequency circuit 1204 to implement voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively set in different parts of the terminal 1200.
  • the microphone can also be an array microphone or an omnidirectional collection microphone.
  • the speaker is used to convert the electrical signal from the processor 1201 or the radio frequency circuit 1204 into sound waves.
  • the speaker can be a traditional thin-film speaker or a piezoelectric ceramic speaker.
  • the speaker When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into human audible sound waves, but also convert the electrical signal into human inaudible sound waves for distance measurement and other purposes.
  • the audio circuit 1207 may also include a headphone jack.
  • the positioning component 1208 is used to locate the current geographic location of the terminal 1200 to implement navigation or LBS (Location Based Service, location-based service).
  • the positioning component 1208 may be a positioning component based on the GPS (Global Positioning System, Global Positioning System) of the United States, the Beidou system of China, the Granus system of Russia, or the Galileo system of the European Union.
  • the power supply 1209 is used to supply power to various components in the terminal 1200.
  • the power source 1209 may be alternating current, direct current, disposable batteries, or rechargeable batteries.
  • the rechargeable battery may support wired charging or wireless charging.
  • the rechargeable battery can also be used to support fast charging technology.
  • the terminal 1200 further includes one or more sensors 1210.
  • the one or more sensors 1210 include, but are not limited to: an acceleration sensor 1211, a gyroscope sensor 1212, a pressure sensor 1213, a fingerprint sensor 1214, an optical sensor 1215, and a proximity sensor 1216.
  • FIG. 12 does not constitute a limitation on the terminal 1200, and may include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements.
  • FIG. 13 is a schematic structural diagram of a server provided by an embodiment of the present application.
  • the server 1300 may have relatively large differences due to different configurations or performance, and may include one or more processors (Central Processing Units, CPU) 1301 and one Or multiple memories 1302, wherein at least one program instruction is stored in the one or more memories 1302, and the at least one program instruction is loaded and executed by the one or more processors 1301 to implement the methods provided in the foregoing various method embodiments Communication control method.
  • the server 1300 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface for input and output.
  • the server 1300 may also include other components for implementing device functions, which will not be repeated here.
  • a computer-readable storage medium stores at least one piece of program code, and the at least one piece of program code is loaded and executed by a processor of a server, so as to implement any of the foregoing communications. Control Method.
  • the foregoing computer-readable storage medium may be Read-Only Memory (ROM), Random Access Memory (RAM), Compact Disc Read-Only Memory, CD-ROM ), magnetic tapes, floppy disks and optical data storage devices.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • CD-ROM Compact Disc Read-Only Memory
  • magnetic tapes magnetic tapes
  • floppy disks optical data storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Est divulguée, une commande de communication, appliquée à un serveur en communication avec un client. Une pluralité de canaux de liaison sont établis entre le client et le serveur. La commande de communication consiste : à détecter si un incident réseau se produit dans un client en fonction de situations de connexion de réseau d'un client ; en réponse à l'incident réseau dans le client, à déterminer le type d'incident réseau dans le client ; à sélectionner, en fonction du type d'incident réseau, un canal de liaison cible correspondant au type d'incident réseau à partir d'une pluralité de canaux de liaison ; et à communiquer avec le client sur la base du canal de liaison cible.
PCT/CN2021/094184 2020-05-21 2021-05-17 Commande de communication WO2021233262A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010438213.8 2020-05-21
CN202010438213.8A CN113727406B (zh) 2020-05-21 2020-05-21 通信控制方法、装置、设备及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2021233262A1 true WO2021233262A1 (fr) 2021-11-25

Family

ID=78671419

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/094184 WO2021233262A1 (fr) 2020-05-21 2021-05-17 Commande de communication

Country Status (2)

Country Link
CN (1) CN113727406B (fr)
WO (1) WO2021233262A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114039884A (zh) * 2021-12-15 2022-02-11 中国建设银行股份有限公司 一种网络链路异常处理方法及装置
CN114302349A (zh) * 2021-12-07 2022-04-08 北京羽乐创新科技有限公司 一种客户端提取号码的方法与系统
CN114979313A (zh) * 2022-06-13 2022-08-30 深圳市宏电技术股份有限公司 一种通信设备数据补报方法、装置、通信设备及存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679443A (zh) * 2022-03-03 2022-06-28 北京百度网讯科技有限公司 一种下载视频数据的方法、装置、电子设备及存储介质
CN115361388B (zh) * 2022-10-20 2023-04-11 阿里巴巴(中国)有限公司 一种边缘云计算系统中的资源调度方法及装置
CN115914065B (zh) * 2022-12-06 2024-05-14 中国联合网络通信集团有限公司 终端自助诊断方法、装置、设备和介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130295854A1 (en) * 2006-02-17 2013-11-07 Timothy S. Olson Troubleshooting Link and Protocol in a Wireless Network
CN104065508A (zh) * 2014-06-23 2014-09-24 浪潮(北京)电子信息产业有限公司 应用服务健康检查方法、装置和系统
CN105451197A (zh) * 2014-09-29 2016-03-30 阿里巴巴集团控股有限公司 一种通讯信息的发送方法和装置
CN107196854A (zh) * 2017-06-20 2017-09-22 西安交通大学 一种软件定义网络中数据平面异常处理方法

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103874035B (zh) * 2012-12-13 2018-10-02 中国移动通信集团公司 一种移动终端消息推送方法及设备
CN107846330A (zh) * 2017-12-18 2018-03-27 深圳创维数字技术有限公司 一种网络故障检测方法、终端及计算机可读介质
CN110417915B (zh) * 2019-08-22 2021-12-31 北京大米科技有限公司 一种推送消息传输方法、装置、存储介质及电子设备
CN110795336A (zh) * 2019-09-25 2020-02-14 腾讯科技(深圳)有限公司 应用程序的控制方法、装置、设备及可读存储介质
CN110855792B (zh) * 2019-11-19 2023-04-18 南京领行科技股份有限公司 一种消息推送方法、装置、设备及介质
CN111064795B (zh) * 2019-12-20 2021-05-14 腾讯科技(深圳)有限公司 网页访问加速方法、系统、计算机设备、服务器及介质
CN111030873A (zh) * 2019-12-24 2020-04-17 迈普通信技术股份有限公司 一种故障诊断方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130295854A1 (en) * 2006-02-17 2013-11-07 Timothy S. Olson Troubleshooting Link and Protocol in a Wireless Network
CN104065508A (zh) * 2014-06-23 2014-09-24 浪潮(北京)电子信息产业有限公司 应用服务健康检查方法、装置和系统
CN105451197A (zh) * 2014-09-29 2016-03-30 阿里巴巴集团控股有限公司 一种通讯信息的发送方法和装置
CN107196854A (zh) * 2017-06-20 2017-09-22 西安交通大学 一种软件定义网络中数据平面异常处理方法

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302349A (zh) * 2021-12-07 2022-04-08 北京羽乐创新科技有限公司 一种客户端提取号码的方法与系统
CN114039884A (zh) * 2021-12-15 2022-02-11 中国建设银行股份有限公司 一种网络链路异常处理方法及装置
CN114039884B (zh) * 2021-12-15 2023-08-08 中国建设银行股份有限公司 一种网络链路异常处理方法及装置
CN114979313A (zh) * 2022-06-13 2022-08-30 深圳市宏电技术股份有限公司 一种通信设备数据补报方法、装置、通信设备及存储介质
CN114979313B (zh) * 2022-06-13 2024-05-17 深圳市宏电技术股份有限公司 一种通信设备数据补报方法、装置、通信设备及存储介质

Also Published As

Publication number Publication date
CN113727406B (zh) 2022-11-29
CN113727406A (zh) 2021-11-30

Similar Documents

Publication Publication Date Title
WO2021233262A1 (fr) Commande de communication
EP3389230B1 (fr) Système de fourniture de contenu de dialogue
US10182101B2 (en) Method, apparatus and system for sharing webpage
US11711670B2 (en) Method for activating service based on user scenario perception, terminal device, and system
US11798107B2 (en) Scenario-based application recommendation method and apparatus
CN108471376B (zh) 数据处理方法、装置及系统
CN107204989B (zh) 广告拦截方法、终端、服务器和存储介质
CN110020293B (zh) 多媒体数据展示方法、装置及存储介质
CN112420217B (zh) 消息推送方法、装置、设备及存储介质
JP2018506793A (ja) インスタントメッセージングサービスで公式アカウントのリッチメニューを提供する方法、装置、システム、およびコンピュータプログラム
CN111597455A (zh) 社交关系的建立方法、装置、电子设备及存储介质
WO2015003636A1 (fr) Procédé et dispositif d'interception d'éléments de page
CN108429668B (zh) 一种消息处理方法、装置、终端及系统
US10757060B2 (en) Message notification method and terminal
CN111682983B (zh) 界面显示方法、装置、终端及服务器
WO2022127200A1 (fr) Procédé et appareil d'affichage de contenu
CN109145182B (zh) 数据采集方法、装置、计算机设备及系统
CN113468260B (zh) 一种数据分析方法、装置、电子设备及存储介质
CN107798008B (zh) 内容推送系统、方法及装置
CN112667868B (zh) 一种数据检测方法以及装置
JP2019511142A (ja) 情報表示方法、装置及びシステム
CN112748835A (zh) 终端、服务器、最近任务列表显示方法和应用推荐方法
CN115134327B (zh) 一种消息处理方法、装置、电子设备及存储介质
CN113094577B (zh) 信息展示方法、相关设备及存储介质
CN116980851A (zh) 车机间子程序分享方法、装置、电子设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21809808

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21809808

Country of ref document: EP

Kind code of ref document: A1