Information sending method, third-party platform, equipment and medium
Cross-platform information exchange is realized through third-party platforms, solving the problems of closedness of social platforms and cumbersome account management. Users can register on one platform to interact with users on other platforms, and ensure information security through encryption.
Patent Information
- Application Number
- CN202211579680.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-08
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-12-08
AI Technical Summary
The closedness of existing social platforms makes it impossible for users to communicate information across platforms, and account management is cumbersome and easy to lead to information leakage.
Provides an information sending method and a third-party platform, allowing users to log in to a third-party platform on a social platform, send information to accounts on other social platforms through the platform, realize cross-platform information exchange, and ensure information security through encryption.
Users only need to register an account on one social platform to communicate information with users on other platforms, expanding the scope of social interaction, reducing the cumbersome management of accounts and passwords, and ensuring information security through encryption.
Smart Images

Figure CN116016419B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of information sending, and in particular, relates to an information sending method, a third-party platform, a device and a medium. Background Art
[0002] Currently, all social platforms are closed, that is, users can only communicate with other users on the same social platform. If users want to communicate with users on other social platforms, they must register an account on the corresponding social platform. With the establishment of multiple accounts, account management has also become a problem. If the account and password are repeated, it is easy to cause information leakage. If the account and password are not repeated, it is also troublesome to remember the account and password.
[0003] Therefore, there is an urgent need for an information sending method and a third-party platform to help users achieve cross-platform information exchange. Summary of the invention
[0004] The embodiments of the present application provide an information sending method, a third-party platform, a device and a medium, which can realize cross-platform information exchange.
[0005] In a first aspect, an embodiment of the present application provides an information sending method, which is applied to a third-party platform. The information sending method includes:
[0006] When the first account on the first social platform logs in to the third-party platform, displaying candidate services, where the candidate services at least include an information sending service;
[0007] In response to an operation of selecting an information sending service from candidate services, displaying information recipient options;
[0008] In response to a filling operation of filling in a recipient in the information recipient option, determining a second account on the second social platform, where the second account on the second social platform is a registered account on the third-party platform;
[0009] In response to a sending operation of sending the target information, sending the target information to a network address corresponding to a second account on a second social platform;
[0010] The target information is displayed on a second account on a second social platform.
[0011] In some embodiments of the present application, before the first account on the first social platform logs in to the third-party platform, the information sending method further includes:
[0012] Get the first account;
[0013] Searching for user data corresponding to the first account from a database of the third-party platform;
[0014] When user data corresponding to the first account is found, the first account on the first social platform is allowed to log in to the third-party platform.
[0015] In some embodiments of the present application, the first account includes at least a first digital account identifier, and the user data of each storage area in the database is sorted according to a preset order of the digital account identifiers of the user data; searching the database of the third-party platform for user data corresponding to the first account includes:
[0016] Obtaining a platform identifier of the first social platform, and determining a first storage area corresponding to the platform identifier of the first social platform in a database according to the platform identifier of the first social platform;
[0017] The i-th digit a(i) in the first digital account identifier and the n2-th user data in the first storage area are obtained, the n2-th user data is used as comparison data, and the i-th digit of the digital account identifier of the comparison data is recorded as b(i), where the initial value of i is 1, wherein, Wherein, n is the number of user data items contained in the first storage area;
[0018] Compare the size of b(i) and a(i) to obtain the comparison result;
[0019] If b(i) = a(i), update the value of i according to i = i + 1;
[0020] If i=m+1, the search process ends and the preset identifier is set to the first character, where m is the number of digits of the first digital account identifier, and the first character is used to indicate that the user data corresponding to the first account is found in the database;
[0021] If i≤m, the process returns to the step of acquiring the n2th piece of user data in the first storage area, and uses the n2th piece of user data as comparison data, until i=m+1.
[0022] In some embodiments of the present application, the information sending method further includes:
[0023] If b(i)>a(i), remove the n2th and subsequent user data in the first storage area to obtain updated user data in the first storage area, and recalculate the value of n;
[0024] If n=0, the search process is terminated, and the preset identifier is set to the second character, wherein the second character is used to indicate that the user data corresponding to the first account is not found in the database;
[0025] If n≠0, the process returns to execute to obtain the n2th piece of user data in the first storage area, and uses the n2th piece of user data as comparison data, until n=0.
[0026] In some embodiments of the present application, the information sending method further includes:
[0027] If b(i)<a(i), exclude the n2th and previous user data in the first storage area, obtain updated user data in the first storage area, and recalculate the value of n;
[0028] If n=0, the search process is terminated, and the preset identifier is set to the second character, wherein the second character is used to indicate that the user data corresponding to the first account is not found in the database;
[0029] If n≠0, the process returns to execute to obtain the n2th piece of user data in the first storage area, and uses the n2th piece of user data as comparison data, until n=0.
[0030] In some embodiments of the present application, after determining the second account on the second social platform and before sending the target information to the network address corresponding to the second account on the second social platform, the information sending method further includes:
[0031] Searching for user data corresponding to the second account from a database of the third-party platform, wherein the user data at least includes: a network address corresponding to the second account;
[0032] Get the network address corresponding to the second account.
[0033] In some embodiments of the present application, before sending the target information to the network address corresponding to the second account on the second social platform, the information sending method further includes:
[0034] Encrypting the target information according to a first preset encryption method to obtain encrypted target information;
[0035] Sending the target information to a network address corresponding to a second account on a second social platform includes:
[0036] Sending the encrypted target information to a network address corresponding to a second account on a second social platform;
[0037] Before displaying the target information on the second account of the second social platform, the information sending method further includes:
[0038] Decrypting the encrypted target information according to a first preset decryption method to obtain decrypted target information;
[0039] Displaying the target information on the second account on the second social platform includes:
[0040] The decrypted target information is displayed on the second account of the second social platform.
[0041] In a second aspect, an embodiment of the present application provides a third-party platform, including:
[0042] A first port module, configured to display candidate services when a first account on a first social platform logs in to a third-party platform, the candidate services at least including an information sending service;
[0043] An information sending module, configured to display information receiving object options in response to an operation of selecting an information sending service from candidate services;
[0044] In response to a filling operation of filling in a recipient in the information recipient option, determining a second account on the second social platform, where the second account on the second social platform is a registered account on the third-party platform;
[0045] In response to a sending operation of sending the target information, sending the target information to a network address corresponding to a second account on a second social platform;
[0046] The first port module is also used to display the target information on the second account of the second social platform.
[0047] In some embodiments of the present application, the third-party platform further includes:
[0048] The information confidentiality module includes an encryption component and a decryption lock, the encryption component includes a movable lock and an encryption lock; the movable lock is provided with a key chamber and an address verifier, and the address verifier includes an address memory and an address reader;
[0049] An information confidentiality module, used to copy the encryption component and the decryption lock before sending the target information to the network address corresponding to the second account on the second social platform, send the copied encryption component to the first account, and send the copied decryption lock to the information sending module;
[0050] receiving the input key through the copied active lock element and storing the key in the key chamber;
[0051] The target information is encrypted by using the key through the copied encryption lock element to obtain the encrypted target information, and the encrypted target information and the copied active lock element are sent to the information sending module;
[0052] The information sending module is further used to put the network address corresponding to the second account into the address memory of the copied active lock element;
[0053] Sending the encrypted target information, the copied active lock element, and the copied decrypted lock element to the network address corresponding to the second account;
[0054] The information confidentiality module is further used to send the key to the copied decryption lock component through the copied active lock component when the copied address verifier detects that the network address information is consistent with the network address information corresponding to the second account stored in the copied memory, and the copied decryption lock component decrypts the encrypted target information according to the key to obtain the decrypted target information;
[0055] The first port module is also used to display the decrypted target information on the second account of the second platform.
[0056] In a third aspect, an embodiment of the present application provides an information sending device, the information sending device comprising: a processor and a memory storing computer program instructions;
[0057] When the processor executes the computer program instructions, it implements the information sending method provided in any one of the above-mentioned embodiments of the present application.
[0058] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, an information sending method provided in any one of the above-mentioned embodiments of the present application is implemented.
[0059] In a fifth aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes an information sending method provided in any one of the above-mentioned embodiments of the present application.
[0060] According to an information sending method, a third-party platform, a device and a medium provided in an embodiment of the present application, when a first account on a first social platform logs in to a third-party platform, an information sending service is provided for the first account, and the target information is sent to the network address corresponding to the second account on the second social platform according to the receiving object and target information filled in by the user to which the first account belongs. In this way, the first account on the first social platform and the second account on the second social platform can realize information exchange. Therefore, the user only needs to register an account on one social platform, and can rely on the information sending method provided in the embodiment of the present application to communicate information with users on other social platforms, thereby realizing cross-platform information exchange, further expanding the social scope, and reducing the cumbersomeness of account and password management. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0062] Figure 1 It is a connection relationship diagram between a third-party platform and other social platforms provided in an embodiment of the present application;
[0063] Figure 2 It is a flowchart of an information sending method provided in an embodiment of the present application;
[0064] Figure 3 It is a flowchart of another information sending method provided in an embodiment of the present application;
[0065] Figure 4 It is a flowchart of account search in another information sending method provided in an embodiment of the present application;
[0066] Figure 5 It is a flowchart of another information sending method provided in an embodiment of the present application;
[0067] Figure 6 It is a flowchart of another information sending method provided in an embodiment of the present application;
[0068] Figure 7 It is a structural diagram of a third-party platform provided in an embodiment of the present application;
[0069] Figure 8 is a schematic diagram of the structure of another third-party platform provided in an embodiment of the present application;
[0070] Fig. 9 It is a structural diagram of an information sending device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0071] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0072] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0073] In order to solve the problem in the prior art that users cannot exchange information across platforms, the embodiments of the present application provide an information sending method and a third-party platform that can realize cross-platform information exchange.
[0074] According to an information sending method and a third-party platform provided in an embodiment of the present application, when a first account on a first social platform logs in to a third-party platform, an information sending service is provided for the first account, and the target information is sent to the network address corresponding to the second account on the second social platform according to the filled-in receiving object and target information. In this way, the first account on the first social platform and the second account on the second social platform can realize information exchange. Therefore, the user only needs to register an account on one social platform, and can rely on the information sending method provided in the embodiment of the present application to exchange information with users on other social platforms, thereby realizing cross-platform information exchange, further expanding the social scope, and reducing the cumbersomeness of account and password management.
[0075] A third-party platform provided in an embodiment of the present application is a public platform that can connect to multiple social platforms. The embodiment of the present application takes an example of an application scenario in which a third-party platform is used to connect to a first social platform and a second social platform.
[0076] Figure 1 This is a connection relationship diagram between a third-party platform and other social platforms provided in an embodiment of the present application.
[0077] The third-party platform 200 is connected to the first social platform 100 and the second social platform 300. Specifically, the third-party platform 200 can establish a connection with the first social platform 100 and the second social platform 300 by establishing a connection port on the two platforms.
[0078] For example, the first social platform 200 is platform A, and the second social platform 300 is platform B. The third-party platform 200 can establish connections with the two social platforms by establishing connection ports on platform A and platform B respectively.
[0079] The following describes in detail the information sending method provided in the embodiment of the present application through specific embodiments and application scenarios in conjunction with the accompanying drawings.
[0080] Figure 2 It is a flow chart of an information sending method provided in an embodiment of the present application. The executor of the information sending method is a third-party platform. The information sending method may include steps 101 to 105.
[0081] Step 101: When a first account on a first social platform logs in to a third-party platform, candidate services are displayed, where the candidate services at least include an information sending service.
[0082] The third-party platform can establish a connection port on the first social platform. After the first account logs in to the first social platform, the login interface of the third-party platform can be entered through the connection port, and then the third-party platform can be logged in through the first account.
[0083] For example, the first social platform is platform A, and the first account can log in to the third-party platform through the connection port on platform A.
[0084] When a first account on a first social platform logs in to a third-party platform, a candidate service page may be displayed on the first account, the candidate service page including at least a messaging service, so that a user of the first account may select the messaging service by clicking on the service.
[0085] The candidate service page may also include a deregistration service. If the user of the first account no longer wants to exchange information with users of other platforms through the third-party platform, and no longer wants to be disturbed by users of other platforms, the user of the first account may choose to deregister the service. In response to the operation of selecting the deregistration service from the candidate services, the third-party platform may deregister the first account and delete the user data corresponding to the first account in the database.
[0086] In addition, if the first account is not a registered account on the third-party platform, before step 101, the third-party platform may also provide a registration service to obtain the user's user data, which may include the platform identifier of the first social platform, the first account, and the network address, and then save the user's user data to a database so that the user can use the first account in the user data to log in to the third-party platform to communicate with users of other platforms.
[0087] Step 102: In response to the operation of selecting an information sending service from candidate services, information recipient options are displayed.
[0088] After the user selects a message sending service, the third-party platform may provide a message recipient option in response to the operation of selecting the message sending service from the candidate services, so that the user may fill in the recipient to whom he or she wants to send the message.
[0089] The information receiving object may be one or more than one. When there are more than one information receiving objects, the user can send information to multiple receiving objects at the same time through one information sending operation, so as to improve the efficiency of information sending.
[0090] Step 103: In response to the filling operation of filling in the recipient in the information recipient option, a second account on the second social platform is determined, and the second account on the second social platform is a registered account on the third-party platform.
[0091] The user to whom the second account belongs can register on the third-party platform through the connection port on the second social platform, and the registered account is the second account. For example, the second social platform is platform B, and the user to whom the second account belongs enters the third-party platform through the connection port on platform B and completes the registration, and the registered account is the second account.
[0092] When filling in the recipient, the user to whom the first account belongs can fill in the form by directly entering the second account.
[0093] In some embodiments of the present application, if the first account has previously sent information to the second account through a third-party platform, the local device logged in to the first account can also prompt the user of the first account whether to send information to the second account through the previous sending record, so that the user of the first account can enter the second account by direct selection.
[0094] Step 104: In response to the sending operation of sending the target information, the target information is sent to a network address corresponding to the second account on the second social platform.
[0095] After determining the recipient, the user of the first account can input the information he wants to send, i.e., the target information, which can be a message, file, etc. The third-party platform responds to the sending operation of sending the target information and sends the target information to the network address corresponding to the second account on the second social platform.
[0096] Step 105: Display the target information on the second account on the second social platform.
[0097] After the third-party platform sends the target information to the network address corresponding to the second account on the second social platform, the target information can be displayed on the second account on the second social platform. In this way, the third-party platform successfully sends the target information from the first account on the first social platform to the second account on the second social platform, and cross-platform information exchange is realized between different accounts on different platforms.
[0098] According to an information sending method and a third-party platform provided in an embodiment of the present application, when a first account on a first social platform logs in to a third-party platform, an information sending service is provided for the first account, and the target information is sent to the network address corresponding to the second account on the second social platform according to the receiving object and target information filled in by the user to which the first account belongs. In this way, the first account on the first social platform and the second account on the second social platform can realize information exchange. Therefore, the user only needs to register an account on one social platform, and can rely on the information sending method provided in the embodiment of the present application to communicate information with users on other social platforms, thereby realizing cross-platform information exchange, further expanding the social scope, and reducing the cumbersomeness of account and password management.
[0099] Figure 3 It is a flowchart of another information sending method provided in an embodiment of the present application.
[0100] In some embodiments of the present application, before the first account on the first social platform logs in to the third-party platform, that is, before the above step 101, the information sending method further includes steps 110-130.
[0101] Step 110: Obtain a first account.
[0102] Before the first account on the first social platform logs in to the third-party platform, the third-party platform can display a login page for the first account, and the user to whom the first account belongs can enter login information in the login page, that is, enter the first account and password information, and the third-party platform can obtain the first account and password information.
[0103] Step 120: Search the database of the third-party platform for user data corresponding to the first account.
[0104] The database of the third-party platform stores user data corresponding to all accounts registered on the third-party platform. After obtaining the first account, the user data corresponding to the first account can be searched from the database of the third-party platform to verify whether the first account is a registered account of the third-party platform.
[0105] Step 130: When the user data corresponding to the first account is found, the first account on the first social platform is allowed to log in to the third-party platform.
[0106] When the user data corresponding to the first account is found, it is indicated that the first account is a registered account of the third-party platform. At this time, the first account on the first social platform is allowed to log in to the third-party platform.
[0107] In some embodiments of the present application, the database of the third-party platform stores the user data of all registered users, and each piece of user data may include the platform identifier of the social platform, the user account and the network address. For example, when a user to whom a first account belongs registers on a third-party platform through a connection port on platform A, the third-party platform may obtain the platform identifier of platform A, the first account and the network address of the first account, and store them in association.
[0108] When storing user data, the database may be divided into different storage areas according to the platform identifier, so that user data of different social platforms can be stored in their respective corresponding storage areas.
[0109] For example, if the first account is registered on a third-party platform through the connection port on platform A, the user data of the first account will be saved in the storage area corresponding to platform A in the database. If the second account is registered on a third-party platform through the connection port on platform B, the user data of the second account will be saved in the storage area corresponding to platform B in the database.
[0110] In some embodiments of the present application, the first account includes at least a first digital account identifier, and the user data of each storage area in the database is sorted according to a preset order of the digital account identifier of the user data. The first digital account identifier can be a mobile phone number of the user to which the first account belongs, wherein the preset order can be an order from small to large.
[0111] Figure 4 It is a flowchart of account search in another information sending method provided in an embodiment of the present application.
[0112] Searching for user data corresponding to the first account from the database of the third-party platform, that is, the above step 120, includes the following steps:
[0113] Step 121: Obtain a platform identifier of a first social platform, and determine a first storage area corresponding to the platform identifier of the first social platform in a database according to the platform identifier of the first social platform;
[0114] Step 122: Obtain the ith digit a(i) in the first digital account identifier and the n2th user data in the first storage area, use the n2th user data as comparison data, and record the ith digit of the digital account identifier of the comparison data as b(i), where the initial value of i is 1, wherein, Wherein, n is the number of user data items contained in the first storage area;
[0115] Step 123, compare b(i) and a(i) to obtain a comparison result;
[0116] Step 123-1, if b(i)=a(i), update the value of i according to the method of i=i+1;
[0117] Step 124: if i=m+1, then the search process is terminated, and the preset identifier is set to the first character, where m is the number of digits of the first digital account identifier, and the first character is used to indicate that the user data corresponding to the first account is found in the database;
[0118] If i≤m, the process returns to executing to obtain the n2th piece of user data in the first storage area, and uses the n2th piece of user data as comparison data, until i=m+1, that is, returns to step 122 .
[0119] In this way, by comparing the first digital account identifier of the first account with the data account identifier in the database, it is possible to quickly determine whether user data corresponding to the first account is stored in the database, so as to determine whether the first account is a registered account of the third-party platform, and then decide whether to provide information sending services for the first account.
[0120] In some embodiments of the present application, the information sending method further includes:
[0121] Step 123-2: if b(i)>a(i), remove the n2th and subsequent user data in the first storage area to obtain updated user data in the first storage area, and recalculate the value of n;
[0122] Step 125: if n=0, the search process is terminated, and the preset identifier is set to the second character, wherein the second character is used to indicate that the user data corresponding to the first account is not found in the database;
[0123] If n≠0, the process returns to executing to obtain the n2th piece of user data in the first storage area, and uses the n2th piece of user data as comparison data, until n=0, that is, returns to step 122 .
[0124] In some embodiments of the present application, the information sending method further includes:
[0125] Step 123-3: if b(i)<a(i), exclude the n2th and earlier user data in the first storage area, obtain updated user data in the first storage area, and recalculate the value of n;
[0126] Step 126: if n=0, the search process is terminated, and the preset identifier is set to the second character, wherein the second character is used to indicate that the user data corresponding to the first account is not found in the database;
[0127] If n≠0, the process returns to executing to obtain the n2th piece of user data in the first storage area, and uses the n2th piece of user data as comparison data, until n=0, that is, returns to step 122 .
[0128] The above steps are a proportional search method, which can gradually narrow the search area and quickly determine whether user data corresponding to the first account is stored in the database to determine whether the first account is a registered account of the third-party platform, and then decide whether to provide information sending services for the first account.
[0129] In some embodiments of the present application, the first account further includes a first text account identifier, and the first text account identifier may be a real name of a user to which the first account belongs, or may be a nickname of the user.
[0130] After finding the user data corresponding to the first digital account identifier in the database, the first text account identifier can be compared with the text account identifier in the found user data. When the two are consistent, the user data is determined to be the user data corresponding to the first account, which can further improve the accuracy of account search.
[0131] Figure 5 It is a flowchart of another information sending method provided in an embodiment of the present application.
[0132] In some embodiments of the present application, after determining the second account on the second social platform and before sending the target information to the network address corresponding to the second account on the second social platform, that is, before the above step 103 and after the above step 104, the information sending method further includes steps 140 and 150:
[0133] Step 140: Search the database of the third-party platform for user data corresponding to the second account, wherein the user data at least includes: a network address corresponding to the second account.
[0134] The above steps 121 to 126 may be used to search the database for user data corresponding to the second account, and the accuracy of account search may be further improved by using text identifier comparison.
[0135] Step 150: Obtain the network address corresponding to the second account.
[0136] After finding the user data corresponding to the second account, the network address corresponding to the second account can be obtained from the user data, so that the third-party platform can send the target information to the network address corresponding to the second account, and then display it to the user of the second account for viewing.
[0137] Figure 6 It is a flow chart of another information sending method provided in an embodiment of the present application.
[0138] In some embodiments of the present application, before sending the target information to the network address corresponding to the second account on the second social platform, that is, before the above step 104, the information sending method further includes:
[0139] Step 160: Encrypt the target information according to a first preset encryption method to obtain encrypted target information.
[0140] In order to improve the security of information transmission, the target information can be encrypted according to a first preset encryption method to obtain the encrypted target information, wherein the first preset encryption method can adopt a symmetric encryption method, receive a key input by a first account, and use the key to encrypt the target to obtain the encrypted target information.
[0141] Sending the target information to a network address corresponding to a second account on a second social platform includes:
[0142] Step 170: Send the encrypted target information to the network address corresponding to the second account on the second social platform.
[0143] After the target information is encrypted according to the first preset method, the encrypted target information can be sent to the network address corresponding to the second account on the second social platform.
[0144] Before displaying the target information on the second account of the second social platform, that is, before the above step 105, the information sending method further includes:
[0145] Step 180: decrypt the encrypted target information according to a first preset decryption method to obtain decrypted target information.
[0146] After determining to send the encrypted target information to the network address corresponding to the second account, the encrypted target information can be decrypted according to the first preset decryption method.
[0147] For example, the third-party platform can obtain the encryption key when the user belonging to the first account encrypts the target information. After determining to send the encrypted target information to the network address corresponding to the second account, the third-party platform can use the obtained encryption key to decrypt the target information so that the user belonging to the second account can view the decrypted target information. The specific encryption and decryption process will be described in detail when introducing the third-party platform.
[0148] Displaying the target information on the second account on the second social platform includes:
[0149] Step 190: Display the decrypted target information on the second account on the second social platform.
[0150] After the target information is decrypted, the decrypted target information may be displayed on the second account of the second social platform, so that the user to whom the second account belongs may view the decrypted target information.
[0151] The third-party platform provided in the embodiment of the present application is described in detail below through specific embodiments in conjunction with the accompanying drawings.
[0152] Figure 7 2 is a schematic diagram of a third-party platform provided in an embodiment of the present application. The third-party platform 200 includes:
[0153] The first port module 210 is used to display candidate services when the first account on the first social platform logs in to the third-party platform, and the candidate services at least include an information sending service.
[0154] In some embodiments of the present application, the first port module 210 may include an interface unit, a distribution unit, and a processing unit. One interface unit corresponds to one distribution unit and multiple processing units. The processing capacity R of the third-party platform satisfies the following formula:
[0155] R=a·v·b
[0156] Among them, R is the processing capacity of the third-party platform, a is the number of interface units, b is the number of allocation units, and v is the processing speed of the processing unit.
[0157] When a processing unit is connected to a user, the processing unit is in a busy state, and when the processing unit is disconnected from the user, the processing unit is in an idle state. Different tag values can be assigned to the processing unit to indicate the state of the processing unit. For example, when the tag is 1, it indicates a busy state, and when the tag is 0, it indicates an idle state.
[0158] The allocation unit can count the tag values of all processing units in real time. The allocation unit will transfer the newly connected user to the processing unit with a tag value of 0. After the transfer, the tag value of the processing unit will be set to 1. When the processing unit is disconnected from the user, the processing unit sends idle information to the allocation unit. After receiving the idle information, the allocation unit sets the tag value of the processing unit to 0.
[0159] The information sending module 220 is used to display information recipient options in response to an operation of selecting an information sending service from candidate services.
[0160] In response to a filling operation of filling in a recipient in the information recipient option, a second account on the second social platform is determined, and the second account on the second social platform is a registered account on the third-party platform.
[0161] In response to a sending operation of sending the target information, the target information is sent to a network address corresponding to the second account on the second social platform.
[0162] The first port module 210 is further used to display the target information on the second account of the second social platform.
[0163] A third-party platform provided in an embodiment of the present application provides an information sending service for the first account when the first account on the first social platform logs in to the third-party platform, and sends the target information to the network address corresponding to the second account on the second social platform according to the receiving object and target information filled in by the user to which the first account belongs. In this way, the first account on the first social platform and the second account on the second social platform can realize information exchange. Therefore, the user only needs to register an account on one social platform, and can rely on the information sending method provided in the embodiment of the present application to exchange information with users on other social platforms, thereby realizing cross-platform information exchange, further expanding the social scope, and reducing the cumbersomeness of account and password management.
[0164] Figure 8 It is a structural diagram of another third-party platform provided in an embodiment of the present application.
[0165] In some embodiments of the present application, the third-party platform 200 further includes:
[0166] The storage unit 230 includes a database for storing user data corresponding to all registered accounts.
[0167] In some embodiments of the present application, the third-party platform 200 further includes:
[0168] A first search module 240 is used to obtain the first account on the first social platform before the first account logs in to the third-party platform;
[0169] Searching for user data corresponding to the first account from a database 230 of the third-party platform;
[0170] When user data corresponding to the first account is found, the first account on the first social platform is allowed to log in to the third-party platform.
[0171] In some embodiments of the present application, the first account includes at least a first digital account identifier, and the user data in different storage areas of the database 230 are sorted according to a preset order of the digital account identifiers of the user data.
[0172] The first search module 240 is specifically used to search the user data corresponding to the first account from the database 230 of the third-party platform through the following steps;
[0173] Obtaining a platform identifier of the first social platform, and determining a first storage area corresponding to the platform identifier of the first social platform in a database according to the platform identifier of the first social platform;
[0174] The i-th digit a(i) in the first digital account identifier and the n2-th user data in the first storage area are obtained, the n2-th user data is used as comparison data, and the i-th digit of the digital account identifier of the comparison data is recorded as b(i), where the initial value of i is 1, wherein, Wherein, n is the number of user data items contained in the first storage area;
[0175] Compare the size of b(i) and a(i) to obtain the comparison result;
[0176] If b(i) = a(i), update the value of i according to i = i + 1;
[0177] If i=m+1, the search process ends and the preset identifier is set to the first character, where m is the number of digits of the first digital account identifier, and the first character is used to indicate that the user data corresponding to the first account is found in the database;
[0178] If i≤m, return to execute to obtain the n2th user data in the first storage area, and use the n2th user data as comparison data until i=m+1;
[0179] If b(i)>a(i), remove the n2th and subsequent user data in the first storage area to obtain updated user data in the first storage area, and recalculate the value of n;
[0180] If n=0, the search process is terminated, and the preset identifier is set to the second character, wherein the second character is used to indicate that the user data corresponding to the first account is not found in the database;
[0181] If n≠0, return to execute to obtain the n2th user data in the first storage area, and use the n2th user data as comparison data until n=0;
[0182] If b(i)<a(i), exclude the n2th and previous user data in the first storage area, obtain updated user data in the first storage area, and recalculate the value of n;
[0183] If n=0, the search process is terminated, and the preset identifier is set to the second character, wherein the second character is used to indicate that the user data corresponding to the first account is not found in the database;
[0184] If n≠0, the process returns to execute to obtain the n2th piece of user data in the first storage area, and uses the n2th piece of user data as comparison data, until n=0.
[0185] The above steps are a proportional search method, which can gradually narrow the search area and quickly determine whether user data corresponding to the first account is stored in the database to determine whether the first account is a registered account of the third-party platform, and then decide whether to provide information sending services for the first account.
[0186] In some embodiments of the present application, the third-party platform further includes: a second search module 250, which is used to search for user data corresponding to the second account from a database of the third-party platform after determining the second account on the second social platform and before sending the target information to the network address corresponding to the second account on the second social platform, wherein the user data at least includes: the network address corresponding to the second account;
[0187] Get the network address corresponding to the second account.
[0188] In some embodiments of the present application, the first search module 240 and the second search module 250 may be the same search module, that is, one search module completes the search for user data corresponding to the first account and the second account.
[0189] In some embodiments of the present application, the third-party platform 200 further includes an information confidentiality module 260:
[0190] The information confidentiality module 260 includes an encryption component and a decryption lock, the encryption component includes a movable lock and an encryption lock; the movable lock is provided with a key chamber and an address verifier, and the address verifier includes an address memory and an address reader;
[0191] The information confidentiality module 260 is used to copy the encryption component and the decryption lock before sending the target information to the network address corresponding to the second account on the second social platform, send the copied encryption component to the first account, and send the copied decryption lock to the information sending module 220;
[0192] receiving the input key through the copied active lock element and storing the key in the key chamber;
[0193] The target information is encrypted by using the key through the copied encryption lock element to obtain the encrypted target information, and the encrypted target information and the copied active lock element are sent to the information sending module 220;
[0194] The information sending module 220 is further used to put the network address corresponding to the second account into the address memory of the copied active lock;
[0195] Sending the encrypted target information, the copied active lock element, and the copied decrypted lock element to the network address corresponding to the second account;
[0196] The information confidentiality module 260 is further configured to send the key to the copied decryption lock element through the copied active lock element when the copied address verifier detects that the network address information is consistent with the network address information corresponding to the second account stored in the copied memory, and the copied decryption lock element decrypts the encrypted target information according to the key to obtain the decrypted target information;
[0197] The first port module 210 is also used to display the decrypted target information on the second account of the second platform.
[0198] The target information is encrypted using the information confidentiality module 260. The address verifier can read the network address of the environment in real time and decrypt the information only after the address verification is passed. Therefore, the address verifier can protect the keys in the key room, making it impossible to bypass the address verifier to read or rewrite the keys in the key room, thereby preventing information leakage and ensuring the information security of users.
[0199] Fig. 9 It is a structural diagram of an information sending device provided in one embodiment of the present application.
[0200] The information sending device may include a processor 601 and a memory 602 storing computer program instructions.
[0201] Specifically, the processor 601 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0202] The memory 602 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 602 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 602 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 602 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 602 is a non-volatile solid-state memory.
[0203] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0204] The processor 601 implements any information sending method in the above embodiments by reading and executing computer program instructions stored in the memory 602 .
[0205] In one example, the information sending device may further include a communication interface 603 and a bus 610. Fig. 9 As shown, the processor 601, the memory 602, and the communication interface 603 are connected via a bus 610 and communicate with each other.
[0206] The communication interface 603 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0207] Bus 610 includes hardware, software or both, and the parts of information sending equipment are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransmission (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In suitable cases, bus 610 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.
[0208] The information sending device executes the information sending method in the embodiment of the present application, thereby realizing Figures 2 to 6 Describes the method of sending information.
[0209] In addition, in combination with the information sending method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the information sending methods in the above embodiment is implemented.
[0210] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0211] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0212] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0213] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram 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 so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0214] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for sending information, characterized in that: Applied to a third-party platform, the method includes: Get the number one account on the number one social platform; Searching for user data corresponding to the first account from a database of the third-party platform; When user data corresponding to the first account is found, allowing the first account on the first social platform to log in to the third-party platform; When the first account on the first social platform logs in to the third-party platform, displaying candidate services, the candidate services at least including an information sending service; In response to an operation of selecting an information sending service from the candidate services, displaying information recipient options; In response to a filling operation of filling in a recipient in the information recipient option, determining a second account on a second social platform, where the second account on the second social platform is a registered account on a third-party platform; In response to a sending operation of sending the target information, sending the target information to a network address corresponding to the second account on the second social platform; Displaying the target information on a second account of the second social platform; The first account includes at least a first digital account identifier, and the user data of each storage area in the database is sorted according to a preset order of the digital account identifiers of the user data; searching the database of the third-party platform for user data corresponding to the first account includes: Acquire the platform identifier of the first social platform, and determine, in a database according to the platform identifier of the first social platform, a first storage area corresponding to the platform identifier of the first social platform; Obtain the ith digit a(i) in the first digital account identifier and the n2th piece of user data in the first storage area, use the n2th piece of user data as comparison data, and record the ith digit of the digital account identifier of the comparison data as b(i), where the initial value of i is 1, Wherein, n is the number of user data items contained in the first storage area; Compare the size of b(i) and a(i) to obtain the comparison result; If b(i) = a(i), update the value of i according to i = i + 1; If i=m+1, the search process is terminated, and the preset identifier is set to the first character, where m is the number of digits of the first digital account identifier, and the first character is used to indicate that the user data corresponding to the first account is found in the database; If i≤m, the process returns to executing the step of obtaining the n2th piece of user data in the first storage area, and uses the n2th piece of user data as comparison data, until i=m+1.
2. The information sending method according to claim 1, characterized in that: The method further comprises: If b(i)>a(i), remove the n2th and subsequent user data in the first storage area to obtain updated user data in the first storage area, and recalculate the value of n; If n=0, the search process is terminated, and the preset identifier is set to a second character, wherein the second character is used to indicate that the user data corresponding to the first account is not found in the database; If n≠0, the process returns to executing the step of obtaining the n2th piece of user data in the first storage area, and uses the n2th piece of user data as comparison data, until n=0.
3. The information sending method according to claim 1, characterized in that: The method further comprises: If b(i)<a(i), exclude the n2th and previous user data in the first storage area, obtain updated user data in the first storage area, and recalculate the value of n; If n=0, the search process is terminated, and the preset identifier is set to a second character, wherein the second character is used to indicate that the user data corresponding to the first account is not found in the database; If n≠0, the process returns to executing the step of obtaining the n2th piece of user data in the first storage area, and uses the n2th piece of user data as comparison data, until n=0.
4. The information sending method according to claim 1, characterized in that: After determining the second account on the second social platform, and before sending the target information to the network address corresponding to the second account on the second social platform, the method further includes: Searching for user data corresponding to the second account from a database of the third-party platform, wherein the user data at least includes: a network address corresponding to the second account; Obtain the network address corresponding to the second account.
5. The information sending method according to claim 1, characterized in that: Before sending the target information to the network address corresponding to the second account on the second social platform, the method further includes: Encrypting the target information according to a first preset encryption method to obtain encrypted target information; The sending the target information to the network address corresponding to the second account on the second social platform includes: Sending the encrypted target information to a network address corresponding to a second account on the second social platform; Before displaying the target information on the second account of the second social platform, the method further includes: Decrypting the encrypted target information according to a first preset decryption method to obtain decrypted target information; The displaying the target information on the second account of the second social platform includes: The decrypted target information is displayed on the second account of the second social platform.
6. A third-party platform, characterized in that: The third-party platforms include: A first search module is used to obtain a first account on a first social platform; search for user data corresponding to the first account from a database of the third-party platform; and when the user data corresponding to the first account is found, allow the first account on the first social platform to log in to the third-party platform; A first port module, configured to display candidate services when the first account on the first social platform logs in to the third-party platform, the candidate services at least including an information sending service; An information sending module, configured to display information receiving object options in response to an operation of selecting an information sending service from the candidate services; In response to a filling operation of filling in a recipient in the information recipient option, determining a second account on a second social platform; the second account on the second social platform is a registered account on a third-party platform; In response to a sending operation of sending the target information, sending the target information to a network address corresponding to the second account on the second social platform; The first port module is further used to display the target information on the second account of the second social platform; Wherein, the first account at least includes a first digital account identifier, and the user data of each storage area in the database is sorted according to a preset order of the digital account identifiers of the user data; the first search module is specifically used to: Acquire the platform identifier of the first social platform, and determine, in a database according to the platform identifier of the first social platform, a first storage area corresponding to the platform identifier of the first social platform; Obtain the ith digit a(i) in the first digital account identifier and the n2th piece of user data in the first storage area, use the n2th piece of user data as comparison data, and record the ith digit of the digital account identifier of the comparison data as b(i), where the initial value of i is 1, Wherein, n is the number of user data items contained in the first storage area; Compare the size of b(i) and a(i) to obtain the comparison result; If b(i) = a(i), update the value of i according to i = i + 1; If i=m+1, the search process is terminated, and the preset identifier is set to the first character, where m is the number of digits of the first digital account identifier, and the first character is used to indicate that the user data corresponding to the first account is found in the database; If i≤m, the process returns to executing the step of obtaining the n2th piece of user data in the first storage area, and uses the n2th piece of user data as comparison data, until i=m+1.
7. The third-party platform according to claim 6, characterized in that: The third-party platform also includes: An information confidentiality module, the information confidentiality module comprising an encryption component and a decryption lock, the encryption component comprising a movable lock and an encryption lock; a key chamber and an address verifier are arranged in the movable lock, the address verifier comprising an address memory and an address reader; The information confidentiality module is used to copy the encryption component and the decryption lock component before sending the target information to the network address corresponding to the second account on the second social platform, send the copied encryption component to the first account, and send the copied decryption lock component to the information sending module; receiving an input key through the duplicated active lock element and storing the key in the key chamber; The target information is encrypted by using the key through the copied encryption lock element to obtain the encrypted target information, and the encrypted target information and the copied active lock element are sent to the information sending module; The information sending module is further used to put the network address corresponding to the second account into the address memory of the copied active lock element; Sending the encrypted target information, the copied active lock element, and the copied decrypted lock element to a network address corresponding to the second account; The information confidentiality module is further configured to, when the copied address verifier detects that the network address information is consistent with the network address information corresponding to the second account stored in the copied memory, send the key to the copied decryption lock element through the copied active lock element, and decrypt the encrypted target information according to the key through the copied decryption lock element to obtain the decrypted target information; The first port module is also used to display the decrypted target information on the second account of the second platform.
8. An information sending device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the information sending method according to any one of claims 1 to 5 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the information sending method according to any one of claims 1 to 5 is implemented.
10. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the information sending method as described in any one of claims 1 to 5.
