Method, system, medium and electronic device for processing information
By judging the usage status and online level of the specified device, information is sent only when the specified device is in use, solving the problem of inaccurate information transmission when multiple user terminals are bound to multiple devices, and achieving accurate and secure information transmission.
Patent Information
- Application Number
- CN202111670116.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2041-12-31
AI Technical Summary
When multiple user terminals are bound to multiple devices, existing technologies cannot accurately send information to designated devices, resulting in user terminals on non-designated devices also being able to obtain information, affecting the accuracy and security of the information.
By determining whether the specified device is in use, the target information is sent only when the specified device is in use and communicating with the connection terminal. The device status and online level are determined through heartbeat information to ensure that the information is only displayed on the specified device.
It enables accurate sending of information to designated devices when multiple user terminals are bound to multiple devices, preventing user terminals on non-designated devices from obtaining information, and improving the accuracy and security of information transmission.
Smart Images

Figure CN116418714B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of information processing technology, and in particular relates to a method, system, medium and electronic equipment for processing information. Background Art
[0002] Log in to the relevant account on the car computer. When a message is sent to the account, all car computers logged in to the account will receive and display the message.
[0003] When a projection device is bound to multiple devices, once a user sends a message to the designated projection device, other accounts bound to the designated projection device will also receive the message. If the message is displayed by other accounts on a non-designated projection device, the user will not be able to receive the message when he actually uses the designated projection device. Summary of the Invention
[0004] One purpose of the present invention is to provide a method, system, medium and electronic device for processing information, which sends the target information to be processed to the connection terminal that is communicatively connected to the designated device only when the designated device is in use (there is a connection terminal that is communicatively connected to the designated device), so that the target information can be accurately sent to the designated device through the connection terminal, and then sent to the processing device through the designated device, effectively avoiding the target information from being obtained by other user terminals bound to the designated device on non-designated devices, and making it impossible for the user terminal that actually uses the designated device to obtain the target information, thereby realizing the accurate sending of target information to the designated device when multiple user terminals are bound to multiple devices.
[0005] Another object of the present invention is to provide a method, system, medium and electronic device for processing information, providing a method for determining whether a designated device is used by determining whether the heartbeat information of the corresponding designated device is received, and providing a method for querying the heartbeat information based on the time when the heartbeat information is received to determine the user terminal that last used the designated device, thereby ensuring the feasibility of the method for processing information.
[0006] Another object of the present invention is to provide a method, system, medium and electronic device for processing information, in which the target information is sent to the connection terminal only when the designated device is in use and the connection terminal communicating with the designated device is online. Compared with directly sending the target information to the connection terminal when the designated device is in use, this further ensures that the target information can be sent to the designated device, effectively avoiding the situation where the target information cannot be sent to the designated device because the connection terminal is currently offline.
[0007] Another object of the present invention is to provide a method, system, medium and electronic device for processing information, specifically providing a method for sending target information to a designated device. After determining that the designated device is in use, the method determines the user terminal that last used the designated device and determines whether the user terminal that last used the designated device is online. If the user terminal that last used the designated device is online, the user terminal that last used the designated device is the connection terminal. At this time, the target information can be directly sent to the user terminal that last used the designated device.
[0008] Another object of the present invention is to provide a method, system, medium and electronic device for processing information, by storing the message containing target information sent by the user terminal in the queue of the server so that the target information can be obtained from the queue later, and finally the target information is sent to the processing device through the designated device, effectively ensuring that the designated device can receive the target information.
[0009] Another object of the present invention is to provide a method, system, medium and electronic device for processing information, wherein after a designated device successfully receives target information, corresponding feedback information is sent to a server through the designated device, so that the server deletes the message containing the target information stored in its queue after receiving the feedback information. Before the server receives the feedback information, the messages in the server queue are always stored, ensuring that the target information can be sent to the designated device.
[0010] Another object of the present invention is to provide a method, system, medium and electronic device for processing information. After the connection terminal receives a message sent by the server, the connection terminal further determines whether the device information in the message is consistent with the device information of the specified device. Only when they are consistent, the connection terminal will send the target information to the processing device through the specified device (actually the device corresponding to the device information in the message received by the connection terminal), further ensuring the accuracy of the target information being sent to the specified device.
[0011] To achieve the above-mentioned purpose and other related purposes, on the one hand, the present invention provides a method for processing information, which is applied to a server and includes the following steps: in response to receiving a message sent by a user terminal, determining whether a designated device is in use; the user terminal is bound to the designated device; the message includes at least: device information of the designated device and target information sent by the user terminal to the designated device; wherein the device information includes at least: a device number; in response to the designated device being used, sending the message to a connection terminal so that the connection terminal sends the target information to a processing device through the designated device; the connection terminal is communicatively connected to the designated device; the designated device is connected to the processing device for screen projection.
[0012] To achieve the above-mentioned purpose and other related purposes, on the other hand, the present invention provides a method for processing information, which is applied to a connection terminal, and the connection terminal is communicatively connected to a designated device, comprising the following steps: in response to receiving a message to be judged sent by a server, judging whether the device information of the connection device included in the message to be judged is consistent with the device information of the designated device; the message to be judged includes at least: the device information of the connection device and the target information sent by a user terminal to the connection device; wherein, the device information includes at least: the device number; in response to consistency, sending the target information to the processing device through the designated device; the designated device is connected to the processing device for screen projection.
[0013] To achieve the above-mentioned purpose and other related purposes, on the other hand, the present invention provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, it implements the above-mentioned method for processing information applied to the server and / or the above-mentioned method for processing information applied to the connection terminal.
[0014] To achieve the above-mentioned purpose and other related purposes, on the other hand, the present invention provides an electronic device, comprising: a processor and a memory; the memory is used to store computer programs; the processor is used to execute the computer programs stored in the memory, so that the electronic device executes the above-mentioned method for processing information applied to the server, and / or the above-mentioned method for processing information applied to the connection terminal.
[0015] To achieve the above-mentioned and other related objectives, in another aspect, the present invention provides a system for processing information, comprising: a designated device, a user terminal, a connection terminal, a server, and a processing device; wherein the user terminal and the connection terminal are both intelligent terminals; the user terminal is communicatively connected to the server and bound to the designated device; the connection terminal is communicatively connected to the server and to the designated device;
[0016] The processing device is connected to the designated device for screen projection; wherein the user terminal sends a message to the server; the message includes at least: device information of the designated device and target information sent by the user terminal to the designated device; wherein the device information includes at least: a device number;
[0017] The server, in response to receiving the message, determines whether the designated device is used; in response to the designated device being used, sends the message to the connection terminal, causing the connection terminal to send the target information to the processing device through the designated device. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 Shown is an application scenario architecture diagram of the information processing method of one embodiment of the present invention.
[0019] Figure 2 Shown is a flow chart of a method for processing information in one embodiment of the present invention.
[0020] Figure 3 Shown is a flowchart for determining whether a designated device is used in an embodiment of the present invention.
[0021] Figure 4 Shown is a flow chart of another embodiment of the method for processing information of the present invention.
[0022] Figure 5 Shown is a flow chart of a method for processing information in yet another embodiment of the present invention.
[0023] Figure 6 Shown is a flow chart of an embodiment of the present invention for sending a message to a connection terminal in response to a designated device being used.
[0024] Figure 7 Shown is a flow chart of determining the last time a user terminal used a specified device in one embodiment of the present invention.
[0025] Figure 8 Shown is a flow chart of a method for processing information in yet another embodiment of the present invention.
[0026] Figure 9 Shown is a flow chart of a method for processing information in yet another embodiment of the present invention.
[0027] Figure 10 Shown is a flow chart of a method for processing information in yet another embodiment of the present invention.
[0028] Figure 11 Shown is a principle flow chart of a method for processing information in one embodiment of the present invention.
[0029] Figure 12 FIG. 1 is a diagram showing the working principle of the information processing method according to an embodiment of the present invention.
[0030] Figure 13 FIG. 1 is a schematic structural diagram of a connection terminal according to an embodiment of the present invention.
[0031] Figure 14 Shown is a schematic structural diagram of an information processing system according to an embodiment of the present invention.
[0032] Explanation of symbols
[0033] 111 First Server
[0034] 112 First Smartphone
[0035] 113 Second Smartphone
[0036] 114 Screen projection device
[0037] 115 Vehicle Terminal
[0038] 13 Connecting Terminals
[0039] 131 processing units
[0040] 132 Memory
[0041] 1321 Random Access Memory
[0042] 1322 Cache Memory
[0043] 1323 Storage System
[0044] 1324 Programs / Utilities
[0045] 13241 Program Module
[0046] 133 bus
[0047] 134 Input / Output Interfaces
[0048] 135 Network Adapter
[0049] 14 External Devices
[0050] 15 Display
[0051] 141 Designated Device
[0052] 142 user terminals
[0053] 143 Connection Terminal
[0054] 144 servers
[0055] 145 Processing Equipment
[0056] Steps S1-S2
[0057] Steps S11 to S13
[0058] Steps S41 to S44
[0059] Steps S51 to S53
[0060] Steps S21 to S23
[0061] Steps S211 to S212
[0062] Steps S81 to S83
[0063] Steps S91 to S95
[0064] Steps S101-S102 DETAILED DESCRIPTION
[0065] The following describes the embodiments of the present invention through specific embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through different specific embodiments. The details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other unless they conflict.
[0066] It should be noted that the illustrations provided in the following embodiments are merely schematic illustrations of the basic concept of the present invention. Therefore, the illustrations only show components related to the present invention and are not drawn according to the number, shape, and size of components in actual implementation. In actual implementation, the type, quantity, and proportion of each component may be changed arbitrarily, and the component layout may also be more complex.
[0067] like Figure 1 As shown, in one embodiment, the method for processing information of the present invention is applied to Figure 1 The first server 111 is used to process a target information; wherein the first server 111 is respectively connected to Figure 1 The first smart phone 112 and the second smart phone 113 are connected in communication, and the first smart phone 112 is also connected to the Figure 1 The second smart phone 113 is also connected to the screen projection device 114, and the screen projection device 114 is also connected to the second smart phone 113. Figure 1 The in-vehicle terminal 115 is connected to the screen projection.
[0068] It should be noted that when the first smartphone 112 and / or the second smartphone 113 is connected to the screen projection device 114 , the first smartphone 112 and / or the second smartphone 113 will send heartbeat information corresponding to the screen projection device 114 to the first server 111 .
[0069] Specifically, the working principle of the method for processing information is as follows:
[0070] When the first server 111 receives a message sent by the first smartphone 112, the first server 111 will first determine whether the screen projection device 114 is in use; after determining that the screen projection device 114 is in use, the first server 111 will send the message to the second smartphone 113; after the second smartphone 113 receives the message, the second smartphone 113 will determine whether the device information in the message is consistent with the device information of the screen projection device 114; if they are consistent, the second smartphone 113 will send the target information in the message to the screen projection device 114; the screen projection device 114 will then send the target information to the vehicle terminal 115.
[0071] It should be noted that the above-mentioned target information is the information sent by the first smart phone 112 to the screen projection device 114; the above-mentioned message includes but is not limited to the device information of the designated device 114 and the target information.
[0072] like Figure 2 As shown, in one embodiment, the method for processing information of the present invention is applied to a server; specifically, the method for processing information includes the following steps:
[0073] Step S1: In response to receiving a message sent by a user terminal, determine whether a designated device is in use.
[0074] It should be noted that the user terminal is bound to the designated device; the message includes at least but is not limited to: the device information of the designated device and the target information sent by the user terminal to the designated device; wherein the device information includes at least but is not limited to: the device number.
[0075] It should be noted that the specific information of the above-mentioned target information is not a condition that limits the present invention.
[0076] In one embodiment, the target information is location information.
[0077] In one embodiment, the designated device is a screen projection device; specifically, a screen projection adapter.
[0078] In one embodiment, the user terminal is a smart terminal.
[0079] It should be noted that the smart terminal includes but is not limited to smart phones, tablet computers, personal digital assistants (PDAs) and other terminal devices with data processing functions; generally, a smart terminal refers to a terminal device with an independent operating system, on which users can install software, games and other programs provided by third-party service providers, and continuously expand the functions of the handheld device through such programs, and can achieve wireless network access through the communication network.
[0080] It should be noted that when a user terminal is connected to a designated device (in this case, the user terminal serves as a connecting terminal), the user terminal will send heartbeat information corresponding to the designated device to the server.
[0081] In one embodiment, the user terminal is connected to a designated device through an application software (Application, App) on the user terminal, and after the connection is successful, the heartbeat information is sent to the server through the App.
[0082] It should be noted that when a user terminal connects to a designated device for the first time, the user terminal will be bound to the designated device.
[0083] like Figure 3 As shown, in one embodiment, determining whether the designated device is used includes the following steps:
[0084] Step S11: Determine whether the heartbeat information corresponding to the designated device is received.
[0085] It should be noted that the heartbeat information includes at least but is not limited to: online information of the connection terminal and device information of the designated device; wherein, the online information includes at least but is not limited to: a terminal identifier corresponding to the connection terminal (used to uniquely identify the connection terminal).
[0086] It should be noted that the connection terminal is communicatively connected to the designated device.
[0087] It should be noted that when a user logs in to the App on the connection terminal, the App will send a heartbeat message to the server to indicate that the connection terminal is online.
[0088] Step S12: In response to receiving the heartbeat information, determining that the designated device is in use.
[0089] Specifically, in step S11 , it is determined whether the server has received the heartbeat information corresponding to the designated device. If so, it is considered that the designated device is in use.
[0090] Step S13: In response to not receiving the heartbeat information, determining that the designated device is not in use.
[0091] Specifically, in step S11 , it is determined whether the server has received the heartbeat information corresponding to the designated device. If not, it is considered that the designated device is not in use.
[0092] It should be noted that the above method of determining whether the designated device is used by determining whether the heartbeat information corresponding to the designated device is received ensures the feasibility of the method for processing information.
[0093] Furthermore, the above-mentioned user terminal is a terminal device used to send target information to a designated device, and is bound to the designated device; the above-mentioned connection terminal is a terminal device that is communicatively connected to the designated device; the user terminal and the connection terminal can be two different terminal devices; but when the user terminal is connected to the designated device, the user terminal is the connection terminal.
[0094] In one embodiment, the connection terminal is a smart terminal.
[0095] Step S2: In response to the designated device being used, sending the message to the connection terminal, so that the connection terminal sends the target information to the processing device through the designated device.
[0096] Specifically, when it is determined in step S1 that the designated device is in use, the server sends a message to the connection terminal, causing the connection terminal to send the target information in the message to the designated device, and finally send the target information to the processing device through the designated device.
[0097] It should be noted that the designated device is connected to the processing device for screen projection.
[0098] In one embodiment, the processing device is a vehicle-mounted terminal.
[0099] It should be noted that the vehicle-mounted terminal has an in-vehicle infotainment system. The in-vehicle infotainment system (IVI) is an in-vehicle integrated information processing system formed by using a dedicated vehicle-mounted central processor, based on the vehicle body bus system and Internet services. IVI can realize a series of applications including three-dimensional navigation, real-time traffic conditions, IPTV, assisted driving, fault detection, vehicle information, body control, wireless communication, online entertainment functions and TSP services. The vehicle is also equipped with a camera, microphone, etc. (not shown) that are electrically connected to the vehicle-mounted terminal. The specific number and location of installation can be set by those skilled in the art according to their needs.
[0100] It should be noted that the target information to be processed is sent to the connection terminal that is communicatively connected to the designated device only when the designated device is in use (there is a connection terminal that is communicatively connected to the designated device), so that the target information can be accurately sent to the designated device through the connection terminal, and then sent to the processing device through the designated device so that the processing device can process it. This effectively avoids the target information being obtained by other user terminals bound to the designated device on non-designated devices, and makes it impossible for the user terminal that actually uses the designated device to obtain the target information, thereby realizing the accurate sending of target information to the designated device when multiple user terminals are bound to multiple devices.
[0101] It should be noted that in the above step S1, when judging whether the designated device is in use based on the heartbeat information of the corresponding designated device sent by the connection terminal, there is a delay problem in the sending and receiving of the heartbeat information, that is, the time when the connection terminal actually sends the heartbeat information (at this current moment, the connection terminal is online; the designated device is in use) is different from the time when the server actually receives the heartbeat information (at this current moment, the connection terminal may be offline, or the connection terminal is currently online, but there is a possibility that the device connected to it for communication is not the designated device; the designated device may be in use, but there is a possibility that the terminal connected to it for communication is not the connection terminal, or the designated device is not in use). Moreover, the time when the server receives the heartbeat information will only be later than the time when the connection terminal sends the heartbeat information. If it is only determined that the server has received the heartbeat information, that is, the message is sent to the connection terminal, the connection terminal will send the target information in the message to the device that is currently connected to the connection terminal for communication. If the device connected to the connection terminal at this time is a non-designated device, then the designated device will ultimately not be able to receive the target information.
[0102] Likewise, when the above situation occurs (the device currently communicating with the connection terminal is a non-designated device), the result of determining whether the designated device is in use based on the heartbeat information in step S1 may also be inaccurate.
[0103] like Figure 4 As shown, in one embodiment, the method for processing information includes the following steps:
[0104] Step S41: In response to receiving a message sent by a user terminal, the server determines whether the designated device is in use.
[0105] Step S42: In response to the designated device being used, the server sends the message to the connection terminal.
[0106] Step S43: The connection terminal determines whether the device information included in the message is consistent with the device information of the designated device.
[0107] It should be noted that, in response to the judgment result of step S43 being consistent, step S44 is executed.
[0108] Step S44: Send the target information to the processing device through the designated device.
[0109] It should be noted that the designated device in step S44 is actually the device corresponding to the device information in the message received by the connection terminal. After the designated device receives the target information, the designated device sends the target information to the processing device.
[0110] It should be noted that, by further determining whether the device information in the received message is consistent with the device information of the designated device through the connection terminal, the accuracy of the target information being sent to the designated device is further guaranteed.
[0111] like Figure 5 As shown, in one embodiment, the method for processing information includes the following steps:
[0112] Step S51: In response to receiving a message sent by a user terminal, determine whether the designated device is in use.
[0113] Step S52: In response to the designated device being used, obtain online information of the connection terminal.
[0114] It should be noted that step S52 can obtain the online information of the connected terminal, which means that the connected terminal is currently online.
[0115] like Figure 5 As shown, after it is determined in step S52 that the connection terminal is online, step S53 is executed.
[0116] Step S53: In response to the connection terminal being online, sending the message to the connection terminal, so that the connection terminal sends the target information to the processing device through the designated device.
[0117] It should be noted that the target information is sent to the connection terminal only when the designated device is in use and the connection terminal communicating with the designated device is online. Compared with sending the target information directly to the connection terminal when the designated device is in use, this further ensures that the target information can be sent to the designated device, effectively avoiding the situation where the target information cannot be sent to the designated device because the connection terminal is currently offline.
[0118] like Figure 6As shown, in one embodiment, in response to the designated device being used, sending the message to the connection terminal includes the following steps:
[0119] Step S21: Determine the user terminal that last used the designated device.
[0120] like Figure 7 As shown, in one embodiment, determining the user terminal that last used the designated device includes the following steps:
[0121] Step S211: In response to receiving the heartbeat information corresponding to the designated device, the heartbeat information and the time corresponding to the receipt of the heartbeat information are stored.
[0122] Specifically, when the server receives the heartbeat information corresponding to the designated device, the server not only stores the heartbeat information, but also stores the time when the heartbeat information is received.
[0123] It should be noted that the heartbeat information in step S211 is the same as the heartbeat information relied upon when determining whether the designated device is used, so it will not be described in detail here.
[0124] Step S212: query the heartbeat information according to the time to determine the user terminal that last used the designated device.
[0125] Specifically, the heartbeat information received at the most recent time is determined based on the time stored in step S211, so as to determine the user terminal that last used the designated device from the heartbeat information.
[0126] It should be noted that the above steps S211 to S212 provide a method for querying the heartbeat information of the corresponding designated device based on the time when the heartbeat information is received to determine the user terminal that last used the designated device, thereby ensuring the feasibility of the information processing method.
[0127] Step S22: Determine whether the user terminal that last used the designated device is online.
[0128] Specifically, after determining the user terminal that last used the designated device in step S22, it is further determined whether the user terminal that last used the designated device is online.
[0129] It should be noted that, as mentioned above, when a user logs in to the App on the connection terminal, the App will send a heartbeat message to the server to indicate that the connection terminal is online. Therefore, in one embodiment, in step S22, whether it is online can be determined by determining whether the heartbeat message sent by the user terminal that last used the specified device is received.
[0130] In response to the user terminal that last used the designated device being online, step S23 is executed.
[0131] Step S23: Send the message to the user terminal that last used the designated device.
[0132] It should be noted that the user terminal that last used the designated device is the connection terminal.
[0133] It should be noted that the above steps S21 to S23 provide a method for sending target information to a designated device. After determining that the designated device is in use, the user terminal that last used the designated device is determined, and whether the user terminal that last used the designated device is online is determined. If the user terminal that last used the designated device is online, then the user terminal that last used the designated device is the connection terminal. At this time, the target information can be directly sent to the user terminal that last used the designated device.
[0134] like Figure 8 As shown, in one embodiment, the method for processing information includes the following steps:
[0135] Step S81: In response to receiving a message sent by a user terminal, store the message in a queue of the server.
[0136] It should be noted that by storing the message containing the target information sent by the user terminal in the queue of the server, so that the target information can be obtained from the queue later, the target information is finally sent to the processing device through the designated device, effectively ensuring that the designated device can receive the target information.
[0137] Step S82: Determine whether the designated device is in use.
[0138] Step S83: In response to the designated device being used, the message is sent to the connection terminal, so that the connection terminal sends the target information to the processing device through the designated device.
[0139] like Figure 9 As shown, in one embodiment, the method for processing information includes the following steps:
[0140] Step S91: In response to receiving a message sent by a user terminal, store the message in a queue of the server.
[0141] Step S92: Determine whether the designated device is in use.
[0142] Step S93: In response to the designated device being used, sending the message to the connection terminal, so that the connection terminal sends the target information to the processing device through the designated device.
[0143] Step S94: Determine whether the feedback information sent by the designated device is received.
[0144] It should be noted that the feedback information is used to indicate that the designated device has successfully received the target information.
[0145] Step S95: In response to receiving the feedback information sent by the designated device, delete the message in the queue.
[0146] Specifically, when it is determined in step S94 that the server receives feedback information sent by the designated device, the message in the queue of the server is deleted.
[0147] It should be noted that after the designated device successfully receives the target information, the corresponding feedback information is sent to the server through the designated device, so that the server deletes the message containing the target information stored in its queue after receiving the feedback information. Before the server receives the feedback information, the messages in the server queue are always stored, ensuring that the target information can be sent to the designated device.
[0148] like Figure 10 As shown, in one embodiment, the method for processing information of the present invention is applied to a connection terminal, wherein the connection terminal is in communication connection with a designated device; specifically, the method for processing information includes the following steps:
[0149] Step S101: In response to receiving a message to be determined sent by a server, determining whether the device information of the connected device included in the message to be determined is consistent with the device information of the designated device.
[0150] It should be noted that the message to be judged includes at least but is not limited to: device information of the connected device and target information sent by a user terminal to the connected device; wherein, the device information includes at least but is not limited to: device number.
[0151] In response to the agreement, step S102 is executed.
[0152] Step S102: Send the target information to a processing device via the designated device.
[0153] It should be noted that the designated device is connected to the processing device for screen projection.
[0154] Specifically, when step S101 determines that the device information of the connected device included in the message to be determined is consistent with the device information of the designated device, the connection terminal sends the target information to the designated device, so that the designated device then sends the target information to the processing device so that the processing device processes the target information.
[0155] It should be noted that after the connection terminal receives the message sent by the server, the connection terminal further determines whether the device information in the message is consistent with the device information of the designated device. Only when they are consistent, the connection terminal will send the target information contained in the message to the designated device (actually the device corresponding to the device information in the message received by the connection terminal), so that the designated device will then send the target information to the processing device, further ensuring the accuracy of the target information being sent to the designated device.
[0156] The information processing method of the present invention is further explained below through specific embodiments.
[0157] like Figure 11 and Figure 12 As shown, in one embodiment, users Zhang San, Li Si, and Wang Wu are all bound to device A, device B, and device C (a device is a screen projector, which can be simply understood as a car); among them, Li Si is currently using device B; Zhang San sends a location to device A, such as Xuanwu Lake Park; Li Si has bound device A and is the last user to use device A, so Li Si will receive the location sent by Zhang San, but because Li Si is currently using device B, which is inconsistent with the device A sent by Zhang San, device B should not display the sent location; at this time, Wang Wu will receive the location sent by Zhang San after getting in the car and using device A.
[0158] like Figure 12 As shown, after user Zhang San logs in to the App, a heartbeat message will be sent to the cloud, indicating that the user is online; user Li Si connects to device A through the App, and a successful connection means that screen projection begins (the user will be bound to the device for the first connection); in the screen projection state, the App will send device heartbeat information to the cloud, including device number, user terminal identification, location and other information.
[0159] like Figure 11 and Figure 12 As shown, when the cloud receives a message from user Zhang San sending a location to device A, it will first query the heartbeat status of device A based on the heartbeat to determine whether device A is online; if it is online, it will query the user Li Si who last projected the screen of device A; if the user Li Si is online, the cloud will push the location information to user Li Si; after receiving the location information, user Li Si will determine whether he is in the screen projection state, and whether the screen projection device is consistent with the device corresponding to the received message; if they are consistent, the location will be displayed.
[0160] It should be noted that the protection scope of the method for processing information described in the present invention is not limited to the execution order of the steps listed in this embodiment. All solutions implemented by adding, reducing, or replacing steps in the prior art based on the principles of the present invention are included in the protection scope of the present invention.
[0161] The storage medium of the present invention stores a computer program that, when executed by a processor, implements the aforementioned method for processing information applied to a server and / or the method for processing information applied to a connected terminal. The storage medium includes various media capable of storing program code, such as read-only memory (ROM), random access memory (RAM), a magnetic disk, a USB flash drive, a memory card, or an optical disk.
[0162] Any combination of one or more storage media may be used. The storage medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, RAM, ROM, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or device.
[0163] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0164] Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0165] The computer program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0166] The present invention will be described below with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each block of the flowcharts and / or block diagrams, as well as combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine such that when these computer program instructions are executed by the processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowcharts and / or block diagrams.
[0167] These computer program instructions may also be stored in a computer-readable medium, which causes a computer, other programmable data processing apparatus, or other device to operate in a specific manner, so that the instructions stored in the computer-readable medium produce an article of manufacture that includes instructions for implementing the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0168] Computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, such that the instructions executed on the computer or other programmable apparatus provide a process for implementing the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0169] The electronic device of the present invention includes a processor and a memory.
[0170] The memory is used to store computer programs; preferably, the memory includes: ROM, RAM, magnetic disk, USB flash drive, memory card or optical disk and other media that can store program codes.
[0171] The processor is connected to the memory and is used to execute the computer program stored in the memory so that the electronic device executes the above-mentioned method for processing information applied to the server and / or the method for processing information applied to the connection terminal.
[0172] Preferably, the processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0173] In one embodiment, the electronic device is a server; specifically, the server is used to execute the above-mentioned method for processing information applied to the server.
[0174] In one embodiment, the electronic device is a connection terminal; specifically, the connection terminal is used to execute the above-mentioned method for processing information applied to a connection terminal.
[0175] Figure 13 A block diagram of an exemplary connection terminal 13 suitable for use in implementing embodiments of the present invention is shown.
[0176] Figure 13 The connection terminal 13 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0177] like Figure 13 As shown, the connection terminal 13 is in the form of a general-purpose computing device. Components of the connection terminal 13 may include, but are not limited to: one or more processors or processing units 131, a memory 132, and a bus 133 connecting different system components (including the memory 132 and the processing unit 131).
[0178] Bus 133 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of such architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MCA) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.
[0179] The connection terminal 13 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the connection terminal 13, including volatile and non-volatile media, removable and non-removable media.
[0180] The memory 132 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 1321 and / or cache memory 1322. The connection terminal 13 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 1323 may be used to read and write non-removable, non-volatile magnetic media ( Figure 13 Not shown, often called a "hard drive"). Although Figure 13 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 133 via one or more data media interfaces. Memory 132 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
[0181] A program / utility 1324 having a set (at least one) of program modules 13241 may be stored, for example, in memory 132. Such program modules 13241 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 13241 generally implement the functions and / or methods of the embodiments described herein.
[0182] The connection terminal 13 may also communicate with one or more external devices 14 (e.g., a keyboard, a pointing device, a display 15, etc.), one or more devices that enable a user to interact with the connection terminal 13, and / or any device that enables the connection terminal 13 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed through an input / output (I / O) interface 134. Furthermore, the connection terminal 13 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 135. Figure 13 As shown, the network adapter 135 communicates with the other modules of the connection terminal 13 via the bus 133. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the connection terminal 13, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0183] like Figure 14 As shown, in one embodiment, the information processing system of the present invention includes a designated device 141 , a user terminal 142 , a connection terminal 143 , a server 144 and a processing device 145 .
[0184] Specifically, the user terminal 142 and the connection terminal 143 are both smart terminals; the user terminal 142 is connected to the server 144 and is bound to the designated device 141; the connection terminal 143 is connected to the server 144 and is connected to the designated device 141; the processing device 145 is connected to the designated device 141 for screen projection; wherein,
[0185] The user terminal 142 sends a message to the server 144; the message includes at least: device information of the designated device 141 and target information sent by the user terminal 142 to the designated device 141; wherein the device information includes at least: a device number;
[0186] The server 144 , in response to receiving the message, determines whether the designated device 141 is used; in response to the designated device 141 being used, sends the message to the connection terminal 143 , causing the connection terminal 143 to send the target information to the processing device 145 through the designated device 141 .
[0187] In one embodiment, the connection terminal 143, in response to receiving the message sent by the server 144, determines whether the device information in the message is consistent with the device information of the designated device 141; in response to consistency, sends the target information to the processing device 145 through the designated device 141.
[0188] It should be noted that the working principle of the information processing system is the same as the working principle of the above-mentioned information processing method, so it will not be repeated here.
[0189] It should be noted that the information processing system of the present invention can implement the information processing method of the present invention, but the implementation device of the information processing method of the present invention includes but is not limited to the structure of the information processing system listed in this embodiment. All structural deformations and replacements of the existing technology made according to the principles of the present invention are included in the protection scope of the present invention.
[0190] In summary, the information processing method, system, medium, and electronic device of the present invention effectively overcome various shortcomings of the prior art and have high industrial application value.
[0191] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the present invention. Anyone skilled in the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by one of ordinary skill in the art without departing from the spirit and technical principles disclosed herein are intended to be covered by the claims of the present invention.
Claims
1. A method for processing information, applied to a server, characterized in that: The following steps are involved: In response to receiving a message sent by a user terminal, determining whether the designated device is in use; The user terminal is bound to the designated device; The message includes at least: device information of the designated device and target information sent by the user terminal to the designated device; wherein the device information includes at least: a device number; In response to the designated device being used, the message is sent to the connection terminal, so that the connection terminal sends the target information to the processing device through the designated device; the connection terminal is communicatively connected with the designated device; the designated device is connected to the processing device for screen projection.
2. The method according to claim 1, wherein determining whether the designated device is used comprises the following steps: Determine whether the heartbeat information corresponding to the specified device is received; The heartbeat information includes at least: online information of the connection terminal and device information of the designated device; wherein, the online information includes at least: a terminal identifier corresponding to the connection terminal; If received, determining that the designated device is used; If not received, it is determined that the designated device is not in use.
3. The method according to claim 1, further comprising the following steps after the step of responding to the designated device being used and before the step of sending the message to the connection terminal: Acquire online information of the connected terminal; the online information at least includes: a terminal identifier corresponding to the connected terminal; The sending of the message to the connection terminal includes the following steps: in response to the connection terminal being online, sending the message to the connection terminal.
4. The method according to claim 1, wherein in response to the designated device being used, sending the message to the connection terminal comprises the following steps: Determine the user terminal that last used the designated device; Determine whether the user terminal that last used the designated device is online; In response to the user terminal that last used the designated device being online, the message is sent to the user terminal that last used the designated device; the user terminal that last used the designated device is the connecting terminal.
5. The method according to claim 4, wherein determining the user terminal that last used the designated device comprises the following steps: In response to receiving heartbeat information corresponding to the designated device, storing the heartbeat information and a time corresponding to when the heartbeat information was received; The heartbeat information is queried according to the time to determine the user terminal that last used the designated device.
6. The method according to claim 1, further comprising the following steps after the step of responding to the message received from the user terminal and before the step of determining whether the designated device is in use: The message is stored in the queue of the server.
7. The method according to claim 6, further comprising the steps of: In response to receiving feedback information sent by the designated device, deleting the message in the queue; The feedback information is used to indicate that the designated device has successfully received the target information.
8. A method for processing information, applied to a connection terminal, wherein the connection terminal is in communication with a designated device, characterized in that: The following steps are involved: In response to receiving the to-be-determined message sent by the server, determining whether the device information of the connected device included in the to-be-determined message is consistent with the device information of the designated device; The message to be determined includes at least: device information of the connected device and target information sent by a user terminal to the connected device; wherein the user terminal is bound to the designated device, and the device information includes at least: a device number; In response to the consistency, the target information is sent to the processing device through the designated device, wherein the server determines that the designated device is used; and the designated device is connected to the processing device for screen projection.
9. A storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed by a processor, the method for processing information according to any one of claims 1 to 7 is implemented, and / or The method for processing information as claimed in claim 8.
10. An electronic device, characterized in that: include: processor and memory; The memory stores computer instructions; The processor executes the computer instructions stored in the memory to enable the electronic device to perform the method for processing information according to any one of claims 1 to 7, and / or The method for processing information according to any one of claims 8.
11. A system for processing information, characterized in that include: Designated device, user terminal, connection terminal, server and processing device; wherein the user terminal and the connection terminal are both intelligent terminals; The user terminal is connected to the server in communication and is bound to the designated device; the connection terminal is connected to the server in communication and is connected to the designated device; the processing device is connected to the designated device for screen projection; wherein, the user terminal, Sending a message to the server; the message at least includes: device information of the designated device and target information sent by the user terminal to the designated device; wherein the device information at least includes: a device number; the server, In response to receiving the message, determining whether the designated device is in use; In response to the designated device being used, the message is sent to the connection terminal, causing the connection terminal to send the target information to the processing device through the designated device.
12. The system according to claim 11, wherein the connection terminal In response to receiving the message sent by the server, determining whether the device information in the message is consistent with the device information of the designated device; In response to the agreement, the target information is sent to the processing device through the designated device.
Citation Information
Patent Citations
Method, system and device for pushing information to mobile terminal
CN103731449A
Screen projection pairing method and device, storage medium and screen projector
CN110321093A