CN111211964B - Instruction transmission method, device, storage medium and server - Google Patents

Instruction transmission method, device, storage medium and server Download PDF

Info

Publication number
CN111211964B
CN111211964B CN201911362398.2A CN201911362398A CN111211964B CN 111211964 B CN111211964 B CN 111211964B CN 201911362398 A CN201911362398 A CN 201911362398A CN 111211964 B CN111211964 B CN 111211964B
Authority
CN
China
Prior art keywords
terminal
control instruction
service server
instruction
stored
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.)
Expired - Fee Related
Application number
CN201911362398.2A
Other languages
Chinese (zh)
Other versions
CN111211964A (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.)
Future Vipkid Ltd
Original Assignee
Future Vipkid 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 Future Vipkid Ltd filed Critical Future Vipkid Ltd
Priority to CN201911362398.2A priority Critical patent/CN111211964B/en
Publication of CN111211964A publication Critical patent/CN111211964A/en
Application granted granted Critical
Publication of CN111211964B publication Critical patent/CN111211964B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the application discloses an instruction transmission method, an instruction transmission device, a storage medium and a server, wherein the method comprises the following steps: receiving a control instruction sent by a first terminal, and sending the control instruction to a second terminal; and when the second terminal is determined not to receive the control instruction, notifying a service server to enable the service server to send the stored control instruction to the second terminal, wherein the control instruction stored in the service server is sent by the first terminal. According to the embodiment of the application, the control instruction is stored on the service server, so that the control instruction stored by the service server can be sent to the second terminal under the condition that the second terminal does not receive the control instruction, and the instruction sending success rate and the communication success rate between the first terminal and the second terminal are improved.

Description

