Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be noted that, for convenience of description, only the portions related to the present application are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
FIG. 1 illustrates an exemplary system architecture 100 for a method for transmitting a hint or an apparatus for transmitting a hint to which embodiments of the present application may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The terminal devices 101, 102, 103 may interact with the server 105 via the network 104 to receive instructions or send messages, etc. The terminal devices 101, 102, 103 may comprise a processor. Various client applications, such as shopping applications, logistics applications, map applications, web browsers, instant messaging tools, etc., may be installed on the terminals 101, 102, 103.
The server 105 may be a server providing various services, for example, a background server performing processing such as analysis of information transmitted from the terminal devices 101, 102, 103. The server 105 may be a database server storing data such as user information and prompt information. The terminal devices 101, 102, 103 may acquire information such as user information from a database server.
The server may be hardware or software. When the server is hardware, the server may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (e.g., to provide distributed services), or as a single software or software module. The present application is not particularly limited herein.
It should be noted that, the method for sending the prompt message provided in the embodiment of the present application is generally executed by the server 105, and accordingly, the device for sending the prompt message is generally disposed in the server 105.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for sending a hint information according to the present application is shown. The method for sending the prompt message comprises the following steps:
in step 201, in response to receiving the delivery information including the user information sent by the target terminal, it is determined whether the user terminal corresponding to the user information has accessed the target wireless lan.
In the present embodiment, the execution subject of the method for transmitting the hint information (e.g., the server 105 shown in fig. 1) may receive the distribution information including the user information from the target terminal (the terminal devices 101, 102, 103 shown in fig. 1) through a wired connection or a wireless connection. The target terminal may be a terminal used by a user who distributes the article. Such as a terminal used by an courier, a terminal used by a takeaway for delivery, etc. The user information may be information including a user account, information including a user name, or information including a user tag, which is not limited herein. The delivery information may be information including user information, or may be information including user information and location information of the target terminal. The above-mentioned location information may be current address information of the target terminal. For example, the address information of the mobile phone location used by the courier may be specifically the address information of the cell currently being dispatched.
In this embodiment, the user information and the user terminal satisfy a preset correspondence. As an example, if the user information is a user account, the user side may be a user side logged in using the user account.
In this embodiment, the target wireless lan may be a wireless lan specified according to actual needs. The target wlan may also be a pre-stored common wlan of the ue. The above-mentioned commonly used wlan may be determined by the number of times that the user connects to a certain wlan in a preset period of time, for example, the number of times that the user connects to the wlan named "abc" in 20 to 24 points on weekend days is greater than a specified number of times, and then the above-mentioned wlan named "abc" is determined as the commonly used wlan.
In this embodiment, the above determination of whether the ue has accessed the target wlan may be determined by the following steps: first, the name of the wireless local area network accessed by the user terminal is obtained. Then, it is determined whether the name of the accessed wireless lan matches the name of the target wireless lan. If the target wireless local area network is matched with the target wireless local area network, the user terminal is determined to be accessed to the target wireless local area network. If not, determining that the user terminal is not accessed to the target wireless local area network.
Step 202, in response to determining that the user terminal has accessed the target wireless local area network, sending a first prompt message to the target terminal.
In this embodiment, the first prompt information may be any specified prompt information. As an example, the first prompting information may include information that the ue has accessed the target wlan, may include information about a current location of the ue (for example, "the ue is currently at home"), or may be other information set according to a requirement of an actual application scenario, which is not limited herein.
The embodiment of the application provides a method for sending prompt information. When the distribution information which is sent by the terminal and comprises the user information is received, the content of the prompt information which is sent to the terminal is determined by determining whether the user terminal is connected to the appointed wireless local area network, so that the flexibility of information prompt is improved.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for sending hint information according to the present embodiment. In the application scenario 300 of fig. 3, the server 301 receives delivery information including user information (user account "Amy") transmitted from the target terminal (delivery side) device 302, and determines whether or not the user side 303 corresponding to the user information (user account "Amy") has access to the target wireless local area network (wireless local area network name "family"). In response to determining that the user terminal 303 has access to the target wireless local area network (wireless local area network name "family"), a first prompt message ("user account" Amy "is at home") is sent to the target terminal (delivery terminal) 302.
The method for sending the prompt message provided by the embodiment of the application receives the delivery message which is sent by the delivery terminal and comprises the user account, and determines the content of the prompt message sent to the terminal by determining whether the user terminal corresponding to the user account is accessed to the appointed wireless local area network. Therefore, the flexibility of information prompt is improved, and the prompt function of the information is enriched.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method for transmitting a hint is shown. The process 400 of the method for sending a hint information includes the steps of:
step 401, in response to receiving the delivery information including the user information sent by the target terminal, it is determined whether the user terminal corresponding to the user information has accessed the target wireless lan.
In this embodiment, the specific operation of step 401 is substantially the same as that of step 201 in the embodiment shown in fig. 2, and will not be described herein.
In response to determining that the user terminal does not access the target wireless local area network, a determination is made as to whether there is at least one associated user information corresponding to the user information, step 402.
In this embodiment, the user information and the associated user information satisfy a preset correspondence. The correspondence may be a one-to-many correspondence table of preset user information and associated user information. The correspondence may be a preset correspondence table formed by a plurality of user information groups, and the user information in the user information groups may be associated user information.
In this embodiment, whether at least one associated user information corresponding to the user information exists may be determined by the user information and the associated user information satisfying a preset correspondence. As an example, the associated user information corresponding to the user information may be searched from the correspondence table, and if so, it is determined that at least one associated user information corresponding to the user information exists. If not, determining that at least one piece of associated user information corresponding to the user information does not exist.
Step 403, in response to determining that at least one associated user information corresponding to the user information exists, determining whether an associated user terminal having accessed the target wireless local area network exists in the associated user terminals corresponding to the at least one associated user information.
In this embodiment, for the associated user information in the at least one associated user information, it is determined whether the associated user terminal corresponding to the associated user information has accessed the target wireless local area network, by acquiring the name of the wireless local area network accessed by the associated user terminal, it is determined whether the name of the accessed wireless local area network matches with the name of the target wireless local area network, and if so, it is determined that the associated user terminal has accessed the target wireless local area network.
In this embodiment, the association user information and the association user end satisfy a preset correspondence. As an example, if the associated user information is a user account, the associated user may be a user that logs in using the user account.
And step 404, in response to determining that the associated user terminal accessed to the target wireless local area network exists, sending second prompt information to the target terminal.
In this embodiment, the second prompt information may be any specified prompt information. As an example, the second prompting information may include information that the associated user terminal corresponding to the associated user information corresponding to the user information has accessed the target wireless lan, may include current location information of the associated user terminal corresponding to the associated user information corresponding to the user information (for example, "the associated user of the user is currently at home"), or may be other information set according to the needs of the actual application scenario, which is not limited herein.
In some optional implementations of this embodiment, in response to determining that there is no at least one associated user information corresponding to the user information or determining that there is no associated user end that has access to the target wireless local area network in the associated user end corresponding to the at least one associated user information, third prompt information is sent to the target terminal.
In this embodiment, the third prompt information may be any specified prompt information. As an example, the third prompting information may include information that the associated ue corresponding to the ue does not access the target wlan, may include information that the ue does not access the target wlan, or may include other information that is set according to a requirement of an actual application scenario, which is not limited herein.
In some optional implementations of this embodiment, the determining whether the associated ue that has been accessed to the target wlan exists in the associated ue corresponding to the at least one associated ue information includes: for the associated user information in the at least one associated user information, determining whether an associated user terminal corresponding to the associated user information is accessed to the wireless local area network; responding to the determined access, and acquiring the name of the wireless local area network accessed by the associated user terminal; determining whether a name of a wireless local area network matched with the name of the target wireless local area network exists in the acquired names of at least one wireless local area network; and in response to the determination of existence, determining that the associated user end which is accessed to the target wireless local area network exists in the associated user ends corresponding to the at least one piece of associated user information.
In some optional implementations of this embodiment, in response to determining that a name of the wireless local area network that matches the name of the target wireless local area network does not exist in the acquired names of the at least one wireless local area networks, it is determined that an associated user terminal that has accessed the target wireless local area network does not exist in the associated user terminals corresponding to the at least one associated user information.
Whether the names of the wireless lan are matched with the names of the target wireless lan may be determined by whether the names of the two are the same, or may be determined by whether the names of the two satisfy a specified similarity relationship (for example, "ABCD123" is matched with "ABCD 123"), or may be matched with other correspondence relationships, which is not limited herein.
In some optional implementations of this embodiment, the determining whether there is at least one associated user information corresponding to the user information includes: determining whether at least one associated user information corresponding to the user information exists from a pre-stored associated user information table, wherein the associated user information table is obtained through the following steps: for a user terminal in a preset user terminal set, determining whether the number of times that the user terminal accesses the same wireless local area network in a preset time period is greater than a preset number of times, and adding user information corresponding to the user terminal and the name of the wireless local area network accessed by the user terminal into a preset corresponding relation table in response to the determination that the number of times is greater than the preset number of times; and determining at least one piece of user information matched with the name of the wireless local area network in the corresponding relation table as an associated user information group, and generating an associated user information table based on the at least one associated user information group.
The user information which matches the names of the wireless local area networks forms an associated user information group, and the user information in the associated user information group is the associated user information. The associated user information table may be an associated user information group set formed by at least one associated user information group. The above-mentioned associated user information table may be a table composed of associated user information groups and corresponding wireless lan names, and the wireless lan names may be used as the group names of the associated user information groups, and the group names are the wireless lan names and the group members are the associated user information for each associated user information group.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the flow 400 of the method for sending the prompt message in this embodiment reflects the processing method that the ue does not access the target wlan. Therefore, the scheme described in the embodiment can enrich the mode of sending the prompt information, and further meets the personalized requirements of users.
With further reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present application provides an embodiment of an apparatus for sending a prompt message, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 5, the apparatus 500 for sending a prompt message according to the embodiment includes: a first determining unit 501 configured to determine, in response to receiving delivery information including user information sent by a target terminal, whether a user terminal corresponding to the user information has accessed a target wireless lan; the first sending unit 502 is configured to send a first hint information to the target terminal in response to determining that the user side has access to the target wireless local area network.
It will be appreciated that the elements described in the apparatus 500 correspond to the various steps in the method described with reference to fig. 2. Thus, the features and advantages described above for the method are equally applicable to the apparatus 500 and the units contained therein, and are not described here again.
In some optional implementations of this embodiment, the apparatus may further include a second determining unit, a third determining unit, and a second transmitting unit (not shown in the figure). Wherein the second determining unit is configured to determine whether at least one associated user information corresponding to the user information exists in response to determining that the user terminal is not connected to the target wireless lan. The third determining unit is configured to determine whether an associated user terminal having access to the target wireless local area network exists among the associated user terminals corresponding to the at least one associated user information in response to determining that the at least one associated user information corresponding to the user information exists. The second sending unit is configured to send a second prompt message to the target terminal in response to determining that there is an associated user terminal that has accessed the target wireless local area network.
In some optional implementations of this embodiment, the foregoing apparatus may further include: a third transmitting unit (not shown in the figure). The third transmitting unit may be configured to transmit third hint information to the target terminal in response to determining that there is no at least one associated user information corresponding to the user information or determining that there is no associated user terminal that has accessed the target wireless local area network among the associated user terminals corresponding to the at least one associated user information.
In some optional implementations of this embodiment, the third determining unit is further configured to: for the associated user information in the at least one associated user information, determining whether an associated user terminal corresponding to the associated user information is accessed to the wireless local area network; responding to the determined access, and acquiring the name of the wireless local area network accessed by the associated user terminal; determining whether a name of a wireless local area network matched with the name of the target wireless local area network exists in the acquired names of at least one wireless local area network; in response to the determination of existence, determining that an associated user terminal accessed to the target wireless local area network exists in the associated user terminals corresponding to the at least one associated user information; and in response to the determination that the target wireless local area network does not exist, determining that the associated user end which is accessed to the target wireless local area network does not exist in the associated user ends corresponding to the at least one piece of associated user information.
In some optional implementations of this embodiment, the second determining unit is further configured to: determining whether at least one associated user information corresponding to the user information exists from a pre-stored associated user information table, wherein the associated user information table is obtained through the following steps: for a user terminal in a preset user terminal set, determining whether the number of times that the user terminal accesses the same wireless local area network in a preset time period is greater than a preset number of times, and adding user information corresponding to the user terminal and the name of the wireless local area network accessed by the user terminal into a preset corresponding relation table in response to the determination that the number of times is greater than the preset number of times; and determining the user information group with the names matched with the wireless local area network in the corresponding relation table as an associated user information group, and combining the associated user information group into an associated user information table.
It will be appreciated that the elements described in the above alternative implementation of the present embodiment correspond to the individual steps in the method described with reference to fig. 4. Thus, the features and advantages described above for the method are equally applicable to the apparatus in the above alternative implementation and the units contained therein, and are not described here again.
Referring now to FIG. 6, there is illustrated a schematic diagram of a computer system 600 suitable for use with a server embodying embodiments of the present application. The server illustrated in fig. 6 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, mouse, touch screen, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on drive 610 so that a computer program read therefrom is installed as needed into storage section 608.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and/or installed from the removable medium 611. The above-described functions defined in the method of the present application are performed when the computer program is executed by a Central Processing Unit (CPU) 601. The computer readable medium of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented in software or in hardware. The described units may also be provided in a processor, for example, described as: a processor includes a first determination unit and a first transmission unit. The names of these units do not limit the unit itself in some cases, and for example, the first transmitting unit may also be described as "a unit that transmits the first hint information to the target terminal" described above.
As another aspect, the present application also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: responding to the received distribution information which is sent by the target terminal and comprises user information, and determining whether a user terminal corresponding to the user information is accessed to the target wireless local area network; and responding to the determination that the user terminal is accessed to the target wireless local area network, and sending first prompt information to the target terminal. This embodiment enriches the information presentation.
The above description is only illustrative of the preferred embodiments of the present application and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the application referred to in the present application is not limited to the specific combinations of the technical features described above, but also covers other technical features formed by any combination of the technical features described above or their equivalents without departing from the inventive concept described above. Such as the above-mentioned features and the technical features disclosed in the present application (but not limited to) having similar functions are replaced with each other.