Data transmission method and device, computer equipment and storage medium
By using the target area image on the server side for identity identification and obtaining the target transmission content, the problem of traditional low data transmission efficiency is solved, and efficient data transmission from the C-end to the B-end is achieved.
Patent Information
- Application Number
- CN202311350029.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-17
- Publication Date
- 2025-04-18
AI Technical Summary
Traditional software applications have low data transmission efficiency between the C-end and B-end, and usually rely on offline methods such as USB disk copying, resulting in low data transmission efficiency and high cost.
A data transmission method is provided, which obtains a data transmission request through a server, and calls account data based on the target area image for identity identification. If the identity identification is passed, the target transmission content is obtained from the account data and transmitted to the content storage space of the first terminal.
It improves the efficiency and portability of data transmission, realizes efficient data transmission from the C-terminal to the B-terminal, and enables B-terminal equipment to collect and organize data more conveniently.
Smart Images

Figure CN119853936A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data transmission, and in particular to a data transmission method, apparatus, computer equipment, storage medium and computer program product. Background Art
[0002] Traditional software applications include software applications for C (Consumer) end users and software applications for B (Business) end users. Each software application runs on its own terminal device. For example, software applications for C end users run on the personal terminals of C end users, and software applications for B end users run on the terminal devices of B end users.
[0003] Usually, the workflows of the same application on each end are independent of each other and basically do not communicate with each other. When the C-end user needs to transfer related files to the B-end, they can generally only use offline methods such as USB flash drive copying to transfer, which leads to low data transmission efficiency. Summary of the invention
[0004] Based on this, it is necessary to provide a data transmission method, apparatus, computer device, computer-readable storage medium and computer program product that can improve data transmission efficiency in response to the above technical problems.
[0005] In a first aspect, the present application provides a data transmission method. The method is applied to a server, and the method includes:
[0006] Acquire a data transmission request, where the data transmission request is generated by the first terminal based on the data transmission instruction, and the data transmission request includes a target area image corresponding to the target object;
[0007] Based on the target area image, the account data is called to identify the target object, and the account data includes the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account;
[0008] If the identity recognition of the target object is successful, the target transmission content is obtained from the account data, where the target transmission content is the transmission content that matches the first terminal in the transmission content pre-bound to the target authorized account corresponding to the target object;
[0009] The target content is transmitted to the content storage space corresponding to the first terminal.
[0010] In one of the embodiments, after performing a content audit on the transmission content to which the requesting account is requested to be bound, the method further includes: the second terminal returns an audit result, and the audit result is used to indicate whether the transmission configuration is successful or failed.
[0011] In one of the embodiments, the transmission configuration request is sent by the second terminal after being encrypted based on an agreed encryption protocol; after receiving the transmission configuration request sent by the second terminal, the method also includes: using a decryption protocol corresponding to the encryption protocol to decrypt the transmission configuration request to obtain the account standard identity image of the requesting account and the transmission content requested to be bound to the requesting account.
[0012] In one of the embodiments, transmitting the target transmission content to the content storage space corresponding to the first terminal includes: encrypting the target transmission content based on an agreed encryption protocol to obtain encrypted target transmission content; and transmitting the encrypted target transmission content to the content storage space corresponding to the first terminal.
[0013] In one of the embodiments, the transmission content is preprocessed based on the actual file type of the transmission content to obtain the target content after the preprocessing of the transmission content, including: if the actual file type of the transmission content is a text type, the text content of the transmission content is extracted, and the text content is cleaned to obtain the target content corresponding to the transmission content; if the actual file type of the transmission content is a picture type, the transmission content is image normalized to obtain the target content corresponding to the transmission content; if the actual file type of the transmission content is a video type, the transmission content is video processed to obtain the target content corresponding to the transmission content, and the video processing includes at least one of key frame extraction, video segmentation, and video compression.
[0014] In one of the embodiments, before obtaining a data transmission request, the method further includes: establishing a connection channel with multiple file transfer servers based on a preconfigured file transfer protocol; sending the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account to the multiple file transfer servers through the connection channel, so as to instruct the multiple file transfer servers to store the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account in the local account data.
[0015] In one of the embodiments, account data is stored on multiple file transfer servers; calling the account data to identify the target object includes: based on a pre-configured load balancing strategy, determining a target file transfer server for identifying the target object from multiple file transfer servers; and using the account data in the target file transfer server to identify the target object.
[0016] In one of the embodiments, the server is a server system, the server system includes a main server and a backup server, and a heartbeat connection is established between the main server and the backup server; if the data transmission method is applied to the main server, the method also includes: the backup server monitors the heartbeat connection status between the backup server and the main server, and the heartbeat connection status includes a normal connection state and an abnormal connection state; when the backup server monitors the heartbeat connection status as an abnormal connection state, the backup server executes the data transmission method.
[0017] In a second aspect, the present application provides a data transmission method. The method is applied to a first terminal, and the method includes:
[0018] In response to a data transmission instruction of a target object, generating a data transmission request, wherein the data transmission request includes a target area image corresponding to the target object;
[0019] The data transmission request is sent to the server to instruct the server to call the account data to identify the target object based on the data transmission request; if the identity identification of the target object is successful, the target transmission content is obtained from the account data, and the target transmission content is transmitted to the content storage space corresponding to the first terminal, wherein the account data includes the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account; the target transmission content is the transmission content that matches the first terminal in the transmission content pre-bound to the target authorized account corresponding to the target object.
[0020] In one of the embodiments, after sending a data transmission request to the server, the method further includes: if target transmission content returned by the server is received, displaying the target transmission content.
[0021] In one of the embodiments, the target transmission content is sent after being encrypted by the server based on an agreed encryption protocol; after receiving the target transmission content returned by the server, the method further includes: using a decryption protocol corresponding to the encryption protocol to decrypt the target transmission content to obtain the decrypted content.
[0022] In one embodiment, responding to the data transmission instruction of the target object includes: responding to the data transmission instruction of the target object in a data transmission mode, the data transmission mode is a mode in which the first terminal performs data transmission, in which the first terminal generates a data transmission request based on the data transmission instruction of the target object, and sends the data transmission request to the server to instruct the server to transfer the target transmission content pre-bound by the target object through the second terminal to the content storage space corresponding to the first terminal based on the data transmission request.
[0023] In one of the embodiments, the switching trigger operation for the target working mode includes a voiceprint trigger, and the switching instruction includes a voice instruction; the switching instruction is verified, including: feature extraction of the voice instruction to obtain a voiceprint feature corresponding to the voice instruction; if the voiceprint feature matches the voiceprint feature of an authorized account that has working mode switching authority for the first terminal, it is determined that the switching instruction verification has passed.
[0024] In one embodiment, the switching instruction includes a voice instruction; switching the current working mode to the target working mode according to the switching instruction includes: parsing the voice instruction to obtain semantic information corresponding to the voice instruction; if there is an instruction of the target working mode matching the semantic information in the preset working mode instruction, then switching the current working mode to the target working mode corresponding to the voice instruction.
[0025] In a third aspect, the present application further provides a data transmission device. The device is applied to a server, and the device includes:
[0026] A request acquisition module, used to acquire a data transmission request, where the data transmission request is generated by the first terminal based on the data transmission instruction, and the data transmission request includes a target area image corresponding to the target object;
[0027] An identity recognition module, used to call account data to identify the target object based on the target area image, the account data including the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account;
[0028] A target content determination module, configured to obtain target transmission content from the account data if the identity recognition of the target object is successful, wherein the target transmission content is the transmission content that matches the first terminal among the transmission contents pre-bound to the target authorized account corresponding to the target object;
[0029] The transmission module is used to transmit the target transmission content to the content storage space corresponding to the first terminal.
[0030] In one of the embodiments, the data transmission device also includes a transmission content binding module, which is used to: receive a transmission configuration request sent by the second terminal, the transmission configuration request is used to request authorization of a transmission service for a requesting account to bind transmission content, the transmission configuration request includes an account standard identity image of the requesting account and the transmission content that the requesting account requests to be bound; according to the transmission configuration request, perform a content review on the transmission content that the requesting account requests to be bound; if the transmission content that the requesting account requests to be bound is reviewed and approved, it is determined that the requesting account is an authorized account, and the account standard identity image of the authorized account and the approved transmission content are stored in the account data accordingly.
[0031] In one of the embodiments, the requesting account is an instant social communication application account, and the server is a background server of the instant social communication application; the transmission content binding module is further used to: receive a transmission configuration request for the instant social communication application account sent by the second terminal based on the instant social communication application, wherein the transmission configuration request is used to request authorization of a transmission service for the instant social communication application account to bind the transmission content, and the transmission configuration request includes the account standard identity image of the instant social communication application account and the transmission content requested to be bound by the instant social communication application account, and the account standard identity image of the instant social communication application account includes a palm image corresponding to the instant social communication application account.
[0032] In one of the embodiments, the transmission module is further used to: return an audit result to the second terminal, wherein the audit result is used to indicate whether the transmission configuration is successful or failed.
[0033] In one of the embodiments, the transmission configuration request is sent after being encrypted by the second terminal based on an agreed encryption protocol; the data transmission device also includes a decryption module, which is used to: decrypt the transmission configuration request using a decryption protocol corresponding to the encryption protocol to obtain the account standard identity image of the requesting account and the transmission content requested to be bound to the requesting account.
[0034] In one of the embodiments, the data transmission device also includes an encryption module, which is used to encrypt the target transmission content based on an agreed encryption protocol to obtain encrypted target transmission content; the transmission module is also used to transmit the encrypted target transmission content to the content storage space corresponding to the first terminal.
[0035] In one of the embodiments, the transmission content has a corresponding binding category, and the binding category has a standard file type that is allowed to be bound; the data transmission device also includes a transmission content review module, which is used to: identify the actual file type of the transmission content requested to be bound by the requesting account; if the actual file type of the transmission content requested to be bound matches the standard file type allowed to be bound by the binding category requested to be bound, then verify the legitimacy of the transmission content requested to be bound; if the legitimacy check of the transmission content requested to be bound passes, it is determined that the requesting account is an authorized account, and the account standard identity image of the authorized account is obtained, and the account standard identity image of the authorized account and the verified transmission content are stored in the account data accordingly.
[0036] In one of the embodiments, the transmission content audit module is also used to: pre-process the transmission content based on the actual file type of the transmission content to obtain the target content after the pre-processing of the transmission content; perform content detection on the target content, and if it is detected that there is no abnormal content in the target content, determine that the legitimacy check of the transmission content has passed, wherein the content detection includes at least one of filter detection and machine learning algorithm detection.
[0037] In one of the embodiments, the transmission content review module is also used for: if the actual file type of the transmission content is a text type, then the text content of the transmission content is extracted, and the text content is cleaned to obtain the target content corresponding to the transmission content; if the actual file type of the transmission content is a picture type, then the image normalization processing is performed on the transmission content to obtain the target content corresponding to the transmission content; if the actual file type of the transmission content is a video type, then the video processing is performed on the transmission content to obtain the target content corresponding to the transmission content, wherein the video processing includes at least one of key frame extraction, video segmentation, and video compression.
[0038] In one of the embodiments, the transmission module is also used to: establish a connection channel with multiple file transfer servers based on a pre-configured file transfer protocol; send the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account to the multiple file transfer servers through the connection channel, so as to instruct the multiple file transfer servers to store the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account in the local account data.
[0039] In one embodiment, account data is stored on multiple file transfer servers; the identity recognition module is also used to: determine a target file transfer server for identifying a target object from multiple file transfer servers based on a pre-configured load balancing strategy; and use the account data in the target file transfer server to identify the target object.
[0040] In one of the embodiments, the identity recognition module is also used to: query whether there is a target standard identity image matching the target area image in the account data; if there is a target standard identity image matching the target area image in the account data, determine that the identity recognition of the target object is passed, and determine that the identity of the target object is the target authorized account corresponding to the target standard identity image.
[0041] In one of the embodiments, the transmission content pre-bound to the authorized account has a corresponding binding category, and the first terminal is configured with a corresponding authorized transmission category; the target content determination module is specifically used to: determine the binding category of the transmission content pre-bound to the target authorized account corresponding to the target object from the account data; determine the target binding category in the binding category that matches the authorized transmission category corresponding to the first terminal; determine the transmission content that matches the target binding category from the transmission content pre-bound to the target authorized account as the target transmission content that matches the first terminal.
[0042] In one of the embodiments, when there are multiple transmission content matching the target binding category, the target content determination module is further used to: return a list of multiple transmission content information matching the target binding category to the first terminal, the list is used to instruct the first terminal to display, so that the first terminal obtains a selection instruction for the target transmission content information based on the displayed list; receives the selection instruction for the target transmission content information returned by the first terminal, and obtains the transmission content corresponding to the target transmission content information as the target transmission content matching the first terminal.
[0043] In one of the embodiments, the data transmission device is applied to at least one of a resume delivery scenario, a multimedia delivery scenario, and a document transmission scenario. The first terminal is a palm swiping device, which is used to collect a target area image corresponding to the target object. The target area image is a palm image corresponding to the target object.
[0044] In one of the embodiments, the server is a server system, which includes a main server, a backup server and a disaster recovery device, and the disaster recovery device is communicated with the main server and the backup server respectively; if the data transmission device is applied to the main server, the main server and the backup server can also be monitored for faults through the disaster recovery device; if the disaster recovery device detects that there is a fault in the main server, the backup server is switched to apply the data transmission device.
[0045] In a fourth aspect, the present application further provides a data transmission device. The device is applied to a first terminal, and the device includes:
[0046] A request generation module, configured to generate a data transmission request in response to a data transmission instruction of a target object, wherein the data transmission request includes a target area image corresponding to the target object;
[0047] A request sending module is used to send a data transmission request to a server to instruct the server to call account data to identify the target object based on the data transmission request. If the identity identification of the target object is successful, the target transmission content is obtained from the account data and transmitted to the content storage space corresponding to the first terminal. The account data includes the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account. The target transmission content is the transmission content that matches the first terminal in the transmission content pre-bound to the target authorized account corresponding to the target object.
[0048] In one of the embodiments, the data transmission device also includes a display module, which is used to: receive the data transmission result returned by the server for the data transmission request, and display the data transmission result, wherein the data transmission result is used to indicate the success or failure of the data transmission.
[0049] In one of the embodiments, the display module is also used to: if a list including multiple transmission content information is received from the server, display the list; then the request sending module is also used to: respond to a selection instruction for the target transmission content information in the list, send a selection instruction to the server, so that the server obtains the target transmission content matching the target transmission content information corresponding to the selection instruction from the account data.
[0050] In one of the embodiments, the display module is further used to: if the target transmission content returned by the server is received, display the target transmission content.
[0051] In one of the embodiments, the target transmission content is sent after being encrypted by the server based on an agreed encryption protocol; the data transmission device also includes a decryption module for decrypting the target transmission content using a decryption protocol corresponding to the encryption protocol to obtain decrypted content.
[0052] In one of the embodiments, the request generation module is also used to: respond to the data transmission instruction of the target object in the data transmission mode, the data transmission mode is a mode in which the first terminal performs data transmission, in the data transmission mode, the first terminal generates a data transmission request based on the data transmission instruction of the target object, and sends the data transmission request to the server to instruct the server to transfer the target transmission content pre-bound by the target object through the second terminal to the content storage space corresponding to the first terminal based on the data transmission request.
[0053] In one of the embodiments, the data transmission device also includes a mode switching module, which is used to: in response to a switching trigger operation for a target working mode, obtain a switching instruction for the target working mode, wherein the target working mode includes a data transmission mode; verify the switching instruction, and if the switching instruction is verified, switch the current working mode to the target working mode according to the switching instruction.
[0054] In one of the embodiments, the switching trigger operation for the target working mode includes a voiceprint trigger, and the switching instruction includes a voice instruction; the mode switching module is also used to: extract features from the voice instruction to obtain voiceprint features corresponding to the voice instruction; if the voiceprint features match the voiceprint features of an authorized account that has working mode switching authority for the first terminal, it is determined that the switching instruction has been verified.
[0055] In one embodiment, the switching instruction includes a voice instruction; the mode switching module is also used to: parse the voice instruction to obtain semantic information corresponding to the voice instruction; if there is an instruction of a target working mode matching the semantic information in the preset working mode instruction, the current working mode is switched to the target working mode corresponding to the voice instruction.
[0056] In one of the embodiments, the first terminal has an image acquisition module; the request generation module is also used to: respond to the data transmission instruction of the target object, call the image acquisition module to acquire streaming media data of the target object, wherein the streaming media data includes multiple frame area images of the target object; perform quality detection on the multiple frame area images to obtain the detection results of each frame area image; determine the target area image from the multiple frame area images according to the detection results, and generate a data transmission request based on the target area image.
[0057] In one of the embodiments, the data transmission device is applied to at least one of a resume delivery scenario, a multimedia delivery scenario, and a document transmission scenario; the first terminal is a palm swiping device, the server is a background server of an instant social communication application, the authorized account is an instant social communication application account authorized by the instant social communication application, and the pre-bound transmission content is at least one of a resume, multimedia, and a document pre-bound by the instant social communication application account based on the instant social communication application through the second terminal; the request generation module is also used to: respond to the data transmission instruction of the target object, collect a palm image of the target object, and generate a data transmission request based on the palm image.
[0058] In a fifth aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the above data transmission method are implemented.
[0059] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned data transmission method are implemented.
[0060] In a seventh aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the above data transmission method are implemented.
[0061] The above-mentioned data transmission method, device, computer equipment, storage medium and computer program product obtain a data transmission request including a target area image corresponding to the target object, and based on the target area image, call the account data to identify the target object. If the identification of the target object is passed, the target transmission content is obtained from the account data, and the target transmission content is transmitted to the content storage space corresponding to the first terminal. Among them, the data transmission request is generated by the first terminal based on the data transmission instruction, the data transmission request includes the target area image corresponding to the target object, the account data includes the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account, and the target transmission content is the transmission content matched with the first terminal in the transmission content pre-bound to the target authorized account corresponding to the target object. When the server obtains the data transmission request generated by the first terminal based on the data transmission instruction of the target object, that is, when the server obtains the data transmission request that the target object needs to transmit data to the first terminal, the account data is first called to identify the target object. Only after it is determined that the identification of the target object is passed, the target transmission content is further obtained from the account data, and the target transmission content is transmitted to the content storage space corresponding to the first terminal, so as to realize that the transmission content pre-bound to the target object is sent to the first terminal, so as to improve the efficiency and portability of data transmission. And because the account data called by the server includes the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account, the entire data transmission process is executed by the server, realizing the intelligence of data transmission and improving the portability of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 is an application environment diagram of a data transmission method in an embodiment;
[0063] Figure 2 A schematic diagram of a flow chart of a data transmission method in an embodiment;
[0064] Figure 3 A flowchart of steps for obtaining account data in one embodiment;
[0065] Figure 4 A schematic diagram of a flow chart of a transmission content review step in one embodiment;
[0066] Figure 5 An interactive schematic diagram of a transmission configuration in one embodiment;
[0067] Figure 6 A schematic diagram of a transmission configuration page in one embodiment;
[0068] Figure 7 is a schematic diagram of a server storage system in one embodiment;
[0069] Figure 8 A schematic diagram of a flow chart of a data transmission method in another embodiment;
[0070] Fig. 9 is a schematic diagram of a data transmission system in one embodiment;
[0071] Fig.10 is an interactive schematic diagram of a data transmission system in an embodiment;
[0072] Fig.11 is a schematic diagram of an image acquisition scene in one embodiment;
[0073] Fig.12 is a structural block diagram of a data transmission device in one embodiment;
[0074] Fig.13 is a structural block diagram of a data transmission device in another embodiment;
[0075] Fig.14 is an internal structure diagram of a computer device in one embodiment;
[0076] Fig.15 FIG. 4 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION
[0077] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0078] The embodiments of the present application can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, etc.
[0079] The data transmission method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the first terminal 102 and the second terminal 104 communicate with the server 106 through the network respectively. The data storage system can store the data that the server 106 needs to process. The data storage system can be integrated on the server 106, or it can be placed on the cloud or other servers. Among them, the first terminal 102 and the second terminal 104 can be, but are not limited to, various desktop computers, laptops, smart phones, tablet computers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, aircraft, Internet of Things devices and portable wearable devices, etc. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 106 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0080] Specifically, the first terminal 102 can be a business processing device loaded with a B-end application, for example, it can be an offline payment device deployed in a merchant or public place, or it can be an access control device deployed in an enterprise, factory, etc. The second terminal 104 can be a personal terminal device loaded with a C-end application corresponding to the B-end application, such as a mobile phone, a computer, etc. The application can specifically be an instant social communication application, such as a WeChat application, a QQ application, etc. The server 106 can be a background server for a specific application. For example, taking the application as the WeChat application, the first terminal 102 is loaded with the B-end WeChat application, the second terminal 104 is loaded with the C-end WeChat application, and the server 106 is the WeChat background server.
[0081] Usually, the workflows of the same application on the B-end and C-end are independent of each other and basically do not communicate with each other. When the C-end user needs to transfer relevant files to the B-end (such as resumes, multimedia, documents, etc.), they can generally only use offline methods such as USB copying to transfer, or the C-end user establishes an instant social communication relationship with the personal C-end of the B-end staff through the C-end application (such as the C-end user and the B-end staff add each other as WeChat friends), so as to transfer the relevant files to the personal C-end of the B-end staff, and the B-end staff collects and organizes the relevant files, resulting in low data transmission efficiency and high data collection and organization costs.
[0082] Based on this, in this embodiment, the C-end user can access the instant social communication application based on the second terminal, i.e., the personal terminal device, and authorize the binding of the relevant files that need to be transmitted to the B-end. The server can store the corresponding authorization information (such as the account information of the authorized user and the related files bound, etc.) in the account data. After that, the user can trigger the data transmission instruction through the first terminal (for example, if the first terminal is a palm brushing device, the user can trigger the palm brushing device to collect his palm image), so that the first terminal can send a data transmission request to the server based on the data transmission instruction. After receiving the data transmission request, the server calls the account data (including the authorized account information of the application and the relevant files pre-bound to the authorized account) to identify the user (for example, based on the palm image collected by the palm brushing device for identity identification). If the user's identity identification is passed, the target transmission content is obtained from the relevant files authorized by the user to bind, and the target transmission content is transmitted to the content storage space corresponding to the first terminal, thereby realizing efficient and portable data transmission from the C-end to the B-end, so that the B-end device can efficiently collect and organize data. For example, when the transmission content is a resume, all resume data transmitted to the B-end device are stored in the content storage space of the B-end, i.e., the first terminal, so that the resume data can be collected.
[0083] In one embodiment, Figure 2As shown, a data transmission method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:
[0084] Step 202: Obtain a data transmission request.
[0085] The data transmission request may be interactive information in the process of human-computer interaction, and specifically may be an instruction or command requesting interaction with a server for data transmission. Specifically, the data transmission request is generated by the first terminal based on the data transmission instruction and sent to the server, and the data transmission request includes a target area image corresponding to the target object.
[0086] Among them, the first terminal can be a business processing device loaded with a B-side application, for example, it can be an offline payment device deployed in a merchant or public place, or it can be an access control device deployed in an enterprise, factory, etc.
[0087] The target object may be the user object that currently triggers the first terminal to interact with it to request data transmission, which may specifically be a user of the C-end application. The target area image may be an image of the requesting object (i.e., the target object) captured based on the need for identity recognition. It may be an image of a specific part of the target object, for example, the target area image may be a palm image, a facial image, etc. of the target object.
[0088] The data transmission instruction may be an interactive instruction received by the first terminal based on an external trigger, and may be specifically generated based on the triggering of the target object on the first terminal. The target area image may be collected by the first terminal based on the data transmission instruction of the target object.
[0089] Specifically, the first terminal may have a built-in or external image acquisition module. When the user of the C-end application, i.e., the target object, needs to transmit the transmission content pre-bound in the application to the first terminal of the B-end, it can initiate a data transmission instruction by triggering the first terminal. When the first terminal receives the data transmission instruction, it calls the image acquisition module to capture external images, and generates a data transmission request based on the target area image when the target area image is captured, and then sends a data transmission request including the target area image to the server. The server can obtain the data transmission request and perform data transmission based on subsequent steps.
[0090] Step 204: Based on the target area image, the account data is called to identify the target object.
[0091] The account data may be registration data of a C-end user based on an instant social communication application. For example, when a user successfully registers an account of an instant social communication application, the account identifier of the user's successfully registered account will be stored in the account data.
[0092] In one scenario, when a registered account has been authorized to activate image recognition, and the registered account has been authorized to bind transmission content, the registered account can be determined to be an authorized account, and the account data can also include an account standard identity image corresponding to the account identifier of the authorized account and the transmission content pre-bound to the authorized account. Among them, the account standard identity image can be an identity image of the user object corresponding to the registered account, including but not limited to the face image, palm image, etc. of the user object, and the corresponding registered account can be uniquely determined based on the identity image. The account standard identity image can be collected when the user registers an account for an instant social communication application, or when the user authorizes the activation of image recognition (such as face recognition, palm recognition), or when the user authorizes the binding of transmission content, and this embodiment does not limit this.
[0093] The transmission content may be the relevant files that the corresponding registered account wants to transmit to the first terminal of the B side. Specifically, the transmission content includes but is not limited to resumes, multimedia, documents, etc. For example, if a user wants to deliver multimedia advertising information to an offline payment device deployed in a merchant or public place, the corresponding multimedia can be authorized to be bound in advance in the instant social communication application. If a user wants to deliver a resume to an access control device deployed in an enterprise, factory, etc. for offline recruitment of an enterprise, factory, etc., the corresponding resume can be authorized to be bound in advance in the instant social communication application.
[0094] Identity recognition can be the process of authenticating the target object. Since the user's registration data is recorded in the account data, in this embodiment, the server can call the account data to verify the identity of the target object based on the acquired target area image, that is, to verify whether the target object is a registered account. Specifically, the server can match the acquired target area image with the account standard identity image of the authorized account in the account data. If the match is successful, it can be determined that the identity recognition of the target object has passed; if the match is unsuccessful, it can be determined that the identity recognition of the target object has failed.
[0095] Step 206: If the identity recognition of the target object is successful, the target transmission content is obtained from the account data.
[0096] Among them, the target transmission content may be the content that is finally determined to be transmitted. The target transmission content is the transmission content that matches the first terminal in the transmission content pre-bound to the target authorized account corresponding to the target object. Specifically, the transmission content that matches the first terminal may be the transmission content that the first terminal allows to be transmitted. It is understandable that for the first terminal in different scenarios, the transmission content allowed to be transmitted may be different. For example, for offline payment devices deployed in merchants or public places, they can play multimedia advertisements during idle time, so they can be allowed to transmit corresponding transmission content. For access control devices deployed in enterprises, factories, etc., they can be allowed to transmit transmission content related to employee rosters. In some scenarios, the first terminal may also allow all transmission content to be transmitted.
[0097] Specifically, a user can pre-authorize the binding of one or more transmission contents through an instant social communication application, and the account data contains one or more transmission contents pre-bound by the user. If the identity recognition of the target object is successful, the server can obtain the one or more transmission contents pre-bound by the target object from the account data, and use the one or more transmission contents as the transmission contents matching the first terminal.
[0098] In one scenario, after the server obtains one or more transmission contents pre-bound to the target object from the account data, it can also determine whether the one or more transmission contents are transmission contents allowed to be transmitted by the first terminal, and if so, use them as target transmission contents. The target transmission contents may include one or more, and this embodiment does not limit this.
[0099] Step 208: transmitting the target transmission content to the content storage space corresponding to the first terminal.
[0100] The content storage space corresponding to the first terminal may be a storage medium deployed locally on the first terminal, or may be a remote storage space in a storage medium deployed on a cloud or a server for storing relevant data corresponding to the first terminal.
[0101] Specifically, after determining the target transmission content through the above steps, the server may transmit the target transmission content to the content storage space corresponding to the first terminal.
[0102] In the above data transmission method, the server obtains a data transmission request including a target area image corresponding to the target object, and based on the target area image, calls the account data to identify the target object. If the identification of the target object is passed, the target transmission content is obtained from the account data, and the target transmission content is transmitted to the content storage space corresponding to the first terminal. Wherein, the data transmission request is generated by the first terminal based on the data transmission instruction, the data transmission request includes the target area image corresponding to the target object, the account data includes the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account, and the target transmission content is the transmission content matched with the first terminal in the transmission content pre-bound to the target authorized account corresponding to the target object. When the server obtains the data transmission request generated by the first terminal based on the data transmission instruction of the target object, that is, when the server obtains the data transmission request that the target object needs to transmit data to the first terminal, the server first calls the account data to identify the target object. Only after it is determined that the identification of the target object is passed, the target transmission content is further obtained from the account data, and the target transmission content is transmitted to the content storage space corresponding to the first terminal, thereby sending the transmission content pre-bound to the target object to the first terminal to improve the efficiency and portability of data transmission. And because the account data called by the server includes the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account, the entire data transmission process is executed by the server, realizing the intelligence of data transmission and improving the portability of data transmission.
[0103] In one embodiment, the method may further include: returning a request result for the data transmission request to the first terminal, wherein the request result may be used to indicate a result of request success or request failure.
[0104] Specifically, after the server calls the account data to identify the target object, if the identification of the target object fails, or if the server identifies the target object but fails to obtain the target transmission content from the account data, such as the target object has no pre-bound transmission content, or the pre-bound transmission content of the target object does not match the transmission content allowed by the first terminal, then the process can be terminated and the request result for the data transmission request is returned to the first terminal, that is, the result of the request failure is returned. The request result is used to indicate the display of the first terminal, so that the target object can know the execution status of the request based on the request result displayed by the first terminal, realizing the visualization effect of data transmission.
[0105] In one scenario, after the server transmits the target transmission content to the content storage space corresponding to the first terminal, it can also return the request result for the data transmission request to the first terminal, that is, return the result of the successful request. The request result is used to instruct the first terminal to display, so that the target object can know the execution status of the request based on the request result displayed by the first terminal, realizing the visualization effect of data transmission.
[0106] In one embodiment, Figure 3 As shown, before obtaining the data transmission request, the above data transmission method may further include:
[0107] Step 302: Receive a transmission configuration request sent by the second terminal.
[0108] The second terminal may be a personal terminal device loaded with a C-end application corresponding to the B-end application, such as a personal mobile phone, a personal computer, etc. The transmission configuration request is an instruction or command for authorizing the transmission service for the requesting account to bind the transmission content, and the transmission configuration request includes the account standard identity image of the requesting account and the transmission content that the requesting account requests to be bound.
[0109] The transmission service can be a functional service provided by the application for data transmission, which usually requires the user's authorization to enable. The requesting account is the user account in the application's registered account that requests authorization to enable the transmission service. The transmission content requested to be bound is the content that needs to be transmitted and that the requesting account requests to bind. The account standard identity image of the requesting account is the identity image of the user object corresponding to the requesting account, including but not limited to the user object's face image, palm image, etc. Based on the identity image, the corresponding user account can be uniquely determined.
[0110] Specifically, when a user needs to enable the transmission service of an application, he or she can log in to the personal account of the application through a personal terminal, namely the second terminal, and request authorization to activate the transmission service, and bind the transmission content to be transmitted. The second terminal generates a transmission configuration request based on the user's request and sends the transmission configuration request to the server.
[0111] Step 304: According to the transmission configuration request, a content review is performed on the transmission content that the requesting account requests to bind.
[0112] Among them, content audit may include an audit of the file type of the transmitted content. Specifically, the file type includes but is not limited to text type, picture type, video type, etc. It is understandable that in order to regulate the standardization and controllability of the transmitted content, the server can pre-define the standard file type of the transmitted content that is allowed to be bound, based on which, the audit of the file type of the transmitted content can be implemented. For example, when the actual file type of the transmitted content that the requesting account requests to be bound matches the standard file type of the transmitted content that is allowed to be bound, the server can determine that the audit of the file type of the transmitted content has passed. When the actual file type of the transmitted content that the requesting account requests to be bound does not match the standard file type of the transmitted content that is allowed to be bound, the server can determine that the audit of the file type of the transmitted content has failed.
[0113] Content auditing can also include auditing the legality of the specific content of the transmitted content. Specifically, the server can audit whether the transmitted content includes abnormal content, such as whether it includes illegal content, bad content, etc. If there is no abnormal content in the transmitted content that the requesting account requests to bind, the server can determine that the audit of the legality of the specific content of the transmitted content has passed. If there is abnormal content in the transmitted content that the requesting account requests to bind, the server can determine that the audit of the legality of the specific content of the transmitted content has failed.
[0114] It is understandable that the scope of content review of the transmission content is not limited to the above examples, and the items for content review can be configured based on the actual application scenario, and this embodiment does not limit this. Usually, when all items that need to be reviewed are reviewed and passed, the server can determine that the transmission content requested to be bound by the requesting account has been reviewed and passed, and when there is a situation where the review fails in the items that need to be reviewed, the server can determine that the transmission content requested to be bound by the requesting account has been reviewed and failed.
[0115] Step 306: If the transmission content requested to be bound by the requesting account is reviewed and approved, it is determined that the requesting account is an authorized account, and the account standard identity image of the authorized account and the reviewed transmission content are correspondingly stored in the account data.
[0116] The authorized account refers to an account that has been authorized. Specifically, the authorized account refers to an account that has been authorized by the server to enable the transmission service and has successfully bound the transmission content.
[0117] Specifically, when the server performs a content review on the transmission content that the requesting account requests to be bound, and if the review is passed, it can be determined that the requesting account is an authorized account, and the account standard identity image of the authorized account and the reviewed transmission content are stored in the account data accordingly.
[0118] In this embodiment, by receiving the transmission configuration request sent by the second terminal, and according to the transmission configuration request, the content of the transmission content requested to be bound by the requesting account is audited. If the transmission content requested to be bound by the requesting account is audited, the requesting account is determined to be an authorized account, and the account standard identity image of the authorized account and the audited transmission content are correspondingly stored in the account data. Since the account standard identity image of the user account authorized by the server and the audited transmission content are stored in the account data, after obtaining the data transmission request, the server can call the account data to identify the target object of the request, so as to realize the transmission content pre-bound to the target object is sent to the first terminal, so as to improve the efficiency and portability of data transmission.
[0119] In one embodiment, after performing a content audit on the transmission content to which the requesting account is requested to be bound, the method may further include: returning the audit result to the second terminal, wherein the audit result is used to indicate the result of a successful transmission configuration or a failed transmission configuration.
[0120] Specifically, after the server conducts a content audit on the transmission content that the requesting account requests to bind, if the audit passes, it means that the server agrees to the requesting account to authorize the transmission service and allows it to bind the transmission content. Therefore, the server can return the audit result representing the successful transmission configuration to the second terminal. If the audit fails, it means that the server does not agree to the requesting account to authorize the transmission service, or does not agree to bind the transmission content. Therefore, the server can return the audit result representing the failure of the transmission configuration to the second terminal. The audit result is used to indicate the display of the second terminal, so that the requesting account can know the execution status of the request based on the audit result displayed by the second terminal, realizing the visualization effect of data transmission.
[0121] In one embodiment, based on the target area image, calling the account data to identify the target object includes:
[0122] Query the account data to see whether there is a target account standard identity image that matches the target area image; if there is a target account standard identity image that matches the target area image in the account data, determine that the identity recognition of the target object is successful, and determine that the identity of the target object is the target authorized account corresponding to the target account standard identity image.
[0123] Since the user's registration data is stored in the account data, such as the account ID of the registered account or the authorized account, the account standard identity image and other information. Therefore, the server can query whether there is a target account standard identity image that matches the target area image in the account data based on the target area image, wherein the target account standard identity image refers to the account standard identity image that matches the target area image in the account data, for example, it can be an account standard identity image whose similarity with the target area image in the account data reaches a certain threshold. If it is found that there is a target account standard identity image that matches the target area image in the account data, it can be determined that the identity recognition of the target object has passed, that is, the identity of the target object can be determined to be the target authorized account corresponding to the target account standard identity image. If it is found that there is no target account standard identity image that matches the target area image in the account data, it can be determined that the identity recognition of the target object has failed.
[0124] In this embodiment, by querying whether there is a target account standard identity image matching the target area image in the account data, if there is a target account standard identity image matching the target area image in the account data, it is determined that the identity recognition of the target object is passed, and the identity of the target object is determined to be the target authorized account corresponding to the target account standard identity image, and then the target transmission content pre-bound to the target authorized account can be obtained, thereby realizing sending the transmission content pre-bound to the target object to the first terminal, so as to improve the efficiency and portability of data transmission.
[0125] In one embodiment, in order to ensure the security of data transmission, the above-mentioned transmission configuration request can be sent after being encrypted by the second terminal based on an agreed encryption protocol; after receiving the transmission configuration request sent by the second terminal, it also includes: using a decryption protocol corresponding to the encryption protocol to decrypt the transmission configuration request to obtain the account standard identity image of the requesting account and the transmission content requested to be bound to the requesting account.
[0126] Among them, encryption is the process of converting original data into ciphertext that cannot be read by unauthorized parties. Decryption is the process of converting ciphertext back into readable original data, that is, decryption is the reverse process of encryption. Both encryption protocols and decryption protocols are protocols used for network communication security. Including but not limited to SSL (Secure Sockets Layer) and TLS (Transport Layer Security). Specifically, the SSL protocol and the TLS protocol use two encryption methods: asymmetric encryption and symmetric encryption. Among them, asymmetric encryption is used to establish a secure channel, and symmetric encryption is used to encrypt data in communication. It uses a combination of asymmetric encryption and symmetric encryption to ensure that data is not tampered with during transmission, thereby ensuring the security of the transmitted content.
[0127] In this embodiment, based on the TLS or SSL protocol, the transmission process of the above transmission configuration request is divided into two stages: a handshake stage and a data transmission stage. In the handshake stage, identity authentication and key negotiation are required between the second terminal and the server. First, the second terminal sends a connection request to the server and provides a list of encryption algorithms it supports. The server selects a suitable encryption algorithm and returns its digital certificate to the second terminal. The second terminal uses the server's public key to verify the validity of the digital certificate, generates a random key for symmetric encryption, and then encrypts the key using the server's public key and sends it to the server. The server uses its own private key to decrypt the key, and then both parties use this symmetric key for subsequent data transmission. For example, the second terminal can use the key to encrypt the transmission configuration request and send it to the server. When the server receives the encrypted transmission configuration request, it can use the key to decrypt it, thereby decrypting the specific content of the transmission configuration request, that is, the account standard identity image of the requesting account and the transmission content bound to the requesting account request.
[0128] In this embodiment, the second terminal encrypts the transmission configuration request based on the agreed encryption protocol and sends it to the server. After receiving the data, the server uses the decryption protocol corresponding to the encryption protocol to decrypt the transmission configuration request, thereby decrypting the specific content of the transmission configuration request, that is, obtaining the account standard identity image of the requesting account and the transmission content bound to the requesting account. This ensures that the transmission configuration request is not tampered with during the transmission process, ensuring the integrity and security of the transmission configuration request.
[0129] In one embodiment, transmitting the target transmission content to the content storage space corresponding to the first terminal may specifically include: encrypting the target transmission content based on an agreed encryption protocol to obtain encrypted target transmission content; and transmitting the encrypted target transmission content to the content storage space corresponding to the first terminal.
[0130] Similarly, in this embodiment, in order to ensure the security of data transmission, when the server transmits the target transmission content to the content storage space corresponding to the first terminal, it can also use the above-mentioned TLS protocol or SSL protocol for network communication security to encrypt and transmit the data. Its implementation principle and effect are similar to those in the above-mentioned embodiment, and this embodiment will not be repeated.
[0131] In one embodiment, the transmission content has a corresponding binding category, and the binding category has a standard file type that is allowed to be bound. Among them, the binding category can be a content category divided based on the content of the transmission content itself or its purpose, for example, a resume category, a list category, a multimedia category, etc. It can be understood that the binding category can be specified when the requesting account requests to bind the transmission content. The standard file type refers to the format type of the transmission content that is allowed to be bound, including but not limited to text type, picture type, video type, etc. Usually, in order to regulate the standardization and controllability of the transmission content, the file type of the transmission content allowed to be bound under each binding category, that is, the standard file type, can be limited. Then, for example Figure 4 As shown, the above method also includes:
[0132] Step 402: Identify the actual file type of the transmission content that the requesting account requests to bind.
[0133] The actual file type refers to the file type of the transmission content currently requested to be bound. Specifically, a pre-trained file type classification model can be used to identify the actual file type of the transmission content that the requesting account requests to bind, that is, by inputting the transmission content that the requesting account requests to bind into the file type classification model, the actual file type of the transmission content output by the file type classification model can be obtained.
[0134] In one scenario, the actual file type of the transmission content that the requesting account requests to bind can also be identified based on the file extension of the transmission content, where the file extension is a part of the file name, and different file types usually have different file extensions, for example, the file extension ".txt" indicates a text type, the file extension ".jpg" indicates a picture type, and the file extension ".mp4" indicates a video type, etc. Therefore, by extracting the file extension of the transmission content, the actual file type corresponding to the transmission content can be determined.
[0135] Step 404: If the actual file type of the transmission content requested for binding matches the standard file type allowed for binding by the binding category requested for binding, then the legality of the transmission content requested for binding is verified.
[0136] The file type matching process can be a process for determining whether the file types are the same. For example, if the actual file type of the transmission content requested for binding is the same as the standard file type allowed for binding by the binding category requested for binding, it can be determined that the two match; if they are different, it can be determined that they do not match.
[0137] Specifically, if the actual file type of the transmission content requested to be bound matches the standard file type allowed to be bound by the binding category requested to be bound, the legality of the transmission content requested to be bound is further verified, that is, the legality of the specific content of the transmission content is further audited. For example, it is audited whether the transmission content includes abnormal content, such as whether it includes illegal content, bad content, etc. For example, if the transmission content includes abnormal content, it means that the legality check of the transmission content has failed, and if the transmission content does not include abnormal content, it means that the legality check of the transmission content has passed.
[0138] Step 406, if the legitimacy check of the transmission content requested for binding passes, it is determined that the requesting account is an authorized account, the account standard identity image of the authorized account is obtained, and the account standard identity image of the authorized account and the verified transmission content are stored in the account data accordingly.
[0139] The authorized account refers to an account that has been authorized. Specifically, the authorized account refers to an account that has been authorized by the server to enable the transmission service and has successfully bound the transmission content.
[0140] Specifically, when the server passes the legitimacy verification of the transmission content bound to the requesting account, it can be determined that the requesting account is an authorized account, and the account standard identity image of the authorized account is obtained from the account data, and the account standard identity image of the authorized account and the approved transmission content are stored in the account data accordingly.
[0141] In this embodiment, by identifying the actual file type of the transmission content requested to be bound by the requesting account, if the actual file type of the transmission content requested to be bound matches the standard file type allowed to be bound by the binding category of the requesting binding, the legality of the transmission content requested to be bound is verified, and if the legality verification of the transmission content requested to be bound passes, it is determined that the requesting account is an authorized account, and the account standard identity image of the authorized account is obtained, and the account standard identity image of the authorized account and the transmission content that has passed the verification are stored in the account data accordingly. Since the account standard identity image of the user account that has been authorized by the server and the transmission content that has passed the review are stored in the account data, after obtaining the data transmission request, the server can call the account data to identify the target object of the request, so as to send the transmission content pre-bound to the target object to the first terminal, so as to improve the efficiency and portability of data transmission.
[0142] In one embodiment, verifying the legitimacy of the transmission content bound to the request includes:
[0143] The transmission content is preprocessed based on the actual file type of the transmission content to obtain the target content after the preprocessing of the transmission content; the target content is subjected to content detection, and if it is detected that there is no abnormal content in the target content, it is determined that the legitimacy check of the transmission content has passed, wherein the content detection includes at least one of filter detection and machine learning algorithm detection.
[0144] Among them, preprocessing refers to some processing performed on the data before the main processing to improve the data quality. Specifically, preprocessing includes but is not limited to data cleaning, conversion, reduction, aggregation, sampling, etc. The target content is the result obtained after preprocessing the transmission content. It can be understood that when the actual file type of the transmission content is different, the corresponding preprocessing method may be different. Therefore, in this embodiment, the transmission content can be preprocessed based on the actual file type of the transmission content, that is, the corresponding preprocessing method is determined based on the actual file type of the transmission content to preprocess the transmission content, so as to obtain the target content after the transmission content is preprocessed.
[0145] Content detection may be detection of abnormal content in the target content, wherein the abnormal content may be illegal content, bad content, etc. Specifically, the target content may be subjected to content detection based on at least one of filter detection and machine learning algorithm detection. For example, when a filter is used to perform content detection on the target content, the target content may be filtered using a filter based on pre-set abnormal content such as illegal content and bad content to determine whether there is abnormal content in the target content. If it is determined after filtering that there is no abnormal content in the target content, it may be determined that the legitimacy check for the transmitted content has passed; if it is determined after filtering that there is abnormal content in the target content, it may be determined that the legitimacy check for the transmitted content has failed.
[0146] In one scenario, a machine learning algorithm may also be used to detect whether there is abnormal content in the target content. Among them, the machine learning algorithm includes but is not limited to natural language processing, computer vision and other algorithm technologies. Specifically, a machine learning algorithm may be used to analyze and judge the target content to determine whether there is abnormal content in the target content. If it is determined through analysis and judgment that there is no abnormal content in the target content, it can be determined that the legality check for the transmitted content has passed. If it is determined through analysis and judgment that there is abnormal content in the target content, it can be determined that the legality check for the transmitted content has failed.
[0147] In the above embodiment, the transmission content is preprocessed based on the actual file type of the transmission content to obtain the target content after the preprocessing of the transmission content, and then the target content is subjected to content detection. If it is detected that there is no abnormal content in the target content, it is determined that the legality check of the transmission content has passed. Since the present embodiment performs content detection after preprocessing the transmission content, it is possible to avoid interference with content detection caused by poor quality of the transmission content, which is conducive to improving the accuracy of content detection.
[0148] In one embodiment, the transmission content is preprocessed based on the actual file type of the transmission content to obtain the target content after the preprocessing of the transmission content, including: if the actual file type of the transmission content is a text type, the text content of the transmission content is extracted, and the text content is cleaned to obtain the target content corresponding to the transmission content.
[0149] Among them, text is any discourse fixed by writing, that is, a literary entity composed of language and characters. The text type can be a file format used to represent the literary entity. Specifically, the text type includes but is not limited to plain text documents (whose extension is "txt"), Microsoft Word documents (whose extension is "doc"), and portable document formats (whose extension is "pdf"), etc.
[0150] The extraction of text content can be achieved based on Natural Language Processing (NLP) technology, which is a discipline that uses computer technology to analyze, understand and process natural language with language as the object.
[0151] Data cleaning refers to the process of reexamining and verifying the data, i.e. the extracted text content, to find and correct the identifiable errors in the text content, and to clean up the erroneous or conflicting data according to certain rules, including checking the consistency of the text content, processing invalid values (such as garbled characters) and missing values, etc. Specifically, data cleaning can be achieved through regular expressions.
[0152] Specifically, the server identifies the actual file type of the transmitted content. If the actual file type of the transmitted content is identified as a text type, the server can extract the text content of the transmitted content and perform data cleaning on the text content to remove useless information therein, such as garbled characters, spaces, etc., and correct identifiable errors in the text content, thereby obtaining the target content after data cleaning of the transmitted content. Since the present embodiment extracts the text content of the text type transmitted content and performs data cleaning on the text content to obtain the target content, corrects errors in the text content and removes useless information in the text content, the text quality of the target content can be improved, thereby improving the efficiency of subsequent text analysis and processing.
[0153] In one scenario, the transmission content is preprocessed based on the actual file type of the transmission content to obtain the target content after the preprocessing of the transmission content, including: if the actual file type of the transmission content is a picture type, the transmission content is image normalized to obtain the target content corresponding to the transmission content.
[0154] The image type may be a file storage format of the image. Specifically, the image type includes but is not limited to JPEG (Joint Photographic Experts Group, a compression standard for continuous tone still images) format (with an extension of "jpg" or "jpeg"), PNG (Portable Network Graphics, portable network graphics) format (with an extension of "png"), GIF (Graphic Interchange Format, interchangeable image file) format (with an extension of "gif"), etc.
[0155] Image normalization refers to the process of performing a series of standard processing transformations on an image to transform it into a fixed standard form. The standard image is called a normalized image, which is the target content obtained after the transmission content is subjected to image normalization in this embodiment. Specifically, image normalization includes but is not limited to processing such as cropping, compressing, and adjusting the clarity of the image so that its size, clarity and other parameters reach a standard form. Image normalization can be implemented using an image processing library, such as OpenCV (a cross-platform computer vision and machine learning software library) or Pillow (a Python image processing library).
[0156] Specifically, the server identifies the actual file type of the transmitted content. If the actual file type of the transmitted content is identified as a picture type, the server can perform image normalization on the picture corresponding to the transmitted content to obtain the corresponding normalized image, i.e., the target content. Subsequent analysis and processing of the normalized image will help improve the speed and accuracy of the analysis and processing.
[0157] In one scenario, if the actual file type of the transmitted content is a video type, video processing is performed on the transmitted content to obtain target content corresponding to the transmitted content, wherein the video processing includes at least one of key frame extraction, video segmentation, and video compression.
[0158] The video type may be a format in which the encoded video data, audio data, subtitle data, etc. are packaged in a certain manner. Specifically, the video type includes but is not limited to the Mpeg-4 video format (with an extension of "mp4"), the AVI (Audio Video Interleaved) format (with an extension of "avi"), and the RMVB (variable bit rate (VBR) extended version of the RealMedia multimedia digital container format) format (with an extension of "rmvb"), etc.
[0159] Video processing refers to the process of performing a series of processing on a video file to extract useful information, and the extracted useful information is the target content of the corresponding video file. Specifically, video processing includes but is not limited to performing key frame extraction, video segmentation, video compression and other processing on the video to extract useful information from the video. Video processing can also be implemented using a video processing library, such as OpenCV (a cross-platform computer vision and machine learning software library) or FFmpeg (Fast ForwardMpeg, a multimedia video processing tool).
[0160] Specifically, the server identifies the actual file type of the transmitted content. If the actual file type of the transmitted content is a video type, the server can perform video processing on the video corresponding to the transmitted content to obtain useful information in the video, i.e., the target content, so as to perform subsequent video analysis processing, such as performing content detection based on the processed video to detect its legality. Since the present embodiment performs video processing on the video corresponding to the transmitted content before performing content detection, the detection speed and accuracy can be improved.
[0161] In one embodiment, the transmission content pre-bound by the authorized account has a corresponding binding category. It can be understood that the binding category can be specified by the authorized account when binding the corresponding transmission content. Figure 5 As shown, when the registered account (ie, the user) requests to bind the transmission content through the second terminal, the user first logs in to the application based on the personal account through the second terminal and enters the transmission configuration page corresponding to the authorized transmission service (eg, Figure 6 This page shows the list of binding categories that currently support binding transmission content (such as Figure 6 It can be understood that the classification logic of the binding categories is pre-established by the server based on the transmission requirements, which can be specifically classified based on the content itself of the transmission content or its purpose. For example, the binding categories can include resume categories, list categories, multimedia categories, etc.
[0162] The registered account can select the intended binding category (such as binding category B) to be bound based on the displayed binding category list, and associate the pre-stored transmission content under this category. It is understandable that one or more transmission contents can be associated with each binding category. The second terminal can obtain the selection instruction for the intended binding category and the transmission content associated with the intended binding category based on the displayed binding category list, and generate a transmission configuration request. The second terminal sends the generated transmission configuration request to the server (it is understandable that the transmission configuration request can also include the account information of the registered account currently requested to be bound, such as the account ID of the registered account and the account standard identity image, etc.), and the server performs content review (for details, please refer to the following). Figure 3 Specifically, if the server passes the content review of the transmission configuration request, it is determined that the registered account requested for binding is an authorized account, and the account standard identity image of the authorized account and the approved transmission content are correspondingly stored in the account data. It can be understood that the account data can also store the binding category of the approved transmission content, for example, the name of the binding category or the identifier of a predefined binding category, etc.
[0163] After the content audit is conducted, if the audit is passed, it means that the server agrees to request the account to authorize the transmission service and allows it to bind the transmission content. Therefore, the server can also return the audit result indicating the successful transmission configuration to the second terminal. If the audit fails, it means that the server does not agree to request the account to authorize the transmission service, or does not agree to bind the transmission content. Therefore, the server can return the audit result indicating the failure of the transmission configuration to the second terminal. The registered account can know the execution status of the request based on the audit result displayed by the second terminal, realizing the visualization effect of data transmission.
[0164] In one scenario, the second terminal may also be configured with a corresponding authorized transmission category. The meaning of the authorized transmission category is similar to the above-mentioned binding category, but the difference is that it is determined from different angles. For example, the binding category is specified by the authorized account when binding the corresponding transmission content, and the authorized transmission category is the binding category of the transmission content that the second terminal allows to be transmitted. It is understandable that different authorized transmission categories can be configured for the different hardware and software resources of the second terminal, or the different application scenarios of the second terminal. It should be noted that the configuration of the authorized transmission category is not a necessary item, and it can also be assumed that the second terminal can transmit transmission content of all binding categories. Then the authorized transmission category can be all categories in the binding category list that currently supports binding transmission content.
[0165] In one embodiment, obtaining target transmission content from account data includes:
[0166] Determine from the account data the binding category of the transmission content pre-bound to the target authorized account corresponding to the target object; determine the target binding category in the binding category that matches the authorized transmission category corresponding to the first terminal; determine from the transmission content pre-bound to the target authorized account the transmission content that matches the target binding category as the target transmission content that matches the first terminal.
[0167] The target binding category is a category in the binding category that the target object in the account data has been authorized to bind that matches the authorized transmission category corresponding to the first terminal, and can also be understood as the intersection of the binding category that the target object in the account data has been authorized to bind and the authorized transmission category corresponding to the first terminal, that is, the category that both support or authorize transmission. For example, if the binding categories that the target object in the account data has been authorized to bind include A, B, and C, and the authorized transmission categories corresponding to the first terminal include A, X, and Y, then it can be determined that the matching category between the two, that is, the target binding category, is A.
[0168] Specifically, the server determines the binding category of the transmission content pre-bound to the target authorized account corresponding to the target object from the account data, and determines the target binding category that matches the authorized transmission category corresponding to the first terminal in the binding category, and then determines the transmission content that matches the target binding category from the transmission content pre-bound to the target authorized account as the target transmission content that matches the first terminal. Since the target transmission content is determined based on the category that both (i.e., the target authorized account corresponding to the target object and the second terminal) support or authorize transmission, after determining the target transmission content, the server can directly transmit the target transmission content to the content storage space corresponding to the first terminal, thereby avoiding the transmission of unauthorized or unsupported transmission content to improve the accuracy of the transmission.
[0169] In one embodiment, when there are multiple transmission contents matching the target binding category, after determining the transmission content matching the target binding category from the transmission contents pre-bound to the authorized account, the method further includes:
[0170] A list of multiple transmission content information matching the target binding category is returned to the first terminal, a selection instruction for the target transmission content information returned by the first terminal is received, and transmission content corresponding to the target transmission content information is acquired as the target transmission content matching the first terminal.
[0171] The transmission content information refers to the relevant information of the transmission content, including but not limited to the name of the transmission content, the binding category, etc. The list is a table showing multiple transmission content information. The target transmission content information is one or more transmission content information determined from the list based on the selection instruction.
[0172] Specifically, if there are multiple categories (i.e., target binding categories) in the binding categories that the target object has authorized to bind in the account data that match the authorized transmission category corresponding to the first terminal, there will inevitably be multiple transmission contents that match the target binding category. Since the user can bind one or more transmission contents under one binding category, there may also be multiple transmission contents that match the target binding category in the transmission contents that the authorized account has pre-bound.
[0173] In this case, in order to ensure the accuracy of data transmission and avoid erroneous transmission, when the server determines that there are multiple transmission contents matching the target binding category, it can return a list of multiple transmission content information matching the target binding category to the first terminal, and the list is used to indicate the first terminal to display, and the user can select the target transmission content information to be transmitted based on the list displayed by the first terminal, so that the first terminal can obtain the selection instruction for the target transmission content information based on the displayed list, and send the selection instruction for the target transmission content information to the server. After receiving the selection instruction for the target transmission content information returned by the first terminal, the server can further obtain the transmission content corresponding to the target transmission content information as the target transmission content matching the first terminal.
[0174] When determining that there are multiple transmission contents matching the target binding category, this embodiment returns a list of multiple transmission content information matching the target binding category to the first terminal, and receives a selection instruction for the target transmission content information returned by the first terminal, thereby obtaining the transmission content corresponding to the target transmission content information as the target transmission content matching the first terminal. Since this embodiment returns a list of multiple transmission content information matching the target binding category to the first terminal when determining that there are multiple transmission contents matching the target binding category, the user can confirm the target transmission content information to be transmitted based on the list, and obtain the transmission content corresponding to the target transmission content information as the target transmission content for transmission, thereby avoiding erroneous transmission and ensuring the accuracy of data transmission.
[0175] In one embodiment, before obtaining the data transmission request, the method may further include:
[0176] A connection channel is established between multiple file transfer servers based on a pre-configured file transfer protocol; through the connection channel, the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account are sent to the multiple file transfer servers to instruct the multiple file transfer servers to store the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account in the local account data.
[0177] Among them, the file transfer server is a computer that provides file storage and access services on the Internet. Specifically, the file transfer server can be an FTP server (File Transfer Protocol Server). The file transfer protocol is a protocol used to transfer files. Specifically, the file transfer server usually needs to provide services in accordance with a certain protocol, which is the file transfer protocol. For example, the file transfer protocol followed by the FTP server is the FTP protocol (File Transfer Protocol). The connection channel can be a communication channel for data transmission.
[0178] In this embodiment, the server may store the account data in multiple file transfer servers to improve the reliability and fault tolerance of the data. Figure 7 As shown, the server storage system includes a server and multiple file transfer servers. If the file transfer server includes FTP server 1 and FTP server 2, if the file transfer protocol followed by FTP server 1 is FTP protocol 1, and the file transfer protocol followed by FTP server 2 is FTP protocol 2, then the corresponding file transfer protocols FTP protocol 1 and FTP protocol 2 can be pre-configured in the server.
[0179] When the server needs to store data, it can establish a connection channel with the FTP server 1 based on the FTP protocol 1, and send the data to be stored to the FTP server 1 through the connection channel, such as sending the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account to the FTP server 1, so that the FTP server 1 stores the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account in the local account data.
[0180] The server can also establish a connection channel with the FTP server 2 based on the FTP protocol 2, and send the data to be stored to the FTP server 2 through the connection channel, such as sending the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account to the FTP server 2, so that the FTP server 2 stores the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account in the local account data.
[0181] It is understandable that the above process of establishing a connection channel and transmitting data with FTP server 1 and FTP server 2 can be performed concurrently. In addition, after the data transmission is completed, the server can also compare and verify the account data in FTP server 1 and FTP server 2 to ensure the consistency of the account data in FTP server 1 and FTP server 2.
[0182] In the above embodiment, the server can establish a connection channel with multiple file transfer servers based on a pre-configured file transfer protocol, and send the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account to the multiple file transfer servers through the connection channel, so that the multiple file transfer servers store the corresponding data in the local account data. Therefore, when the data in one file transfer server is damaged, the data in another file transfer server can be used, thereby improving the reliability and fault tolerance of the data.
[0183] In one embodiment, the account data may be stored on multiple file transfer servers. Then, calling the account data to identify the target object includes:
[0184] Based on a pre-configured load balancing strategy, a target file transfer server for identifying a target object is determined from multiple file transfer servers; and the target object is identified using account data in the target file transfer server.
[0185] Load balancing refers to balancing and distributing the load (work tasks) to multiple operating units for operation, so as to complete the work tasks in a coordinated manner. Load balancing can be implemented based on hardware or software. Load balancing strategies are algorithm strategies based on the coordinated completion of work tasks by multiple operating units, which can include polling, weighted polling, minimum connection, etc.
[0186] The target file transfer server is a file transfer server that processes the current request (i.e., identifies the target object) from multiple file transfer servers based on a pre-configured load balancing strategy. Figure 7 As shown in the example, if the server stores account data on FTP server 1 and FTP server 2, and if the pre-configured load balancing strategy is a polling strategy, the server can start to distribute requests one by one from FTP server 1, and each FTP server can be allocated a data transmission request. When all FTP servers have been allocated requests, the second round of distribution begins. After all FTP servers have been allocated a request, the third round begins, and so on. If, based on this strategy, it is determined that the file transfer server that processes the current request is FTP server 2, then FTP server 2 is the target file transfer server, and therefore, the account data in FTP server 2 is used to identify the target object.
[0187] In the above embodiment, based on the pre-configured load balancing strategy, a target file transfer server for identifying the target object is determined from multiple file transfer servers, and the target object is identified using the account data in the target file transfer server. Since this embodiment balances the task of identifying the target object based on load balancing and distributes it to multiple FTP servers for operation, the throughput and stability of the transmission are improved.
[0188] In one embodiment, the server may be a server system, and the server system may include a main server and a standby server. Specifically, a heartbeat connection may be established between the main server and the standby server, and under normal circumstances, the main server executes the data transmission method. The standby server monitors the heartbeat connection state with the main server, wherein the heartbeat connection state includes a normal connection state and an abnormal connection state. When the standby server monitors the heartbeat connection state as an abnormal connection state, the standby server executes the data transmission method.
[0189] That is, when the standby server detects that the heartbeat connection status is abnormal, it can automatically take over the work of the primary server. During this process, all data will be copied to the standby server to ensure that data is not lost and the availability of the service is ensured.
[0190] In one embodiment, Figure 8 As shown, a data transmission method is provided, which is applied to Figure 1 Taking the first terminal in the example as an example, the method includes the following steps:
[0191] Step 802: Generate a data transmission request in response to a data transmission instruction of a target object.
[0192] Among them, the data transmission instruction can be an interaction instruction in the human-computer interaction process. The data transmission instruction is generated based on the triggering of the target object on the first terminal, which can specifically be the wake-up and triggering of the first terminal. The data transmission request is generated by the first terminal based on the data transmission instruction of the target object. It is an instruction or command requesting interaction with the server for data transmission. The data transmission request includes the target area image corresponding to the target object. The target object can be the user object that currently triggers the first terminal to interact with it to request data transmission, which can specifically be the user of the C-end application.
[0193] Specifically, the first terminal may have a built-in or external image acquisition module. When the user of the C-end application, i.e., the target object, needs to transmit the transmission content pre-bound in the application to the first terminal of the B-end, it can initiate a data transmission instruction by triggering the first terminal. When the first terminal receives the data transmission instruction, it calls the image acquisition module to capture external images, and generates a data transmission request based on the target area image when the target area image is captured.
[0194] Step 804: Send a data transmission request to the server.
[0195] Specifically, after the first terminal generates a data transmission request based on the above steps, it sends the data transmission request to the server. To instruct the server to call the account data to identify the target object based on the data transmission request, wherein the account data includes the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account. If the identity identification of the target object is passed, the target transmission content is obtained from the account data, wherein the target transmission content is the transmission content that matches the first terminal in the transmission content pre-bound to the target authorized account corresponding to the target object. And the target transmission content is transmitted to the content storage space corresponding to the first terminal. That is, the server can send the target transmission content pre-bound to the target authorized account corresponding to the target object to the content storage space corresponding to the first terminal based on the data transmission request.
[0196] In the above data transmission method, the first terminal generates a data transmission request by responding to the data transmission instruction of the target object, and sends the data transmission request to the server to instruct the server to call the account data to identify the target object based on the data transmission request. If the identification of the target object is passed, the target transmission content is obtained from the account data, and the target transmission content is transmitted to the content storage space corresponding to the first terminal. The account data includes the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account. The target transmission content is the transmission content that matches the first terminal in the transmission content pre-bound to the target authorized account corresponding to the target object. In this embodiment, by sending a data transmission request to the server, the server can call the account data to identify the target object. Only after determining that the identification of the target object is passed, the target transmission content is further obtained from the account data, and the target transmission content is transmitted to the content storage space corresponding to the first terminal, thereby realizing the transmission content pre-bound to the target object is sent to the first terminal, so as to improve the efficiency and portability of data transmission. In addition, the entire data transmission process is started by responding to the data transmission instruction of the target object, and the processing logic of data transmission is executed by the server, thereby realizing the intelligence of data transmission.
[0197] In one embodiment, after the server transmits the target transmission content to the content storage space corresponding to the first terminal, it can also return the corresponding data transmission result to the first terminal, for example, returning the result of successful data transmission. After the server uses the account data to identify the target object, if the identification of the target object fails, or the identification of the target object passes but the target transmission content is not obtained from the account data, the server can also return the corresponding data transmission result to the first terminal, for example, returning the result of failed data transmission.
[0198] After the server transmits the target transmission content to the content storage space corresponding to the first terminal, the method further includes: receiving a data transmission result for the data transmission request returned by the server, and displaying the data transmission result.
[0199] The data transmission result is used to characterize the result of successful data transmission or failed data transmission. Specifically, after sending a data transmission request to the server, the first terminal can also receive the data transmission result returned by the server for the data transmission request, and after receiving the data transmission result, display the data transmission result. This allows the target object to know the execution status of the request based on the request result displayed by the first terminal, thus achieving a visualization effect of data transmission.
[0200] In one embodiment, after sending the data transmission request to the server, the method further includes: if target transmission content returned by the server is received, displaying the target transmission content.
[0201] Specifically, since the first terminal sends the data transmission request to the server, it is to enable the server to call the account data to identify the target object based on the data transmission request, and after the identification of the target object is passed, obtain the target transmission content from the account data to transmit the target transmission content to the content storage space corresponding to the first terminal, or the server can also directly transmit the target transmission content to the first terminal. Therefore, after the first terminal sends the data transmission request to the server, if the target transmission content returned by the server is received, the target transmission content can also be displayed to achieve a visual display of the transmission content.
[0202] In one embodiment, after sending the data transmission request to the server, the method further includes:
[0203] If a list including multiple transmission content information is received from the server, the list is displayed; in response to a selection instruction for the target transmission content information in the list, a selection instruction is sent to the server so that the server obtains the target transmission content matching the target transmission content information corresponding to the selection instruction from the account data.
[0204] The transmission content information refers to the relevant information of the transmission content, including but not limited to the name of the transmission content or other relevant information. The list is a table showing multiple transmission content information. The selection instruction is an interactive instruction to determine one or more transmission content information from the list. The target transmission content information is one or more specific transmission content information determined from the list based on the selection instruction. The target transmission content is the transmission content corresponding to the target transmission content information.
[0205] Specifically, since the first terminal sends the data transmission request to the server, it is to enable the server to call the account data to identify the target object based on the data transmission request, and after the identification of the target object is passed, the target transmission content pre-bound to the target object is obtained from the account data, so as to transmit the target transmission content to the content storage space corresponding to the first terminal. Since the user can bind one or more transmission contents in advance, when there are multiple target transmission contents obtained by the server, in order to ensure the accuracy of data transmission and avoid erroneous transmission, the server can also return a list of transmission content information of the multiple target transmission contents to the first terminal. When the first terminal receives the list, it can also display the list so that the user can select the target transmission content information to be transmitted based on the list displayed by the first terminal. The first terminal can obtain a selection instruction for the target transmission content information based on the displayed list, and send a selection instruction for the target transmission content information to the server. After receiving the selection instruction for the target transmission content information returned by the first terminal, the server can further obtain the transmission content corresponding to the target transmission content information as the target transmission content.
[0206] When receiving a list including multiple transmission content information returned by the server, this embodiment displays the list, and in response to a selection instruction for the target transmission content information in the list, sends a selection instruction to the server, so that the server obtains the target transmission content matching the target transmission content information corresponding to the selection instruction from the account data. Since this embodiment can receive and display the list including multiple transmission content information returned by the server when it is determined that there are multiple target transmission contents, the user can confirm the target transmission content information to be transmitted based on the list, and then the server can determine the target transmission content to be transmitted in the end based on the target transmission content information, thereby avoiding erroneous transmission and ensuring the accuracy of data transmission.
[0207] In one embodiment, the target transmission content is sent after being encrypted by the server based on an agreed encryption protocol; after receiving the target transmission content returned by the server, the above method also includes: using a decryption protocol corresponding to the encryption protocol to decrypt the target transmission content to obtain the decrypted content.
[0208] Among them, encryption is the process of converting original data into ciphertext that cannot be read by unauthorized parties. Decryption is the process of converting ciphertext back into readable original data, that is, decryption is the reverse process of encryption. Encryption protocols and decryption protocols are both protocols used for network communication security, including but not limited to SSL protocol and TLS protocol.
[0209] Specifically, when the server transmits the target transmission content to the first terminal, it can encrypt the target transmission content based on the agreed encryption protocol and then send it to the first terminal. After the first terminal receives the encrypted target transmission content, it can use the decryption protocol corresponding to the encryption protocol to decrypt the target transmission content, thereby obtaining the decrypted content. This ensures that the target transmission content is not tampered with during the transmission process, and ensures the integrity and security of the target transmission content.
[0210] In one embodiment, the first terminal has an image acquisition module. In response to a data transmission instruction of the target object, a data transmission request is generated, including:
[0211] In response to a data transmission instruction of a target object, an image acquisition module is called to acquire streaming media data of the target object, wherein the streaming media data includes multiple frame area images of the target object; quality detection is performed on the multiple frame area images to obtain detection results of each frame area image; a target area image is determined from the multiple frame area images according to the detection results, and a data transmission request is generated based on the target area image.
[0212] The data transmission instruction is an interactive instruction in the human-computer interaction process. In this embodiment, the data transmission instruction is an interactive instruction for the target object to interact with the first terminal, which can specifically be the target object waking up or triggering the first terminal, so that the first terminal can make a corresponding response, such as calling the image acquisition module to collect streaming media data of the target object.
[0213] Streaming media data refers to a series of streaming media collected by the image acquisition module. Specifically, the streaming media may be a video stream, an image stream, etc. of the target object. A regional image is an image frame containing a preset region in a video stream or an image stream. The preset region may be a pre-set region for identity recognition, for example, including but not limited to a face region, a palm region, etc. In this embodiment, the streaming media data may include multiple frames of regional images of the target object.
[0214] It can be understood that if the pre-set area for identity recognition is the face area, the image acquisition module is used to capture the face image of the target object; if the pre-set area for identity recognition is the palm area, the image acquisition module is used to capture the palm image of the target object.
[0215] Quality detection can be a process of detecting the quality of a regional image based on various image quality indicators. The image quality indicators may include image contrast, brightness, clarity, and the size and angle of a set region in the image. The detection result is a comprehensive evaluation result of the regional image based on various image quality indicators. The target regional image refers to the regional image with the best detection result in the streaming media data.
[0216] Specifically, the first terminal may have a built-in or external image acquisition module. When the user of the C-end application, i.e., the target object, needs to transmit the transmission content pre-bound in the application to the first terminal of the B-end, it can initiate a data transmission instruction by triggering the first terminal. When the first terminal receives the data transmission instruction, it calls the image acquisition module to collect the streaming media data of the target object, and the streaming media data includes multiple frame area images of the target object. The first terminal can also perform quality detection on the multiple frame area images to obtain the detection results of each frame area image, and then determine the target area image with the best detection result from the multiple frame area images according to the detection results, and generate a data transmission request based on the target area image. Since the target area image in the data transmission request is the area image with the best detection result determined after screening, the image quality of the target area image is ensured, and the recognition accuracy of subsequent identity recognition based on the target area image can be improved.
[0217] In one embodiment, responding to the data transmission instruction of the target object includes: responding to the data transmission instruction of the target object in a data transmission mode.
[0218] Among them, the data transmission mode is a mode in which the first terminal performs data transmission. In the data transmission mode, the first terminal can generate a data transmission request based on the data transmission instruction of the target object, and send the data transmission request to the server to instruct the server to transmit the target transmission content pre-bound by the target object through the second terminal to the content storage space corresponding to the first terminal based on the data transmission request. That is, in the data transmission mode, the first terminal can send a data transmission request to the server based on the data transmission instruction of the target object, so that the server can send the transmission content pre-bound by the target object to the first terminal, thereby improving the efficiency and portability of data transmission.
[0219] In one embodiment, before responding to the data transmission instruction of the target object, the method further includes:
[0220] In response to a switch trigger operation for a target working mode, a switch instruction for the target working mode is obtained; the switch instruction is verified, and if the switch instruction is verified, the current working mode is switched to the target working mode according to the switch instruction.
[0221] Among them, the target working mode can be the working mode that you want to switch to at present, and the target working mode can be any mode among the working modes supported by the first terminal. It is understandable that the first terminal can have multiple working modes. For example, when the first terminal is used as an offline payment device, it at least includes a payment mode and a data transmission mode. When the first terminal is used as an access control device, it at least includes an access control mode and a data transmission mode. When in payment mode or access control mode, conventional payment functions or access control functions can be implemented, and in data transmission mode, the data transmission method of the present application can be implemented. It is understandable that switching between various modes can be performed.
[0222] The switching trigger operation is an operation related to switching the working mode of the first terminal, for example, it can be a voiceprint operation, a gesture operation, a touch operation, etc. The switching instruction can be a machine instruction for switching the working mode, such as a voice instruction, a gesture instruction, a touch instruction, etc. The verification of the switching instruction is to verify the legitimacy of the instruction to prevent unauthorized personnel from arbitrarily switching the working mode of the first terminal.
[0223] Specifically, when the working mode of the first terminal needs to be switched, a switching trigger operation for the target working mode can be initiated to the first terminal, and the first terminal responds to the switching trigger operation for the target working mode and obtains a switching instruction for the target working mode, and then the switching instruction can be verified. If the switching instruction is verified, the current working mode is switched to the target working mode according to the switching instruction, so as to switch the working mode of the first terminal. For example, when the switching trigger operation is a voiceprint operation, the corresponding switching instruction can be a voice instruction, and when the switching trigger operation is a gesture operation, the corresponding switching instruction can be specific gesture information.
[0224] In this embodiment, in response to the switching trigger operation of the target working mode, the switching instruction for the target working mode is obtained, and the switching instruction is verified. If the switching instruction is verified, the current working mode is switched to the target working mode according to the switching instruction. Since the corresponding switching instruction needs to be verified before the working mode is switched in this embodiment, the switching is performed only after the verification is passed, thus improving the security of the working mode switching of the first terminal, and preventing unauthorized personnel from arbitrarily switching the working mode of the first terminal and causing damage to the first terminal.
[0225] In one embodiment, the switching trigger operation for the target working mode includes a voiceprint trigger, and the switching instruction includes a voice instruction; the switching instruction is verified, including: extracting features of the voice instruction to obtain a voiceprint feature corresponding to the voice instruction; if the voiceprint feature matches the voiceprint feature of an authorized account that has working mode switching authority for the first terminal, it is determined that the switching instruction verification has passed.
[0226] Among them, voiceprint trigger refers to a trigger based on sound, and the corresponding voice command is the sound signal generated during the voiceprint triggering process. Voiceprint features are the sound wave spectrum features carrying speech information extracted from voice commands, and each person's voiceprint features are unique. Feature extraction is the extraction of key sound features in voice commands, such as spectrum, tone, etc. The voiceprint features of the authorized account that has the permission to switch the working mode of the first terminal can be pre-acquired and stored.
[0227] Specifically, when the switching instruction acquired by the first terminal is a voice instruction, feature extraction is performed on the voice instruction to extract the voiceprint feature in the voice instruction, and the extracted voiceprint feature is compared with the voiceprint feature of the authorized account that has the permission to switch the working mode of the first terminal. If there is a target voiceprint feature in the voiceprint feature of the authorized account that matches the extracted voiceprint feature, it can be determined that the switching instruction verification is passed. Matching can mean that the similarity between the two meets a certain similarity threshold, or the Euclidean distance between the two meets a certain distance threshold.
[0228] In this embodiment, the voice command is feature extracted to obtain the voiceprint feature corresponding to the voice command. If the voiceprint feature matches the voiceprint feature of the authorized account that has the permission to switch the working mode of the first terminal, it is determined that the switching command has been verified. The voice command is verified by the voiceprint feature, so as to ensure the accuracy of the verification and prevent an unauthorized user from arbitrarily switching the working mode of the first terminal.
[0229] In one embodiment, the switching instruction includes a voice instruction. Switching the current working mode to the target working mode according to the switching instruction includes:
[0230] The voice command is parsed to obtain semantic information corresponding to the voice command; if there is an instruction of a target working mode matching the semantic information in the preset working mode instructions, the current working mode is switched to the target working mode corresponding to the voice command.
[0231] Among them, semantic information is one of the forms of information expression, which is meaningful information that can eliminate the uncertainty of things. Parsing the voice command can be a process of converting unstructured voice information into structured semantic information through technologies such as voice recognition. The preset working mode instruction can be an instruction of the corresponding working mode pre-set based on the working mode that the first terminal can support.
[0232] In this embodiment, when the switching instruction obtained by the first terminal is a voice instruction, and the voice instruction is verified, the voice instruction is further parsed to obtain semantic information corresponding to the voice instruction, and the semantic information is matched with the preset working mode instruction. When there is an instruction of the target working mode matching the semantic information in the preset working mode instruction, the current working mode is switched to the target working mode corresponding to the voice instruction. Because this embodiment needs to verify the switching instruction before switching the working mode of the first terminal, and the working mode is further switched only after the verification is passed, it can prevent unauthorized users from arbitrarily switching the working mode of the first terminal, thereby improving the controllability of the working mode switching.
[0233] In one embodiment, the above method is applied to Fig. 9 Take the system shown as an example, in which the first terminal can be a palm-swiping device, which can be a palm-swiping payment device deployed in various supermarkets and convenience stores, or a palm-swiping access control device deployed in enterprises, factories, etc. The first terminal can have a built-in image acquisition module (such as a 3D camera), and the first terminal can also have a B-end application installed. The second terminal can be a user's personal terminal such as a user's mobile phone, and the second terminal is installed with a C-end application corresponding to the B-end application. The application can specifically be an instant social communication application, such as WeChat application, QQ application, etc., which can be specifically used in payment scenarios or identity recognition scenarios. It can be understood that the B-end application and the C-end application can be the enterprise version and personal version of the same application, then the B-end application and the C-end application can share the same application server, and the relevant data generated by the B-end application and the C-end application can be stored in the application server, or can be stored in different storage servers respectively. Fig. 9 In the description, it is taken as an example that the relevant data of the C-side application is stored in the application server, and the relevant data of the B-side application is stored in an independent storage server.
[0234] In this embodiment, taking the first terminal as a palm-swipe payment device as an example, the first terminal is installed with a B-end payment application, and the second terminal is a user's personal terminal, which is installed with a C-end payment application. The first terminal can have multiple working modes. For example, when the first terminal is used as a palm-swipe payment device, it at least includes a payment module for payment and a data transmission module for data transmission. When the first terminal is used as an access control device, it at least includes an access control module for access control and a data transmission module for data transmission. When in payment mode or access control mode, conventional payment functions or access control functions can be implemented, and in data transmission mode, the data transmission method of the present application can be implemented to realize the transmission of various data such as resumes, multimedia, documents, etc., that is, the transmission content pre-bound by the second terminal is sent to the content storage space corresponding to the first terminal. It can be understood that the various modes can be switched with each other.
[0235] Specifically, the user can bind the content to be transmitted in the application through the second terminal, and then when the user needs to send the transmission content to the first terminal, the first terminal can be triggered to initiate a data transmission instruction when the first terminal is in data transmission mode. After the first terminal receives the data transmission instruction, the image acquisition module can be called to acquire the user's target area image, and a data transmission request is generated based on the target area image, and the data transmission request is sent to the application server. After receiving the data transmission request, the application server calls the account data (including the authorized account information of the application, such as palm features and related files pre-bound to the authorized account, such as customized content) to identify the user (for example, based on the palm image collected by the palm swiping device). If the user's identity identification is passed, the target transmission content is obtained from the related files authorized by the user to be bound, and the target transmission content is transmitted to the content storage space corresponding to the first terminal, thereby realizing the sending of the content to be transmitted that the user binds in the C-end application through the second terminal to the content storage space corresponding to the first terminal.
[0236] like Fig.10 As shown, combined Fig. 9 The system further illustrates the data transmission method of the present application. First, the user can bind the transmission content (such as resumes, multimedia, and documents, etc.) to be transmitted through a personal application account (such as an instant social communication application account) and based on the second terminal. Specifically, after the user logs in to the application such as an instant social communication application through a personal application account and based on the second terminal, he can enter the transmission configuration page of the authorized transmission service corresponding to the application (such as Fig. 9 In the transmission configuration module in the page, the user can associate the transmission content to be transmitted under the binding category of interest based on the displayed binding categories (i.e., the supported category list). It can be understood that one or more transmission contents can be associated under each binding category. The binding categories can specifically include resume categories, list categories, multimedia categories, etc.
[0237] The second terminal can obtain the user's selection instruction for the intended binding category and the transmission content associated with the intended binding category based on the transmission configuration page, and generate a transmission configuration request. The second terminal sends the generated transmission configuration request to the application server through the upload module (it can be understood that the transmission configuration request can also include the account information of the instant social communication application account currently requested to be bound, such as the account identifier of the instant social communication application account and the account standard identity image, etc.), and the content audit service of the application server performs content audit. Specifically, if the application server passes the content audit of the transmission configuration request, it is determined that the account requested to be bound is an authorized account, and the account standard identity image (such as palm features) of the authorized account and the audited transmission content (such as customized content) are stored in the account data accordingly. It can be understood that the account data can also store the binding category of the audited transmission content, for example, the name of the binding category or the identifier of the predefined binding category, etc. The application server can also return the transmission configuration result to the second terminal to characterize the success or failure of the transmission configuration. The account standard identity image of the instant social communication application account can include a palm image or a face image corresponding to the instant social communication application account. At this point, the user has completed the binding of the transmission content. Afterwards, the user can send the transmission content to the first terminal.
[0238] The application server may include a local storage space and an FTP service, and the FTP service is used to establish a connection with a corresponding FTP server in the network. Therefore, the application server may store the account data in the local storage space, or transmit the account data to the FTP server in the network through the FTP service for storage. It is understandable that the FTP service may include multiple FTP services, each of which is connected to a corresponding FTP server.
[0239] If the first terminal is currently operating in the payment mode (i.e., the normal mode), the first terminal can implement the payment function based on the user's palm swipe. Specifically, when the first terminal obtains a payment request (i.e., when the user swipes his palm, Fig.11 As shown), the image acquisition module can be called to acquire the target area image of the user to be paid, and a request can be sent to the application server based on the target area image. The application server calls the palm swiping recognition service to identify the user to be paid. When the identity recognition is successful, the application server can execute the payment operation based on the payment request and return the payment result to the result page module of the first terminal to realize the payment function.
[0240] When the user needs to send transmission content to the first terminal, the current working mode of the first terminal can be switched, that is, its working mode can be switched to data transmission mode. After that, the first terminal can realize the data transmission function based on the user's palm swiping. Specifically, when the first terminal obtains the data transmission instruction (that is, the user swipes the palm), the image acquisition module can be called to acquire the target area image of the requesting user, and a data transmission request is sent to the application server based on the target area image. After receiving the data transmission request, the application server calls the account data (including the authorized account information of the application and the relevant files pre-bound to the authorized account) to identify the requesting user (for example, based on the palm image collected by the palm swiping device for identity identification). If the identity identification of the requesting user is passed, the target transmission content is obtained from the relevant files authorized by the user, that is, the classification matching service is called to determine the transmission content that matches the first terminal from the transmission content authorized by the user. Then the matching result is returned to the first terminal. If the user confirms, the first terminal returns the confirmation result (the target transmission content that needs to be transmitted confirmed by the user) to the application server, so that the application server sends the target transmission content that needs to be transmitted confirmed by the user to the storage server corresponding to the first terminal. After receiving the relevant content, the storage server can also return a result to the first terminal, such as a result of successful reception. The first terminal can also display the returned result so that the user can know the progress of data transmission. The storage server may include a local storage space and may also include an FTP service, which can specifically establish a connection with an FTP server in the network based on the FTP service. Therefore, the storage server can store the received target transmission content in the local content storage space, or transmit the received target transmission content to the FTP server in the network through the FTP service for storage.
[0241] In the above embodiment, the first terminal and the second terminal are respectively corresponding to different storage servers for explanation. In actual application, the first terminal and the second terminal may also correspond to different storage spaces in the same server (such as an application server). After the user confirms the target transmission content to be transmitted based on the first terminal, the first terminal sends a corresponding instruction (i.e., the user's selection instruction) to the server based on the target transmission content to be transmitted confirmed by the user. After receiving the selection instruction, the server sends the target transmission content to the content storage space corresponding to the first terminal. Specifically, it may be sent to the content storage space of the first terminal, or it may be sent to the content storage space corresponding to the first terminal in the server, or it may be sent to the content storage space corresponding to the first terminal in the network, such as the FTP server corresponding to the first terminal. After sending the target transmission content to the content storage space corresponding to the first terminal, the server may also transmit the data result to the first terminal, such as the result of successful transmission. The first terminal may also display the data transmission result so that the user can know the progress of the data transmission.
[0242] In the above embodiments, all data transmission processes can be encrypted based on a network communication security protocol (such as the SSL protocol or the TLS protocol). For example, when the second terminal sends a transmission configuration request to the server, when the server returns a transmission configuration result to the second terminal, when the first terminal sends a data transmission request to the server, and when the server transmits data to the corresponding FTP server, encrypted transmission can be performed to ensure the security of the data transmission process.
[0243] In the above embodiment, the server specifically includes the following when performing content audit on the transmission content in the received transmission configuration request: identifying the actual file type of the transmission content requested to be bound by the requesting account; if the actual file type of the transmission content requested to be bound matches the standard file type allowed to be bound by the binding category requested to be bound, then verifying the legitimacy of the transmission content requested to be bound; if the legitimacy check for the transmission content requested to be bound passes, then determining that the requesting account is an authorized account, obtaining the account standard identity image of the authorized account, and storing the account standard identity image of the authorized account and the transmission content that has passed the check in the account data accordingly. Among them, verifying the legitimacy of the transmission content requested to be bound specifically also includes: preprocessing the transmission content based on the actual file type of the transmission content to obtain the target content after the transmission content is preprocessed; performing content detection on the target content, and if it is detected that there is no abnormal content in the target content, determining that the legitimacy check for the transmission content has passed, wherein the content detection includes at least one of filter detection and machine learning algorithm detection. Specifically, the transmission content is preprocessed based on the actual file type of the transmission content to obtain the target content after the preprocessing of the transmission content, which specifically includes: if the actual file type of the transmission content is a text type, the text content of the transmission content is extracted, and the text content is cleaned to obtain the target content corresponding to the transmission content; if the actual file type of the transmission content is a picture type, the transmission content is image normalized to obtain the target content corresponding to the transmission content; if the actual file type of the transmission content is a video type, the transmission content is video processed to obtain the target content corresponding to the transmission content, wherein the video processing includes at least one of key frame extraction, video segmentation, and video compression. Since the account data stores relevant information that has been authorized by the server, after obtaining the data transmission request, the server can call the account data to identify the target object of the request, so as to send the transmission content pre-bound to the target object to the first terminal, so as to improve the efficiency and portability of data transmission.
[0244] In the above embodiment, calling the account data to identify the target object may specifically include: querying whether there is a target account standard identity image matching the target area image in the account data; if there is a target account standard identity image matching the target area image in the account data, determining that the identity identification of the target object is passed, and determining that the identity of the target object is the target authorized account corresponding to the target account standard identity image. Since this embodiment further requests and processes the target object only after the target object's identity identification is passed, the security of the processing can be improved.
[0245] In the above embodiment, switching the current working mode of the first terminal may include: in response to a switching trigger operation for a target working mode, obtaining a switching instruction for the target working mode, verifying the switching instruction, and if the switching instruction is verified, switching the current working mode to the target working mode according to the switching instruction. Specifically, when the switching trigger operation is a voiceprint trigger and the switching instruction is a voice instruction, verifying the switching instruction specifically includes: extracting features from the voice instruction to obtain a voiceprint feature corresponding to the voice instruction; if the voiceprint feature matches the voiceprint feature of an authorized account that has working mode switching authority for the first terminal, determining that the switching instruction is verified. Then switching the current working mode to the target working mode according to the switching instruction includes: parsing the voice instruction to obtain semantic information corresponding to the voice instruction; if there is an instruction of the target working mode matching the semantic information in the preset working mode instruction, switching the current working mode to the target working mode corresponding to the voice instruction. Since this embodiment needs to verify the switching instruction when switching the working mode of the first terminal, and the working mode is further switched only after the verification is passed, it can prevent unauthorized users from arbitrarily switching the working mode of the first terminal, thereby improving the controllability of working mode switching.
[0246] In the above embodiment, the first terminal calling the image acquisition module to acquire the target area image may specifically include: acquiring streaming media data of the target object by calling the image acquisition module, wherein the streaming media data includes multiple frames of area images of the target object; performing quality detection on the multiple frames of area images to obtain the detection result of each frame of area image; determining the area image with the best quality from the multiple frames of area images as the target area image (i.e., preferred) according to the detection result, and generating corresponding requests based on the target area image, such as data transmission request, payment request, etc. Since the target area image in the data transmission request is the area image with the best detection result determined after screening, the image quality of the target area image is ensured, and the recognition accuracy of subsequent identity recognition based on the target area image can be improved.
[0247] In addition, in order to further improve the security of data transmission, a biopsy service may be provided in the first terminal, that is, to detect whether there is a living object in the target area image. Therefore, the first terminal may also perform a liveness detection on the target area image through the biopsy service, and only send a corresponding request to the application server when it is confirmed that there is a living object in the target area image.
[0248] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0249] Based on the same inventive concept, the embodiment of the present application also provides a data transmission device for implementing the data transmission method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more data transmission device embodiments provided below can refer to the limitations on the data transmission method above, and will not be repeated here.
[0250] In one embodiment, Fig.12 As shown, a data transmission device is provided, which is applied to a server and includes: a request acquisition module 1202, an identity recognition module 1204, a target content determination module 1206 and a transmission module 1208, wherein:
[0251] The request acquisition module 1202 is used to acquire a data transmission request, wherein the data transmission request is generated by the first terminal based on the data transmission instruction, and the data transmission request includes a target area image corresponding to the target object;
[0252] An identity recognition module 1204 is used to call account data to identify the target object based on the target area image, wherein the account data includes a standard identity image of an authorized account and transmission content pre-bound to the authorized account;
[0253] The target content determination module 1206 is configured to obtain target transmission content from the account data if the identity recognition of the target object is successful, wherein the target transmission content is the transmission content that matches the first terminal in the transmission content pre-bound to the target authorized account corresponding to the target object;
[0254] The transmission module 1208 is configured to transmit the target transmission content to the content storage space corresponding to the first terminal.
[0255] In one embodiment, the data transmission device also includes a transmission content binding module, which is used to: receive a transmission configuration request sent by the second terminal, the transmission configuration request is used to request authorization of a transmission service for a requesting account to bind transmission content, the transmission configuration request includes an account standard identity image of the requesting account and the transmission content that the requesting account requests to be bound; according to the transmission configuration request, perform a content review on the transmission content that the requesting account requests to be bound; if the transmission content that the requesting account requests to be bound is reviewed and approved, it is determined that the requesting account is an authorized account, and the account standard identity image of the authorized account and the approved transmission content are stored in the account data accordingly.
[0256] In one embodiment, the requesting account is an instant social communication application account, and the server is a background server of the instant social communication application; the transmission content binding module is further used to: receive a transmission configuration request for the instant social communication application account sent by the second terminal based on the instant social communication application, wherein the transmission configuration request is used to request authorization of a transmission service for the instant social communication application account to bind transmission content, and the transmission configuration request includes an account standard identity image of the instant social communication application account and transmission content that the instant social communication application account requests to be bound, and the account standard identity image of the instant social communication application account includes a palm image corresponding to the instant social communication application account.
[0257] In one embodiment, the transmission module is further used to: return a review result to the second terminal, wherein the review result is used to indicate that the transmission configuration is successful or failed.
[0258] In one embodiment, the transmission configuration request is sent after being encrypted by the second terminal based on an agreed encryption protocol; the data transmission device also includes a decryption module, which is used to: decrypt the transmission configuration request using a decryption protocol corresponding to the encryption protocol to obtain the account standard identity image of the requesting account and the transmission content requested to be bound to the requesting account.
[0259] In one embodiment, the data transmission device also includes an encryption module, which is used to encrypt the target transmission content based on an agreed encryption protocol to obtain encrypted target transmission content; the transmission module is also used to transmit the encrypted target transmission content to the content storage space corresponding to the first terminal.
[0260] In one embodiment, the transmission content has a corresponding binding category, and the binding category has a standard file type that is allowed to be bound; the data transmission device also includes a transmission content review module, which is used to: identify the actual file type of the transmission content requested to be bound by the requesting account; if the actual file type of the transmission content requested to be bound matches the standard file type allowed to be bound by the binding category requested to be bound, then verify the legitimacy of the transmission content requested to be bound; if the legitimacy check of the transmission content requested to be bound passes, it is determined that the requesting account is an authorized account, and the account standard identity image of the authorized account is obtained, and the account standard identity image of the authorized account and the verified transmission content are stored in the account data accordingly.
[0261] In one embodiment, the transmission content audit module is also used to: pre-process the transmission content based on the actual file type of the transmission content to obtain the target content after the pre-processing of the transmission content; perform content detection on the target content, and if it is detected that there is no abnormal content in the target content, determine that the legitimacy check of the transmission content has passed, wherein the content detection includes at least one of filter detection and machine learning algorithm detection.
[0262] In one embodiment, the transmission content review module is also used for: if the actual file type of the transmission content is a text type, then the text content of the transmission content is extracted, and the text content is cleaned to obtain the target content corresponding to the transmission content; if the actual file type of the transmission content is a picture type, then the transmission content is image normalized to obtain the target content corresponding to the transmission content; if the actual file type of the transmission content is a video type, then the transmission content is video processed to obtain the target content corresponding to the transmission content, wherein the video processing includes at least one of key frame extraction, video segmentation, and video compression.
[0263] In one embodiment, the transmission module is also used to: establish a connection channel with multiple file transfer servers based on a preconfigured file transfer protocol; send the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account to the multiple file transfer servers through the connection channel, so as to instruct the multiple file transfer servers to store the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account in the local account data.
[0264] In one embodiment, account data is stored on multiple file transfer servers; the identity recognition module is also used to: determine a target file transfer server for identifying a target object from multiple file transfer servers based on a pre-configured load balancing strategy; and use the account data in the target file transfer server to identify the target object.
[0265] In one embodiment, the identity recognition module is also used to: query whether there is a target standard identity image matching the target area image in the account data; if there is a target standard identity image matching the target area image in the account data, determine that the identity recognition of the target object is passed, and determine that the identity of the target object is the target authorized account corresponding to the target standard identity image.
[0266] In one embodiment, the transmission content pre-bound to the authorized account has a corresponding binding category, and the first terminal is configured with a corresponding authorized transmission category; the target content determination module is specifically used to: determine the binding category of the transmission content pre-bound to the target authorized account corresponding to the target object from the account data; determine the target binding category in the binding category that matches the authorized transmission category corresponding to the first terminal; determine the transmission content that matches the target binding category from the transmission content pre-bound to the target authorized account as the target transmission content that matches the first terminal.
[0267] In one embodiment, when there are multiple transmission contents matching the target binding category, the target content determination module is further used to: return a list of multiple transmission content information matching the target binding category to the first terminal, the list being used to instruct the first terminal to display, so that the first terminal obtains a selection instruction for the target transmission content information based on the displayed list; receive the selection instruction for the target transmission content information returned by the first terminal, and obtain the transmission content corresponding to the target transmission content information as the target transmission content matching the first terminal.
[0268] In one embodiment, the data transmission device is applied to at least one of a resume delivery scenario, a multimedia delivery scenario, and a document transmission scenario. The first terminal is a palm swiping device, which is used to collect a target area image corresponding to the target object. The target area image is a palm image corresponding to the target object.
[0269] In one embodiment, the server is a server system, which includes a main server, a backup server and a disaster recovery device, and the disaster recovery device is communicated with the main server and the backup server respectively; if the data transmission device is applied to the main server, the main server and the backup server can also be monitored for faults through the disaster recovery device; if the disaster recovery device detects that there is a fault in the main server, the backup server is switched to apply the data transmission device.
[0270] In one embodiment, Fig.13 As shown, a data transmission device is provided, which is applied to a first terminal and includes: a request generating module 1302 and a request sending module 1304, wherein:
[0271] A request generation module 1302, configured to generate a data transmission request in response to a data transmission instruction of a target object, wherein the data transmission request includes a target area image corresponding to the target object;
[0272] The request sending module 1304 is used to send a data transmission request to the server to instruct the server to call the account data to identify the target object based on the data transmission request. If the identity identification of the target object is successful, the target transmission content is obtained from the account data, and the target transmission content is transmitted to the content storage space corresponding to the first terminal, wherein the account data includes the standard identity image of the authorized account and the transmission content pre-bound to the authorized account, and the target transmission content is the transmission content that matches the first terminal in the transmission content pre-bound to the target authorized account corresponding to the target object;
[0273] In one embodiment, the data transmission device further includes a display module, which is used to: receive the data transmission result returned by the server for the data transmission request, and display the data transmission result, wherein the data transmission result is used to indicate the success or failure of the data transmission.
[0274] In one embodiment, the display module is also used to: if a list including multiple transmission content information is received from the server, display the list; then the request sending module is also used to: respond to a selection instruction for the target transmission content information in the list, send a selection instruction to the server, so that the server obtains the target transmission content matching the target transmission content information corresponding to the selection instruction from the account data.
[0275] In one embodiment, the display module is further used to: if the target transmission content returned by the server is received, display the target transmission content.
[0276] In one embodiment, the target transmission content is sent after being encrypted by the server based on an agreed encryption protocol; the data transmission device also includes a decryption module for decrypting the target transmission content using a decryption protocol corresponding to the encryption protocol to obtain decrypted content.
[0277] In one embodiment, the request generation module is also used to: respond to the data transmission instruction of the target object in the data transmission mode, the data transmission mode is a mode in which the first terminal performs data transmission, in the data transmission mode, the first terminal generates a data transmission request based on the data transmission instruction of the target object, and sends the data transmission request to the server to instruct the server to transfer the target transmission content pre-bound by the target object through the second terminal to the content storage space corresponding to the first terminal based on the data transmission request.
[0278] In one embodiment, the data transmission device also includes a mode switching module, which is used to: in response to a switching trigger operation for a target working mode, obtain a switching instruction for the target working mode, wherein the target working mode includes a data transmission mode; verify the switching instruction, and if the switching instruction is verified, switch the current working mode to the target working mode according to the switching instruction.
[0279] In one embodiment, the switching trigger operation for the target working mode includes a voiceprint trigger, and the switching instruction includes a voice instruction; the mode switching module is also used to: extract features of the voice instruction to obtain voiceprint features corresponding to the voice instruction; if the voiceprint features match the voiceprint features of the authorized account that has the working mode switching authority for the first terminal, it is determined that the switching instruction verification has passed.
[0280] In one embodiment, the switching instruction includes a voice instruction; the mode switching module is also used to: parse the voice instruction to obtain semantic information corresponding to the voice instruction; if there is an instruction of a target working mode matching the semantic information in the preset working mode instruction, the current working mode is switched to the target working mode corresponding to the voice instruction.
[0281] In one embodiment, the first terminal has an image acquisition module; the request generation module is also used to: respond to the data transmission instruction of the target object, call the image acquisition module to acquire streaming media data of the target object, wherein the streaming media data includes multiple frame area images of the target object; perform quality detection on the multiple frame area images to obtain the detection results of each frame area image; determine the target area image from the multiple frame area images according to the detection results, and generate a data transmission request based on the target area image.
[0282] In one embodiment, the data transmission device is applied to at least one of a resume delivery scenario, a multimedia delivery scenario, and a document transmission scenario; the first terminal is a palm swiping device, the server is a background server of an instant social communication application, the authorized account is an instant social communication application account authorized by the instant social communication application, and the pre-bound transmission content is at least one of a resume, multimedia, and a document pre-bound by the instant social communication application account based on the instant social communication application through the second terminal; the request generation module is also used to: in response to a data transmission instruction of the target object, collect a palm image of the target object, and generate a data transmission request based on the palm image.
[0283] Each module in the above data transmission device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0284] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.14 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store account data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data transmission method is implemented.
[0285] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.15 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a data transmission method is implemented. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.
[0286] Those skilled in the art will understand that Fig.14 or Fig.15The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0287] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0288] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0289] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0290] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0291] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0292] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0293] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A data transmission method, characterized in that: The method is applied to a server, and the method comprises: Acquire a data transmission request, where the data transmission request is generated by the first terminal based on the data transmission instruction, and the data transmission request includes a target area image corresponding to the target object; Based on the target area image, calling account data to identify the target object, the account data including the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account; If the identity recognition of the target object is successful, obtaining target transmission content from the account data, the target transmission content being the transmission content that matches the first terminal among the transmission content pre-bound to the target authorized account corresponding to the target object; The target transmission content is transmitted to the content storage space corresponding to the first terminal.
2. The method according to claim 1, characterized in that The method further comprises: receiving a transmission configuration request sent by the second terminal, the transmission configuration request being used to request authorization of a transmission service for a requesting account to bind transmission content, the transmission configuration request including an account standard identity image of the requesting account and the transmission content that the requesting account requests to be bound; According to the transmission configuration request, a content review is performed on the transmission content to which the requesting account requests to be bound; If the transmission content requested to be bound by the requesting account is reviewed and approved, the requesting account is determined to be an authorized account, and the account standard identity image of the authorized account and the reviewed and approved transmission content are correspondingly stored in the account data.
3. The method according to claim 2, characterized in that The requesting account is an instant social communication application account, and the server is a backend server of the instant social communication application; The receiving a transmission configuration request sent by the second terminal includes: A transmission configuration request for the instant social communication application account sent by the second terminal based on the instant social communication application is received, where the transmission configuration request is used to request authorization of a transmission service for the instant social communication application account to bind transmission content, and the transmission configuration request includes a standard account identity image of the instant social communication application account and transmission content that the instant social communication application account requests to be bound, and the standard account identity image of the instant social communication application account includes a palm image corresponding to the instant social communication application account.
4. The method according to claim 1, characterized in that: The transmission content has a corresponding binding category, and the binding category has a standard file type that allows binding; the method also includes: Identify the actual file type of the transfer content that the requesting account is requesting to bind; If the actual file type of the transmission content requested to be bound matches the standard file type allowed to be bound by the binding category requested to be bound, then verifying the legality of the transmission content requested to be bound; If the legitimacy check of the transmission content bound to the request passes, the requesting account is determined to be an authorized account, the account standard identity image of the authorized account is obtained, and the account standard identity image of the authorized account and the verified transmission content are stored in the account data accordingly.
5. The method according to claim 4, characterized in that The verifying the legitimacy of the transmission content bound to the request includes: Preprocessing the transmission content based on the actual file type of the transmission content to obtain target content after the transmission content is preprocessed; Perform content detection on the target content, and if it is detected that there is no abnormal content in the target content, determine that the legality check of the transmitted content has passed, and the content detection includes at least one of filter detection and machine learning algorithm detection.
6. The method according to claim 1, characterized in that The calling account data to identify the target object based on the target area image includes: Querying whether there is a target account standard identity image matching the target area image in the account data; If there is a target account standard identity image matching the target area image in the account data, it is determined that the identity recognition of the target object is successful, and the identity of the target object is determined to be the target authorized account corresponding to the target account standard identity image.
7. The method according to claim 1, characterized in that The transmission content pre-bound to the authorized account has a corresponding binding category, and the first terminal is configured with a corresponding authorized transmission category; The acquiring target transmission content from the account data includes: Determining, from the account data, a binding category of a transmission content pre-bound to a target authorized account corresponding to the target object; Determine a target binding category among the binding categories that matches the authorized transmission category corresponding to the first terminal; Determine, from the transmission contents pre-bound to the target authorized account, transmission contents matching the target binding category as target transmission contents matching the first terminal.
8. The method according to claim 7, characterized in that When there are multiple transmission contents matching the target binding category, after determining the transmission content matching the target binding category from the transmission contents pre-bound to the authorized account, the method further includes: Returning to the first terminal a list of multiple transmission content information matching the target binding category, wherein the list is used to instruct the first terminal to display, so that the first terminal obtains a selection instruction for the target transmission content information based on the displayed list; A selection instruction for the target transmission content information is received from the first terminal, and transmission content corresponding to the target transmission content information is acquired as the target transmission content matching the first terminal.
9. The method according to any one of claims 1 to 8, characterized in that: The method is applied to at least one of a resume delivery scenario, a multimedia delivery scenario, and a document transmission scenario. The first terminal is a palm-swiping device, which is used to collect a target area image corresponding to the target object. The target area image is a palm image corresponding to the target object.
10. A data transmission method, characterized in that: The method is applied to a first terminal, and the method includes: In response to a data transmission instruction of a target object, generating a data transmission request, wherein the data transmission request includes a target area image corresponding to the target object; The data transmission request is sent to the server to instruct the server to call the account data to identify the target object based on the data transmission request; if the identity identification of the target object is successful, the target transmission content is obtained from the account data, and the target transmission content is transmitted to the content storage space corresponding to the first terminal, wherein the account data includes the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account; the target transmission content is the transmission content that matches the first terminal in the transmission content pre-bound to the target authorized account corresponding to the target object.
11. The method according to claim 10, characterized in that After sending the data transmission request to the server, the method further includes: A data transmission result for the data transmission request returned by the server is received, and the data transmission result is displayed, where the data transmission result is used to indicate a result of a successful data transmission or a failed data transmission.
12. The method according to claim 10, characterized in that After sending the data transmission request to the server, the method further includes: If a list including a plurality of transmission content information is received from the server, displaying the list; In response to a selection instruction for the target transmission content information in the list, the selection instruction is sent to the server, so that the server obtains the target transmission content matching the target transmission content information corresponding to the selection instruction from the account data.
13. The method according to claim 10, characterized in that Before responding to the data transmission instruction of the target object, the method further includes: In response to a switching trigger operation on a target working mode, obtaining a switching instruction for the target working mode, wherein the target working mode includes a data transmission mode; The switching instruction is verified, and if the switching instruction passes the verification, the current working mode is switched to the target working mode according to the switching instruction.
14. The method according to claim 10, characterized in that The first terminal has an image acquisition module; The step of generating a data transmission request in response to the data transmission instruction of the target object comprises: In response to the data transmission instruction of the target object, calling the image acquisition module to acquire the streaming media data of the target object, wherein the streaming media data includes a plurality of frame area images of the target object; Performing quality detection on the multiple frames of regional images to obtain a detection result of each frame of regional image; A target area image is determined from the multiple frames of area images according to the detection result, and a data transmission request is generated based on the target area image.
15. The method according to any one of claims 10 to 14, characterized in that The method is applied to at least one of a resume delivery scenario, a multimedia delivery scenario, and a document transmission scenario; the first terminal is a palm-swipe device, the server is a backend server of an instant social communication application, the authorized account is an instant social communication application account authorized by the instant social communication application, and the pre-bound transmission content is at least one of a resume, multimedia, and a document pre-bound by the instant social communication application account based on the instant social communication application through the second terminal; The generating a data transmission request in response to the data transmission instruction of the target object includes: in response to the data transmission instruction of the target object, collecting a palm image of the target object, and generating a data transmission request based on the palm image.
16. A data transmission device, characterized in that: The device is applied to a server, and comprises: A request acquisition module, used to acquire a data transmission request, wherein the data transmission request is generated by the first terminal based on the data transmission instruction, and the data transmission request includes a target area image corresponding to the target object; An identity recognition module, configured to call account data to perform identity recognition on the target object based on the target area image, wherein the account data includes an account standard identity image of an authorized account and transmission content pre-bound to the authorized account; a target content determination module, configured to obtain target transmission content from the account data if the identity recognition of the target object is successful, the target transmission content being the transmission content that matches the first terminal among the transmission content pre-bound to the target authorized account corresponding to the target object; The transmission module is used to transmit the target transmission content to the content storage space corresponding to the first terminal.
17. A data transmission device, characterized in that: The device is applied to a first terminal, and includes: A request generation module, configured to generate a data transmission request in response to a data transmission instruction of a target object, wherein the data transmission request includes a target area image corresponding to the target object; A request sending module is used to send the data transmission request to the server to instruct the server to call the account data to identify the target object based on the data transmission request. If the identity identification of the target object is passed, the target transmission content is obtained from the account data and transmitted to the content storage space corresponding to the first terminal. The account data includes the account standard identity image of the authorized account and the transmission content pre-bound to the authorized account. The target transmission content is the transmission content that matches the first terminal in the transmission content pre-bound to the target authorized account corresponding to the target object.
18. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 15 are implemented.
19. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.
20. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.