Instruction transmission method, device, storage medium and server
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for transmitting an instruction, a storage medium, and a server.
Background
The internet is an interactive platform capable of communicating with each other, communicating with each other and participating in each other. Through the Internet, people can shop, look up data, communicate instantly, learn online and the like. The internet changes the thinking mode of people and simultaneously makes people smart.
Network communication is not limited by factors such as time, regions, distance and the like, and terminal users can send information to each other at any time and any place.
At present, the communication between terminals is to transmit the information transmitted by the first terminal to the second terminal through a signaling server, and the process is prone to have a condition of information transmission failure, which results in communication failure between terminals and a low success rate of communication.
Disclosure of Invention
The embodiment of the application provides an instruction transmission method, an instruction transmission device, a storage medium and a server, and can solve the problem of low communication success rate between terminals. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides an instruction transmission method, where the method includes:
receiving a control instruction sent by a first terminal, and sending the control instruction to a second terminal;
and when the second terminal is determined not to receive the control instruction, notifying a service server to enable the service server to send the stored control instruction to the second terminal, wherein the control instruction stored in the service server is sent by the first terminal.
In a second aspect, an embodiment of the present application provides an instruction transmission apparatus, where the apparatus includes:
the first control instruction sending module is used for receiving a control instruction sent by a first terminal and sending the control instruction to a second terminal;
and the second control instruction sending module is used for notifying a service server when the second terminal is determined not to receive the control instruction, so that the service server sends the stored control instruction to the second terminal, and the control instruction stored in the service server is sent by the first terminal.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of any one of the above methods.
In a fourth aspect, an embodiment of the present application provides a server, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of any one of the above methods when executing the program.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, a control instruction sent by a first terminal is received first, and then the received control instruction is sent to a second terminal; and when the second terminal is determined not to receive the control instruction, notifying a service server to enable the service server to send the stored control instruction to the second terminal, wherein the control instruction stored in the service server is sent by the first terminal. According to the embodiment of the application, the control instruction is stored on the service server, so that the control instruction stored by the service server can be sent to the second terminal under the condition that the second terminal does not receive the control instruction, and the instruction sending success rate and the communication success rate between the first terminal and the second terminal are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for transmitting an instruction according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a method for transmitting an instruction according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a method for transmitting an instruction according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a command transmitting apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a command transmitting apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a command transmitting apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of a terminal structure according to an embodiment of the present application.
Detailed Description
In order 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.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The instruction transmission method provided by the embodiment of the present application will be described in detail below with reference to fig. 1 to 3.
Please refer to fig. 1, which is a flowchart illustrating a method for transmitting an instruction according to an embodiment of the present disclosure.
As shown in fig. 1, the method of the embodiment of the present application may include the steps of:
s101, receiving a control instruction sent by a first terminal, and sending the control instruction to a second terminal;
the mutual communication between terminals depends on the signaling server, and the information transmission must be transferred and exchanged by the signaling server, that is, the signaling server is a server that can exchange information between terminals. The instruction transmission method provided by the embodiment of the application is executed by the signaling server.
In the implementation mode, a signaling server receives a control instruction sent by a first terminal and sends the received control instruction to a second terminal; the control instruction sent by the first terminal includes a content to be sent and a second terminal identifier, the content to be sent by the first terminal may be, for example, text, voice, picture, video, and the like, and the generation of the content may be, for example: the method comprises the steps that a user manually inputs characters on an instant messaging interface of a first terminal to generate sending content, or clicks a video sharing button on a video playing interface to generate sharing content and the like; after the content is generated, the first terminal acquires a second terminal identifier and generates a control instruction based on the sending content and the second terminal identifier; in the embodiment provided by the application, the first terminal is different from the second terminal, and the obtained second terminal identifier may be, for example, a terminal serial number, a UUID, a MAC address, and the like, and all identifiers capable of distinguishing the user terminal may be used.
S102, when the second terminal is determined not to receive the control instruction, a service server is informed so that the service server sends the stored control instruction to the second terminal, and the control instruction stored in the service server is sent by the first terminal.
In this embodiment, the first terminal sends the generated control instruction to the signaling server, and at the same time, sends the control instruction to the service server for storage (as a backup); after the signaling server sends the received control instruction to the second terminal, it may be determined whether the second terminal receives the control instruction according to a response instruction returned by the second terminal.
Specifically, if the signaling server receives the response instruction, the signaling server indicates that the control instruction is successfully sent, and the second terminal receives the control instruction and ends the instruction sending task; if the signaling server fails to receive the response instruction all the time, the signaling server indicates that the sending of the control instruction fails, and the second terminal does not receive the control instruction, and at the moment, the signaling server is informed to send a standby control instruction (namely, the stored control instruction) to the second terminal; and after the second terminal successfully receives the control instruction sent by the signaling/service server, the second terminal analyzes the instruction to obtain information and displays the information to a second terminal user through a display screen.
Different from a signaling server for transferring and exchanging information, the service server is mainly used for processing services. According to the embodiment of the application, the standby instruction/information stored in the service server can be sent to the second terminal when the second terminal does not successfully receive the sent instruction/information, and the problem of information loss in the terminal communication process is effectively avoided.
In the embodiment of the application, a control instruction sent by a first terminal is received first, and then the received control instruction is sent to a second terminal; and when the second terminal is determined not to receive the control instruction, notifying a service server to enable the service server to send the stored control instruction to the second terminal, wherein the control instruction stored in the service server is sent by the first terminal. According to the embodiment of the application, the control instruction is stored on the service server, so that the control instruction stored by the service server can be sent to the second terminal under the condition that the second terminal does not receive the control instruction, and the instruction sending success rate and the communication success rate between the first terminal and the second terminal are improved.
Please refer to fig. 2, which is a flowchart illustrating a method for transmitting an instruction according to an embodiment of the present disclosure.
As shown in fig. 2, the method of the embodiment of the present application may include the steps of:
s201, receiving a control instruction sent by a first terminal, and sending the control instruction to a second terminal;
after the signaling server sends the received control instruction to the second terminal, step S202 or S204 is executed.
For details, reference may be made to S101 where this step is not described in detail, and details are not described here.
S202, sending a query instruction to the second terminal to determine whether the second terminal successfully receives the control instruction;
the query instruction sent by the signaling server to the second terminal may be sent synchronously with the control instruction, or sent at a certain time after the control instruction is sent (for example, 5s after the control instruction is sent, the query instruction is sent to the second terminal); the query instruction is used for querying whether the second terminal successfully receives the control instruction; after the query instruction is sent to the second terminal, the second terminal executes query operation and feeds back a query result to the signaling server; based on the fed-back query result, the signaling server executes corresponding operation, and specifically, when the query result shows that the second terminal has successfully received the control instruction, the instruction sending task of the signaling server is ended; and when the query result shows that the second terminal does not successfully receive the control command, executing the next step. It should be noted that, in order to ensure the accuracy of the query result, the signaling server may further send the query instruction to the second terminal multiple times, and when sending the query instruction multiple times, the query instruction may be sent in real time or periodically.
S203, when the control instruction is received unsuccessfully and fed back by the second terminal, sending a notification to the service server to notify the service server to send the stored control instruction to the second terminal, wherein the control instruction stored in the service server is sent by the first terminal;
in the embodiment provided by the application, the first terminal sends the control instruction to the signaling server and also sends the control instruction to the service server for storage (as a standby); after the signaling server sends the received control instruction and the query instruction to the second terminal, whether the second terminal successfully receives the control instruction can be determined based on a query result fed back by the second terminal.
When the fed-back query instruction shows that the second terminal cannot successfully receive the control instruction, the signaling server sends a notification to the service server to inform the service server to send the stored control instruction to the second terminal; and after the second terminal successfully receives the control instruction sent by the server, analyzing the instruction, acquiring information and displaying the information to a second terminal user through a display screen.
Of course, the signaling server may also finally determine whether the second terminal receives the control instruction based on the query result fed back multiple times. According to the embodiment, whether the second terminal receives the control instruction can be timely known by sending the query instruction, and the standby control instruction is timely sent to the second terminal when the control instruction is determined to be failed to be sent, so that the user experience is guaranteed.
S204, acquiring a timestamp for sending the control command;
the time stamp is a set of random numbers generated from the system time, which may also be converted to time in embodiments. The time stamp is obtained in the embodiment of the application to determine the time when the signaling server sends the control instruction.
S205, when the response instruction of the second terminal is not received within the preset time from the timestamp, determining that the second terminal does not receive the control instruction, and notifying a service server, so that the service server sends the stored control instruction to the second terminal, wherein the control instruction stored in the service server is sent by the first terminal.
When the signaling server forwards and sends the information, the second terminal can send a response instruction to the signaling server after receiving the sent control instruction, so as to inform that the control instruction is sent successfully.
And determining a target timestamp based on the timestamp acquired in step S204 and the preset time length, if the signaling server does not receive the response instruction sent by the second terminal in the target timestamp, it indicates that the sending of the control instruction fails, the second terminal does not receive the control instruction, at this time, the signaling server notifies the service server to send the stored control instruction to the second terminal, and after the second terminal successfully receives the control instruction sent by the server, the second terminal parses the instruction, acquires information, and displays the information to the second terminal user through a display screen. In specific implementation, the timestamp is converted into time, the preset time duration may be set to 3s, for example, when the time for the signaling server to send the control instruction is 00:10, if a response instruction sent by the second terminal is not received at 00:13, the signaling server sends a notification to the service server.
In the embodiment of the application, a control instruction sent by a first terminal is received first, and then the received control instruction is sent to a second terminal; and when the second terminal is determined not to receive the control instruction, notifying a service server to enable the service server to send the stored control instruction to the second terminal, wherein the control instruction stored in the service server is sent by the first terminal. According to the embodiment of the application, the control instruction is stored on the service server, so that the control instruction stored by the service server can be sent to the second terminal under the condition that the second terminal does not receive the control instruction, and the instruction sending success rate and the communication success rate between the first terminal and the second terminal are improved.
Please refer to fig. 3, which is a flowchart illustrating a method for transmitting an instruction according to an embodiment of the present disclosure.
As shown in fig. 3, the method of the embodiment of the present application may include the steps of:
s301, receiving a control instruction sent by a first terminal, and sending the control instruction to a second terminal;
this step can be referred to as S101, and is not described herein.
S302, when the second terminal is determined to receive the control instruction, notifying a service server to enable the service server to clear the stored control instruction;
after the signaling server sends the received control instruction to the second terminal, determining whether the second terminal receives the control instruction based on a response instruction returned by the second terminal: if the signaling server receives the response instruction, the signaling server indicates that the control instruction is successfully sent, and the second terminal receives the control instruction and ends the instruction sending task; the signaling server sends a notification to the traffic server informing the traffic server to clear the stored control instructions (clear standby control instructions). In this embodiment, after determining that the second terminal successfully receives the control instruction, the service server is notified to clear the stored control instruction, so that the storage space of the service server can be expanded.
S303, when it is determined that the second terminal does not receive the control instruction, obtaining the stored control instruction from the service server, and sending the obtained control instruction to the second terminal, where the control instruction stored in the service server is sent by the first terminal.
In the embodiment of the application, when the signaling server fails to receive the response instruction sent by the second terminal all the time, the signaling server may further obtain a standby control instruction (that is, a control instruction stored by the service server) from the service server, and send the standby control instruction to the second terminal. The signaling server sends the standby control instruction to the second terminal, so that the sending result can be continuously monitored (namely, the query instruction is sent or the response instruction sent by the second terminal is received). The embodiment of the application ensures information transmission between the terminals.
It should be noted that, in the embodiment provided in the present application, at least one of the first terminal and the second terminal is a teaching terminal, and the control instruction may be a teaching interactive control instruction.
In the embodiment of the application, a control instruction sent by a first terminal is received first, and then the received control instruction is sent to a second terminal; and when the second terminal is determined not to receive the control instruction, notifying a service server to enable the service server to send the stored control instruction to the second terminal, wherein the control instruction stored in the service server is sent by the first terminal. According to the embodiment of the application, the control instruction is stored on the service server, so that the control instruction stored by the service server can be sent to the second terminal under the condition that the second terminal does not receive the control instruction, and the instruction sending success rate and the communication success rate between the first terminal and the second terminal are improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 4 is a schematic structural diagram of a command transmitting apparatus according to an exemplary embodiment of the present application. The instruction transmission device can be realized by software, hardware or a combination of the two to form all or part of the terminal, and can also be integrated on the server as a separate module. The instruction transmission device in the embodiment of the present application is applied to a terminal, and the device 1 includes a first control instruction sending module 11 and a second control instruction sending module 12, where:
the first control instruction sending module 11 is configured to receive a control instruction sent by a first terminal, and send the control instruction to a second terminal;
a second control instruction sending module 12, configured to notify a service server when it is determined that the second terminal does not receive the control instruction, so that the service server sends the stored control instruction to the second terminal, where the control instruction stored in the service server is sent by the first terminal.
Fig. 5 is a schematic structural diagram of a command transmitting device according to an exemplary embodiment of the present application.
Optionally, as shown in fig. 5, a second sending module 12 of the control instruction in the instruction transmitting device 1 provided in the embodiment of the present application includes:
an inquiry command sending unit 121, configured to send an inquiry command to the second terminal to determine whether the second terminal successfully receives the control command;
a notification sending unit 122, configured to send a notification to the service server when receiving the control instruction that is fed back by the second terminal and is not successfully received, and notify the service server to send the stored control instruction to the second terminal.
Optionally, the control instruction second sending module 12 is specifically configured to:
acquiring a timestamp for sending a control instruction;
and when the response instruction of the second terminal is not received within the preset time from the timestamp, determining that the second terminal does not receive the control instruction, and informing a service server.
Fig. 6 is a schematic structural diagram of a command transmitting device according to an exemplary embodiment of the present application.
Optionally, as shown in fig. 6, the instruction transmitting apparatus 1 provided in the embodiment of the present application further includes:
a control instruction clearing module 13, configured to notify a service server when it is determined that the second terminal receives the control instruction, so that the service server clears the stored control instruction;
the control instruction second sending module 12 is specifically configured to:
when the second terminal is determined not to receive the control instruction, the stored control instruction is obtained from the service server;
and sending the control instruction to the second terminal.
It should be noted that, when the instruction transmission apparatus provided in the foregoing embodiment executes the instruction transmission method, only the division of the functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the instruction transmission device and the instruction transmission method provided by the above embodiments belong to the same concept, and details of implementation processes thereof are referred to in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, a control instruction sent by a first terminal is received first, and then the received control instruction is sent to a second terminal; and when the second terminal is determined not to receive the control instruction, notifying a service server to enable the service server to send the stored control instruction to the second terminal, wherein the control instruction stored in the service server is sent by the first terminal. According to the embodiment of the application, the control instruction is stored on the service server, so that the control instruction stored by the service server can be sent to the second terminal under the condition that the second terminal does not receive the control instruction, and the instruction sending success rate and the communication success rate between the first terminal and the second terminal are improved.
The embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the steps of the method of any one of the foregoing embodiments. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
The embodiment of the present application further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the program, the steps of any of the above-mentioned embodiments of the method are implemented.
Please refer to fig. 7, which is a block diagram of a terminal according to an embodiment of the present disclosure.
As shown in fig. 7, the terminal 600 includes: a processor 601 and a memory 602.
In this embodiment, the processor 601 is a control center of a computer system, and may be a processor of an entity machine or a processor of a virtual machine. The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 601 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 601 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.
The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 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 of the present application, a non-transitory computer readable storage medium in the memory 602 is used to store at least one instruction for execution by the processor 601 to implement a method in embodiments of the present application.
In some embodiments, the terminal 600 further includes: a peripheral interface 603 and at least one peripheral. The processor 601, memory 602, and peripheral interface 603 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a display screen 604, a camera 605, and an audio circuit 606.
The peripheral interface 603 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 601 and the memory 602. In some embodiments of the present application, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments of the present application, any one or both of the processor 601, the memory 602, and the peripheral interface 603 may be implemented on separate chips or circuit boards. The embodiment of the present application is not particularly limited to this.
The display screen 604 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 604 is a touch display screen, the display screen 604 also has the ability to capture touch signals on or over the surface of the display screen 604. The touch signal may be input to the processor 601 as a control signal for processing. At this point, the display screen 604 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 of the present application, the display screen 604 may be one, and is provided as a front panel of the terminal 600; in other embodiments of the present application, the display screens 604 may be at least two, respectively disposed on different surfaces of the terminal 600 or in a folding design; in still other embodiments of the present application, the display 604 may be a flexible display disposed on a curved surface or a folded surface of the terminal 600. Even further, the display screen 604 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display screen 604 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera 605 is used to capture images or video. Optionally, the camera 605 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 of the present application, camera 605 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 606 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 601 for processing. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 600. The microphone may also be an array microphone or an omni-directional pick-up microphone.
Power supply 607 is used to provide power to the various components in terminal 600. The power supply 607 may be ac, dc, disposable or rechargeable. When power supply 607 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
The block diagram of the terminal structure shown in the embodiments of the present application does not constitute a limitation to the terminal 600, and the terminal 600 may include more or less components than those shown, or combine some components, or adopt a different arrangement of components.
In this application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or order; the term "plurality" means two or more unless expressly limited otherwise. The terms "mounted," "connected," "fixed," and the like are to be construed broadly, and for example, "connected" may be a fixed connection, a removable connection, or an integral connection; "coupled" may be direct or indirect through an intermediary. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In the description of the present application, it is to be understood that the terms "upper", "lower", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred device or unit must have a specific direction, be configured and operated in a specific orientation, and thus, should not be construed as limiting the present application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Accordingly, all equivalent changes made by the claims of this application are intended to be covered by this application.

Claims (10)

1. An instruction transmission method, comprising:
the signaling server receives a control instruction sent by a first terminal and sends the control instruction to a second terminal;
and when the second terminal is determined not to receive the control instruction, notifying a service server to enable the service server to send the stored control instruction to the second terminal, wherein the control instruction stored in the service server is sent by the first terminal.
2. The method according to claim 1, wherein notifying a service server when it is determined that the second terminal does not receive the control instruction, so that the service server sends the stored control instruction to the second terminal, comprises:
sending a query instruction to the second terminal to determine whether the second terminal successfully receives the control instruction;
and when the control instruction is received unsuccessfully after the feedback of the second terminal is received, sending a notice to the service server to inform the service server to send the stored control instruction to the second terminal.
3. The method of claim 1, wherein notifying a service server when it is determined that the second terminal does not receive the control instruction comprises:
acquiring a timestamp for sending a control instruction;
and when the response instruction of the second terminal is not received within the preset time from the timestamp, determining that the second terminal does not receive the control instruction, and informing a service server.
4. The method of claim 1, further comprising:
and when the second terminal is determined to receive the control instruction, notifying a service server so that the service server clears the stored control instruction.
5. The method of claim 1, further comprising:
when the second terminal is determined not to receive the control instruction, acquiring the stored control instruction from the service server;
and sending the control instruction to the second terminal.
6. The method of claim 1, further comprising:
the first terminal and/or the second terminal are/is a teaching terminal; and/or
The control instruction is a teaching interaction control instruction.
7. An instruction transmission apparatus, characterized in that the apparatus comprises:
the first control instruction sending module is used for the signaling server to receive a control instruction sent by the first terminal and send the control instruction to the second terminal;
and the second control instruction sending module is used for notifying a service server when the second terminal is determined not to receive the control instruction, so that the service server sends the stored control instruction to the second terminal, and the control instruction stored in the service server is sent by the first terminal.
8. The apparatus of claim 7, wherein the control instruction second sending module comprises:
the query instruction sending unit is used for sending a query instruction to the second terminal so as to determine whether the second terminal successfully receives the control instruction;
and the notification sending unit is used for sending a notification to the service server when the control instruction is received unsuccessfully after the feedback of the second terminal is received, and notifying the service server to send the stored control instruction to the second terminal.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1 to 6.
10. A server, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 6.
CN201911362398.2A 2019-12-26 2019-12-26 Instruction transmission method, device, storage medium and server Expired - Fee Related CN111211964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911362398.2A CN111211964B (en) 2019-12-26 2019-12-26 Instruction transmission method, device, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911362398.2A CN111211964B (en) 2019-12-26 2019-12-26 Instruction transmission method, device, storage medium and server

Publications (2)

Publication Number Publication Date
CN111211964A CN111211964A (en) 2020-05-29
CN111211964B true CN111211964B (en) 2022-04-26

Family

ID=70788363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911362398.2A Expired - Fee Related CN111211964B (en) 2019-12-26 2019-12-26 Instruction transmission method, device, storage medium and server

Country Status (1)

Country Link
CN (1) CN111211964B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002251508A (en) * 2000-12-22 2002-09-06 Sumitomo Electric Ind Ltd System and method for business control
CN100566283C (en) * 2006-03-28 2009-12-02 腾讯科技(深圳)有限公司 A kind of long-range control method and system
CN103686863B (en) * 2012-09-12 2017-08-29 中国电信股份有限公司 Realize the method and system of control signaling transmission
CN103634327B (en) * 2013-12-16 2017-11-17 百度在线网络技术(北京)有限公司 The long-range control method and device of terminal
CN109729130A (en) * 2018-04-04 2019-05-07 中国平安人寿保险股份有限公司 Information analysis method, service server, storage medium and device

Also Published As

Publication number Publication date
CN111211964A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
US20190222617A1 (en) Method and apparatus for providing state information
CN111245745B (en) Message sending method, device, node equipment and storage medium
CN111324259B (en) Group creation method, device and storage medium
US20190095887A1 (en) Resource transferring method and apparatus
CN105430424A (en) Video live broadcast method, device and system
CN109194972B (en) Live stream acquisition method and device, computer equipment and storage medium
CN108063949A (en) Image screenshotss method, apparatus and screenshotss server
CN115396521A (en) Method, device and system for switching communication protocol
CN110719529B (en) Multi-channel video synchronization method, device, storage medium and terminal
CN109561014A (en) A kind of web instant communication method and system
CN113144622A (en) Node switching method, device, equipment and computer readable storage medium
CN110289991B (en) Fault gateway detection method, device, storage medium and terminal
CN115941783A (en) Communication method and device, computer storage medium and vehicle
US12061662B2 (en) Methods, apparatuses and systems for displaying alarm file
CN111246231B (en) Live broadcast management method and device, server and computer readable storage medium
CN111211964B (en) Instruction transmission method, device, storage medium and server
CN110532324B (en) Block chain-based bulletin information display method, device, equipment and storage medium
CN110597840A (en) Partner relationship establishing method, device, equipment and storage medium based on block chain
CN116149881A (en) Notification message sending method, device, equipment and storage medium
KR102254821B1 (en) A system for providing dialog contents
CN114785766A (en) Control method of intelligent equipment, terminal and server
CN110119508B (en) Chat message filtering method, system and equipment
CN112260845B (en) Method and device for accelerating data transmission
CN113836082A (en) Data migration method and device, storage medium and server
CN118175375A (en) Multi-device screen projection method and device, computer storage medium and terminal

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220426