Application service processing method, device, electronic device and storage medium
By presenting and linking the associated function items of the application service in the first application interface of the target application account login, the problem of cumbersome account login operation in multiple applications is solved, and efficient service content output across applications is achieved.
Patent Information
- Application Number
- CN202110943358.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-17
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2041-08-17
AI Technical Summary
When using multiple applications, you need to perform the account login operation of the application service separately, resulting in cumbersome operations and inefficient processing.
By presenting the associated function items of the application service in the first application interface of the target application account login, and associating the service account of the target application service with the target application account in response to the association command, the service content output across applications is realized.
This reduces the complexity of user operations and improves the processing efficiency of application services, so that applications that share target application accounts can directly use the service content corresponding to the target service account permissions.
Smart Images

Figure CN113656783B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a method, device, electronic device and storage medium for processing application services. Background Art
[0002] In the related art, when using an application service integrated in an application, the application service is usually used by performing account authorization and account login in the application. However, a certain application service may exist in multiple applications. If the application service is to be used in each application, it is necessary to perform operations such as account login for the application service for each application, which results in cumbersome operations and low processing efficiency of the application service. Summary of the invention
[0003] The embodiments of the present application provide a method, device, electronic device and storage medium for processing application services, which can reduce the complexity of user operations and improve the processing efficiency of application services.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The present application embodiment provides a method for processing an application service, including:
[0006] In the interface of the first application logged in based on the target application account, presenting at least one associated function item corresponding to the application service;
[0007] In response to an association instruction for a target application service triggered based on the association function item, associating a target service account corresponding to the target application service with the target application account;
[0008] Wherein, the first application shares the target application account with the second application having the target application service;
[0009] When the first application is in the logged-in state, when a content output instruction for the target application service is received in the interface of the second application,
[0010] In response to the content output instruction, based on the association relationship between the target application account and the target service account, service content corresponding to the authority of the target service account is output.
[0011] The present application also provides a device for processing an application service, including:
[0012] A presentation module, configured to present, in an interface of a first application logged in based on a target application account, an associated function item corresponding to at least one application service;
[0013] an association module, configured to associate a target service account corresponding to the target application service with the target application account in response to an association instruction for the target application service triggered based on the association function item;
[0014] Wherein, the first application shares the target application account with the second application having the target application service;
[0015] An output module is used to output service content corresponding to the permissions of the target service account based on the association relationship between the target application account and the target service account in response to a content output instruction for the target application service when the first application is in a logged-in state in the interface of the second application.
[0016] In the above solution, the presentation module is further used to present a service-related function entry in the setting interface of the first application logged in based on the target application account;
[0017] In response to a triggering operation on the service-related function entry, the interface is presented, and in the interface, at least one related function item corresponding to the application service is presented.
[0018] In the above solution, the presentation module is further used to present a service entry corresponding to at least one application service in the application interface of the first application logged in based on the target application account;
[0019] In response to a trigger operation on the service portal, when the service account of the at least one application service is not associated with the target application account, presenting the interface, and
[0020] In the interface, at least one associated function item corresponding to an application service is presented.
[0021] In the above solution, each of the application services corresponds to one associated function item, and the associated module is further used to receive a trigger operation for the associated function item corresponding to the target application service;
[0022] In response to the triggering operation, an association instruction for the target application service is received.
[0023] In the above scheme, each of the application services corresponds to one associated function item, and the associated module is further used to present at least one associated mode for selection in response to a triggering operation on the associated function item corresponding to the target application service;
[0024] In response to a selection operation on a target association method, presenting an association interface corresponding to the target association method;
[0025] Based on the association interface, an association instruction for the target application service triggered by the target association method is received.
[0026] In the above solution, the association module is further used to present the association graphic code corresponding to the target application service in the association interface when the target association method is a code scanning association method;
[0027] The association module is further configured to receive a scanning operation for the associated graphic code triggered by an application corresponding to the target association method;
[0028] In response to the scanning operation, presenting a first prompt function item, wherein the first prompt function item is used to prompt whether to associate the target service account with the target application account;
[0029] In response to the confirmation association instruction triggered based on the first prompt function item, an association instruction for the target application service is received.
[0030] In the above scheme, the association module is further used to present the information verification function item and the information input function item corresponding to the target application service in the association interface when the target association method is a verification code association method;
[0031] The association module is further configured to send the verification information to the terminal associated with the target application account in response to the verification instruction triggered for the information verification function item;
[0032] When the verification information input based on the information input function item is received, an association instruction for the target application service is received.
[0033] In the above solution, the at least one application service corresponds to one of the associated function items, and the associated module is further used to present at least one associated mode for selection in response to a trigger operation on the associated function item;
[0034] In response to a selection operation on the target association mode, presenting the at least one application service;
[0035] In response to a selection operation for a target application service, presenting an association interface corresponding to the target association mode;
[0036] Based on the association interface, an association instruction for the target application service triggered by the target association method is received.
[0037] In the above solution, the presentation module is further used to present a disassociation function item corresponding to the target application service;
[0038] When a trigger operation for the disassociation function item is received, a second prompt function item is presented, where the second prompt function item is used to prompt whether to disassociate the target service account from the target application account;
[0039] In response to a confirmation release instruction triggered based on the second prompt function item, the association relationship between the target service account and the target application account is released.
[0040] In the above solution, the presentation module is further used to present an account login interface corresponding to the first application, and present an account registration function item in the account login interface;
[0041] In response to an account registration instruction triggered based on the account registration function item, generating the target application account corresponding to the first application, and
[0042] Control the first application to enter the logged-in state based on the target application account.
[0043] In the above solution, the presentation module is further used to obtain the effective duration of the association between the target service account and the target application account, and the association time point when receiving a content output instruction for the target application service in the application interface of the first application;
[0044] When it is determined based on the association validity period and the association time point that the association expiration time point has arrived, presenting association prompt information;
[0045] The association prompt information is used to prompt the user to associate the target service account with the target application account again.
[0046] In the above solution, the presentation module is further used to present the service entry corresponding to the target application service in the interface of the second application;
[0047] In response to the triggering operation on the service entry, a content output instruction for the target application service is received.
[0048] In the above solution, the association module is further used to send an association request for associating the target service account with the target application account to the first server of the target application service;
[0049] The association request is used for the first server to send the target service account to the second server of the first application, so that the second server associates the target service account with the target application account and returns prompt information;
[0050] The prompt information returned based on the association request is received and presented, wherein the prompt information is used to indicate an association result between the target service account and the target application account.
[0051] In the above solution, the output module is further used to send an acquisition request corresponding to the service content to the third server of the second application;
[0052] The acquisition request is used for the third server to send a content acquisition request carrying the target service account to the first server of the target application service, so that the first server returns the service content corresponding to the authority of the target service account to the third server after verifying the target service account;
[0053] The service content returned by the third server based on the acquisition request is received, and the service content is output based on the target application service.
[0054] In the above scheme, the association module is also used to call the smart contract of the blockchain network to perform consensus verification on the association relationship between the target application account and the target service account to obtain a verification result;
[0055] When the verification result indicates that the consensus verification has passed, the association relationship between the target service account and the target application account is stored in the blockchain network.
[0056] In the above solution, the output module is further used to generate and send a transaction for obtaining a target association relationship, wherein the target association relationship includes an association relationship between the target application account and at least one service account;
[0057] Receiving the target association relationship returned by the blockchain network based on the transaction;
[0058] When there is an association relationship between the target application account and the target service account in the target association relationship, the service content corresponding to the authority of the target service account is output.
[0059] The present application also provides an electronic device, including:
[0060] A memory for storing executable instructions;
[0061] The processor is used to implement the processing method of the application service provided in the embodiment of the present application when executing the executable instructions stored in the memory.
[0062] The embodiment of the present application also provides a computer-readable storage medium storing executable instructions, which, when executed by a processor, implements a processing method for the application service provided by the embodiment of the present application.
[0063] The embodiments of the present application have the following beneficial effects:
[0064] In the interface of the first application logged in based on the target application account, an associated function item corresponding to at least one application service is presented, and when an association instruction for the target application service triggered based on the associated function item is received, the target service account corresponding to the target application service is associated with the target application account; at this time, while the first application is in the logged-in state, if a content output instruction for the target application service is received in the interface of the second application that shares the target application account with the first application, the service content corresponding to the authority of the target service account is output.
[0065] In this way, it is only necessary to complete the association between the service account of the application service and the target application account on an application logged in based on the target application account. Other applications that share the target application account and have the application service can also use the application service to provide service content corresponding to the permissions of the target service account, thereby reducing the complexity of user operations and improving the processing efficiency of the application service. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 is a schematic diagram of the architecture of a processing system 100 for an application service provided in an embodiment of the present application;
[0067] Figure 2 It is a structural diagram of an electronic device 500 for implementing a processing method for application services provided in an embodiment of the present application;
[0068] Figure 3 It is a flowchart of a method for processing application services provided in an embodiment of the present application;
[0069] Figure 4 It is a schematic diagram of presenting the associated function items provided in the embodiment of the present application;
[0070] Figure 5 It is a schematic diagram of presenting the associated function items provided in the embodiment of the present application;
[0071] Figure 6 It is a schematic diagram of the receiving process of the association instruction provided in the embodiment of the present application;
[0072] Figure 7 It is a schematic diagram of the receiving process of the association instruction provided in the embodiment of the present application;
[0073] Figure 8 It is a schematic diagram of the receiving process of the association instruction provided in the embodiment of the present application;
[0074] Fig. 9 It is a schematic diagram of the output process of the service content provided by the embodiment of the present application;
[0075] Fig.10 It is a schematic diagram of the process of releasing the association relationship provided in the embodiment of the present application;
[0076] Fig.11 It is a schematic diagram of an account intercommunication method provided in the related art;
[0077] Fig.12 is a schematic diagram of a service account association and management system based on a super account provided in an embodiment of the present application;
[0078] Fig.13 It is an example diagram of an application scenario provided by an embodiment of the present application;
[0079] Fig.14 Schematic diagram of the process of associating a target application account with a service account provided in an embodiment of the present application;
[0080] Fig.15 It is a schematic diagram of the processing flow of the application sharing music application service provided in the embodiment of the present application. DETAILED DESCRIPTION
[0081] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0082] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0083] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0084] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0085] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0086] 1) Application (APP): an application running in the terminal to provide various services, such as instant messaging applications, video applications, music applications, map applications, etc.
[0087] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.
[0088] Based on the above explanations of the nouns and terms involved in the embodiments of the present application, the following describes the processing system of the application service provided by the embodiments of the present application. Figure 1 , Figure 1 It is an architectural diagram of a processing system 100 for an application service provided in an embodiment of the present application. To support an exemplary application, a terminal 400 is connected to a server 200 via a network 300. The network 300 may be a wide area network or a local area network, or a combination of the two, and data transmission is achieved using wireless or wired links.
[0089] Terminal 400 is used to present, in an interface of a first application logged in based on a target application account, an associated function item corresponding to at least one application service; in response to an associated instruction for a target application service triggered based on the associated function item, associate a target service account corresponding to the target application service with a target application account; and send the associated relationship between the target application account and the target service account to service 200;
[0090] The server 200 is used to receive and store the association relationship between the target application account and the target service account, thereby obtaining a target association relationship including an association relationship between the target application account and at least one service account;
[0091] The terminal 400 is further configured to send a request for obtaining a target association relationship to the server 200 when a content output instruction for a target application service is received in the interface of the second application during the process in which the first application is in a logged-in state;
[0092] The server 200 is also used to receive the acquisition request and return the target association relationship to the terminal 400;
[0093] Terminal 400 is also used to receive a target association relationship, and when there is an association relationship between a target application account and a target service account in the target association relationship, output service content corresponding to the authority of the target service account; here, the first application shares the target application account with the second application having the target application service.
[0094] In practical applications, the server 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal 400 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart TV, a smart watch, etc., but is not limited to this. The terminal 400 and the server 200 can be directly or indirectly connected by wired or wireless communication, and this application does not limit this.
[0095] See also Figure 2 , Figure 2 FIG. 5 is a schematic diagram of the structure of an electronic device 500 for implementing the processing method of the application service provided in the embodiment of the present application. Figure 1 The server or terminal shown is an electronic device 500. Figure 1 Taking the terminal shown as an example, an electronic device that implements the processing method of the application service of the embodiment of the present application is described. The electronic device 500 provided in the embodiment of the present application includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together through a bus system 540. It can be understood that the bus system 540 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in Figure 2 Various buses are labeled as bus system 540 .
[0096] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0097] The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0098] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 550 may optionally include one or more storage devices that are physically remote from the processor 510.
[0099] The memory 550 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory.
[0100] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0101] Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0102] A network communication module 552, for reaching other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB);
[0103] a presentation module 553 for enabling presentation of information via one or more output devices 531 (e.g., display screen, speaker, etc.) associated with the user interface 530 (e.g., a user interface for operating peripherals and displaying content and information);
[0104] The input processing module 554 is used to detect one or more user inputs or interactions from one of the one or more input devices 532 and translate the detected inputs or interactions.
[0105] In some embodiments, the processing device of the application service provided in the embodiments of the present application can be implemented in software. Figure 2 A processing device 555 for application services stored in a memory 550 is shown, which may be software in the form of programs and plug-ins, etc., and includes the following software modules: a presentation module 5551, an association module 5552, and an output module 5553. These modules are logical, and therefore may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.
[0106] In other embodiments, the processing device of the application service provided by the embodiments of the present application can be implemented in a combination of software and hardware. As an example, the processing device of the application service provided by the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the processing method of the application service provided by the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), or other electronic components.
[0107] Based on the above description of the processing system and electronic device for the application service provided by the embodiment of the present application, the following describes the processing method for the application service provided by the embodiment of the present application. In some embodiments, the processing method for the application service provided by the embodiment of the present application can be implemented by a server or a terminal alone, or by a server and a terminal in collaboration. The following describes the processing method for the application service provided by the embodiment of the present application by taking the terminal implementation as an example. Figure 3 , Figure 3 : is a flow chart of a method for processing an application service provided in an embodiment of the present application. The method for processing an application service provided in an embodiment of the present application includes:
[0108] Step 101: The terminal presents, in an interface of a first application logged in based on a target application account, an associated function item corresponding to at least one application service.
[0109] Here, the terminal includes but is not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, car terminals, etc. In actual applications, the terminal is provided with a first application, which may be an instant messaging application, a map navigation application, a music player application, etc. The first application is logged in based on a target application account, which may be a target application account that the target user has applied for registration in the first application, or in other applications that share an application account with the first application.
[0110] In an embodiment of the present application, at least one application service is integrated into the first application, such as a music playback application service, a map navigation application service, and the like. Users can experience the corresponding service in the first application by running the integrated application service. In actual applications, the first application can successfully provide the corresponding service to the user through the application service on the premise that the corresponding service account is in the logged-in state in the application service. To implement the login of the service account of the application service in the first application, you can log in every time you use the application service. In an embodiment of the present application, you can associate the service account with the target application account so that when running the first application under the target application account, the service account associated with the target application account is also in the logged-in state, so that the user can directly use the application service corresponding to the service account in the first application. Next, the association between the service account and the target application account is explained.
[0111] The terminal runs the first application and logs in to the first application based on the target application account. At this time, the terminal presents the interface of the first application, and presents the associated function item corresponding to the at least one integrated application service in the interface of the first application, so as to associate the service account of the corresponding application service with the target application account of the first application through the associated function item.
[0112] In some embodiments, the terminal can control the first application to enter the login state in the following manner: presenting the account login interface corresponding to the first application, and presenting the account registration function item in the account login interface; in response to the account registration instruction triggered based on the account registration function item, generating a target application account corresponding to the first application, and controlling the first application to enter the login state based on the target application account.
[0113] Here, after the terminal runs the first application, when the first application is in a non-logged-in state, the account login interface corresponding to the first application is presented, and the account registration function item is presented in the account login interface. When the user has a corresponding target application account for the first application, the target application account can be applied for through the account registration function item. The terminal receives an account registration instruction triggered based on the account registration function item. For example, the user can trigger the account registration function item by clicking, long pressing, etc., thereby triggering the account registration instruction; in response to the account registration instruction, a target application account corresponding to the first application is generated, and the first application is controlled to enter a login state based on the target application account.
[0114] In actual applications, the target application account can be generated based on the user's identification information (such as identity information, mobile phone number, etc.), or can be randomly generated according to a random algorithm. After the target application account is successfully registered, the user can subsequently log in to the first application based on the target application account to use the application functions in the first application.
[0115] In some embodiments, the terminal may present associated function items corresponding to at least one application service in the following manner: presenting a service associated function entry in a setting interface of a first application logged in based on a target application account; presenting an interface in response to a trigger operation on the service associated function entry, and presenting associated function items corresponding to at least one application service in the interface.
[0116] Here, the above-mentioned associated function items can be presented in the following manner: the terminal presents a setting interface of the first application based on the target application account login, and the setting interface can be used by the user to set the relevant information, permissions, privacy, etc. of the first application as needed. In an embodiment of the present application, the terminal can also present a service association function entry in the setting interface of the first application, and the user can associate the service account of each application service with the target application account based on the service association function entry. Specifically, the terminal presents the interface of the first application in response to the trigger operation for the service association function entry, and presents the associated function items corresponding to the at least one application service in the interface of the first application.
[0117] As an example, see Figure 4 , Figure 4 : is a schematic diagram of the presentation of the associated function items provided in the embodiment of the present application. Here, the terminal presents the service associated function entry "service binding" in the setting interface of the first application, such as Figure 4 As shown in Figure A; in response to a trigger operation (such as a click operation) for the service-related function entry "service binding", the associated function item "binding" corresponding to each application service (such as music application service, reading application service, etc.) is presented, such as Figure 4 As shown in Figure B.
[0118] In some embodiments, the terminal may present associated function items corresponding to at least one application service in the following manner: in an application interface of a first application logged in based on a target application account, presenting a service entry corresponding to at least one application service; in response to a trigger operation on the service entry, when the service account of at least one application service is not associated with the target application account, presenting an interface, and in the interface, presenting associated function items corresponding to at least one application service.
[0119] Here, the above-mentioned associated function items can also be presented in the following manner: during the use of the first application, a corresponding service entrance is set for the application service integrated by the first application, that is, the user can experience the corresponding application service by clicking on the service entrance. When the user involves the integrated application service during the use of the first application, the corresponding service entrance is presented in the application interface of the first application; in response to the trigger operation on the service entrance, when it is detected that the service account of at least one service application is not associated with the target application account, an interface is presented, and the associated function items corresponding to the at least one application service are presented in the interface.
[0120] As an example, see Figure 5 , Figure 5 is a schematic diagram of presenting the associated function items provided by the embodiment of the present application. Here, the terminal presents the service entrance of the music application service in the application interface of the first application, such as Figure 5 As shown in Figure A; in response to the trigger operation for the service entrance of the music application service, when it is detected that the service account of the music application service is not associated with the target application account, the associated function item "binding" corresponding to the music application service is presented, such as Figure 5 As shown in Figure B.
[0121] Step 102: In response to an association instruction for a target application service triggered based on an association function item, a target service account corresponding to the target application service is associated with a target application account.
[0122] Here, after the terminal presents at least one associated function item corresponding to the application service in the interface of the first application logged in based on the target application account, the user can associate the service account of the corresponding application service with the target application account based on the associated function item. When the terminal receives an association instruction for the target application service triggered based on the associated function item, the terminal responds to the association instruction and associates the target service account corresponding to the target application service with the target application account, thereby obtaining an association relationship between the target service account and the target application account.
[0123] In some embodiments, each application service corresponds to an associated function item, and the terminal can receive an associated instruction for the target application service in the following manner: receiving a trigger operation for the associated function item corresponding to the target application service; and receiving an associated instruction for the target application service in response to the trigger operation.
[0124] Here, each application service corresponds to an associated function item, and the user can trigger the associated function item of the corresponding application service by clicking, etc., thereby triggering the associated instruction. When the terminal receives a trigger operation for the associated function item corresponding to the target application service, in response to the trigger operation, it receives the associated instruction for the target application service.
[0125] In some embodiments, each application service corresponds to an associated function item, and the terminal can receive an association instruction for the target application service in the following manner: in response to a trigger operation for the associated function item corresponding to the target application service, presenting at least one association method for selection; in response to a selection operation for the target association method, presenting an association interface corresponding to the target association method; based on the association interface, receiving an association instruction for the target application service triggered by the target association method.
[0126] Here, the terminal can also provide the user with at least one association method for selection. Each application service corresponds to an association function item. When the terminal receives a trigger operation for the association function item corresponding to the target application service, in response to the trigger operation, at least one association method for selection is presented, such as a code scanning association method, a verification code relationship method, etc. In response to the selection operation for the target association method in the at least one association method, an association interface corresponding to the target association method is presented. The association interface can display the required association content corresponding to the corresponding association method, such as a graphic code, an information verification function item, etc. The user can trigger the association instruction for the target application service based on the association interface. At this time, the terminal receives the association instruction for the target application service triggered by the target association method based on the association interface.
[0127] In some embodiments, when the target association method is a code scanning association method, the terminal may present an association graphic code corresponding to the target application service in the association interface;
[0128] Correspondingly, the terminal can receive an association instruction for the target application service triggered by the target association method in the following manner: receiving a scanning operation for an associated graphic code triggered by an application corresponding to the target association method; in response to the scanning operation, presenting a first prompt function item, the first prompt function item being used to prompt whether to associate the target service account with the target application account; in response to a confirmation association instruction triggered based on the first prompt function item, receiving an association instruction for the target application service.
[0129] In actual applications, the content corresponding to the target association method and used for security verification can be set in the association interface to ensure the privacy and security of the service account, such as information verification function items, graphic codes, etc., so that after the user performs security verification based on the content and the verification passes, the corresponding association instructions are triggered to associate the target service account with the target application account.
[0130] Here, the target association method can be a code scanning association method. At this time, the terminal presents the association graphic code corresponding to the target application service in the association interface. The association graphic code can be used by the application corresponding to the target association method (an application with a code scanning function) to scan the code to confirm whether to associate the account. In actual implementation, when presenting the association graphic code, corresponding prompt information can also be presented to prompt the user to use the application corresponding to the target association method to scan the code based on the prompt information.
[0131] When the terminal receives a scanning operation for an associated graphic code triggered by an application corresponding to the target association method, in response to the scanning operation, a first prompt function item is presented to prompt whether to associate the target service account with the target application account based on the first prompt function item, and the user can select "Yes" or "No" as needed based on the first prompt function item; when the terminal receives a confirmation association instruction triggered based on the first prompt function item, in response to the confirmation association instruction, an association instruction for the target application service is received.
[0132] As an example, see Figure 6 , Figure 6 : is a schematic diagram of the receiving process of the association instruction provided in the embodiment of the present application. Here, the terminal presents the associated function item "binding" corresponding to the target application service "music application service", such as Figure 6 As shown in Figure A; in response to the trigger operation for the associated function item "binding", at least one association method is presented for selection, including a scan code association method and a verification code association method, such as Figure 6 As shown in Figure B; in response to the selection operation of the target association method "scan code association method", the association interface corresponding to the scan code association method is presented, and the association graphic code corresponding to the target application service "music application service" is presented in the association interface, and a prompt message prompting the user to use "X application" to perform the scan code operation is presented, such as Figure 6 As shown in Figure C; in response to the scanning operation for the associated graphic code triggered by the "X application", a first prompt function item is presented, and the first prompt function item includes function items for triggering the confirmation association instruction and the cancellation association instruction, namely "Confirm" and "Cancel", as shown in Figure C; Figure 6 As shown in Figure D; in response to the confirmation association instruction triggered based on the "Confirm" function item, an association instruction for the music application service is received.
[0133] In some embodiments, when the target association method is a verification code association method, the terminal may present an information verification function item and an information input function item corresponding to the target application service in the association interface;
[0134] Correspondingly, the terminal can receive the association instruction for the target application service triggered by the target association method in the following manner: in response to the verification instruction triggered by the information verification function item, the verification information is sent to the terminal associated with the target application account; when the verification information input based on the information input function item is received, the association instruction for the target application service is received.
[0135] In actual applications, the content corresponding to the target association method and used for security verification can be set in the association interface to ensure the privacy and security of the service account, such as information verification function items, graphic codes, etc., so that after the user performs security verification based on the content and the verification passes, the corresponding association instructions are triggered to associate the target service account with the target application account.
[0136] Here, the target association method may be a verification code association method, in which the terminal presents an information verification function item and an information input function item corresponding to the target application service in the association interface. The information verification function item is used to trigger the sending of verification information, and the information input function item is used to input verification information.
[0137] When the terminal receives a verification instruction triggered by the information verification function item, in response to the verification instruction, the terminal sends verification information to the terminal associated with the target application account. The verification information can be a verification code composed of several letters, numbers and other characters; after viewing the sent verification information, the user enters the verification information in the information input function item. When the terminal receives the verification information input based on the information input function item, if the input verification information is consistent with the sent verification information, then the association instruction for the target application service is received.
[0138] As an example, see Figure 7 , Figure 7 : is a schematic diagram of the receiving process of the association instruction provided in the embodiment of the present application. Here, the terminal presents the associated function item "binding" corresponding to the target application service "music application service", such as Figure 7 As shown in Figure A; in response to the trigger operation for the associated function item "binding", at least one association method is presented for selection, including a scan code association method and a verification code association method, such as Figure 7 As shown in Figure B; in response to the selection operation of the target association method "verification code association method", the association interface corresponding to the verification code association method is presented, and the information verification function item "verification" and the information input function item "please enter..." are presented in the association interface, such as Figure 7As shown in Figure C; in response to the verification instruction triggered by the information verification function item "Verification", the verification information is sent to the terminal associated with the target application account. The verification information can be a verification code composed of several letters, numbers and other characters, such as "123456"; after viewing the sent verification information, the user enters the verification information in the information input function item. The terminal receives the verification information "123456" input based on the information input function item, as shown in Figure C; in response to the verification instruction triggered by the information verification function item "Verification", the verification information is sent to the terminal associated with the target application account. The verification information can be a verification code composed of several letters, numbers and other characters, such as "123456"; after viewing the sent verification information, the user enters the verification information in the information input function item. Figure 7 As shown in Figure D; since the input verification information "123456" is consistent with the sent verification information "123456", an association instruction for the target application service is received at this time.
[0139] In some embodiments, at least one application service corresponds to an associated function item, and the terminal may receive an association instruction for a target application service in the following manner: in response to a trigger operation on the associated function item, presenting at least one association method for selection; in response to a selection operation on the target association method, presenting at least one application service; in response to a selection operation on the target application service, presenting an association interface corresponding to the target association method; based on the association interface, receiving an association instruction for the target application service triggered by the target association method.
[0140] Here, the at least one application service corresponds to an associated function item. When the terminal receives a trigger operation for an associated function item, in response to the trigger operation, at least one association method is presented for selection, such as a code scanning association method, a verification code relationship method, etc. In response to the selection operation for the target association method in the at least one association method, at least one application service corresponding to the associated function item is presented, such as a music application service, a reading application service, etc. In response to the selection operation for the target application service, an association interface corresponding to the target application service and matching the target association method is presented. The association interface can display the required association content corresponding to the corresponding association method, such as a graphic code, an information verification function item, etc. The user can trigger an association instruction for the target application service based on the association interface. At this time, the terminal receives an association instruction for the target application service triggered by the target association method based on the association interface.
[0141] As an example, see Figure 8 , Figure 8 Schematic diagram of the receiving process of the association instruction provided in the embodiment of the present application. Here, the terminal presents the association function item "service binding" of at least one application service, such as Figure 8 As shown in Figure A; in response to the trigger operation for the associated function item "service binding", at least one association method is presented for selection, including a scan code association method and a verification code relationship method, such as Figure 8As shown in Figure B; in response to the selection operation of the target association method "scan code association method", at least one application service corresponding to the association function item is presented, including music application service, reading application service, etc., such as Figure 8 As shown in Figure C; in response to the selection operation for the target application service "music application service", an association interface corresponding to the target application service "music application service" and matching the target association method "scan code association method" is presented, such as Figure 8 As shown in Figure D.
[0142] In actual applications, the content corresponding to the target association method and used for security verification can be set in the association interface to ensure the privacy and security of the service account, such as information verification function items, graphic codes, etc., so that after the user performs security verification based on the content and the verification passes, the corresponding association instructions are triggered to associate the target service account with the target application account.
[0143] Here, the target association method can be a code scanning association method. At this time, the terminal presents the association graphic code corresponding to the target application service in the association interface. The association graphic code can be used by the application corresponding to the target association method (an application with a code scanning function) to scan the code to confirm whether to associate the account. In actual implementation, when presenting the association graphic code, corresponding prompt information can also be presented to prompt the user to use the application corresponding to the target association method to scan the code based on the prompt information.
[0144] When the terminal receives a scanning operation for the associated graphic code triggered by the application corresponding to the target association method, in response to the scanning operation, a first prompt function item is presented to prompt whether to associate the target service account with the target application account based on the first prompt function item. The user can select "yes" or "no" as needed based on the first prompt function item; when the terminal receives a confirmation association instruction triggered based on the first prompt function item, in response to the confirmation association instruction, an association instruction for the target application service is received. For a specific process example, see Figure 6 , I will not go into details here.
[0145] In actual applications, the content corresponding to the target association method and used for security verification can be set in the association interface to ensure the privacy and security of the service account, such as information verification function items, graphic codes, etc., so that after the user performs security verification based on the content and the verification passes, the corresponding association instructions are triggered to associate the target service account with the target application account.
[0146] Here, the target association method may be a verification code association method, in which the terminal presents an information verification function item and an information input function item corresponding to the target application service in the association interface. The information verification function item is used to trigger the sending of verification information, and the information input function item is used to input verification information.
[0147] When the terminal receives a verification instruction triggered by the information verification function item, in response to the verification instruction, it sends verification information to the terminal associated with the target application account. The verification information can be a verification code composed of several letters, numbers and other characters. After viewing the sent verification information, the user enters the verification information in the information input function item. When the terminal receives the verification information input based on the information input function item, if the input verification information is consistent with the sent verification information, it receives the association instruction for the target application service. For specific process examples, see Figure 7 , I will not go into details here.
[0148] In some embodiments, the terminal can associate the target service account corresponding to the target application service with the target application account in the following manner: sending an association request to associate the target service account with the target application account to the first server of the target application service; wherein the association request is used for the first server to send the target service account to the second server of the first application, so that the second server associates the target service account with the target application account and returns prompt information; receiving and presenting prompt information returned based on the association request, wherein the prompt information is used to indicate the association result between the target service account and the target application account.
[0149] Here, after receiving the association instruction for the target application service, the terminal sends an association request to the first server of the target application service to associate the target service account with the target application account.
[0150] The first server is a background server of the target application service, and after receiving the association request, in response to the association request, sends the target service account to the second server of the first application.
[0151] The second service is a backend server of the first application. After receiving the target service account, the target service account is associated with the target application account, and prompt information is returned to the first application. The prompt information is used to indicate the result of the association between the target service account and the target application account, including successful association and failed association. The terminal where the first application is located receives and presents the prompt information returned based on the association request.
[0152] Step 103: When a content output instruction for a target application service is received in the interface of the second application while the first application is in a logged-in state, in response to the content output instruction, service content corresponding to the authority of the target service account is output based on the association between the target application account and the target service account.
[0153] The first application shares a target application account with a second application having a target application service.
[0154] Here, the second application shares the target application account with the first application, and the second application is also integrated with the target application service. When the first application is in a logged-in state based on the target application account, since the second application shares the target application account with the first application, the second application is also in a logged-in state based on the target application account by default. In this way, the login and exit of the first application and the second application can be controlled at the same time through the shared target application account, which not only simplifies user operations and improves operating efficiency, but also allows one-click control of the login and exit of applications logged in through the shared target application account on public devices (such as vehicle-mounted terminals), ensuring the security and privacy of the account.
[0155] At this time, since the target service account of the target application service has been associated with the target application account in the first application, the target application service can be directly used in the second application to provide the corresponding service content. In this way, only in one application based on the target application account login, the target service account of the target application service and the target application account are associated, and each application sharing the target application account can use the target application service to provide service content corresponding to the authority of the target service account. This simplifies user operations and does not require users to perform account association processing in each application with the target application service, thereby improving user experience.
[0156] Moreover, since the first application and the second application realize the same login and exit of the application based on the target application account, after one of the applications (such as the first application) is logged out, all the application services bound to it will be unavailable, thus ensuring the security and privacy of the accounts of each application service.
[0157] Here, when the terminal receives a content output instruction for the target application service in the interface of the second application while the first application is in the login state, the terminal outputs the service content corresponding to the authority of the target service account based on the association relationship between the target application account and the target service account in response to the content output instruction. The authority of the target service account may include the rights enjoyed, such as the member listening rights in the music application service; or may include operation rights, such as the operation rights of video editing in the video application service, etc.
[0158] In some embodiments, the terminal may present a service entry corresponding to the target application service in the interface of the second application; and receive a content output instruction for the target application service in response to a trigger operation on the service entry.
[0159] Here, during the use of the second application, a corresponding service entry is set for the application service integrated by the second application, that is, the user can experience the corresponding application service by clicking on the service entry. When the user involves the integrated target application service during the use of the second application, the service entry corresponding to the target application service is presented in the interface of the second application; in response to the trigger operation on the service entry, a content output instruction for the target application service is received.
[0160] As an example, see Fig. 9 , Fig. 9 Here, the terminal presents the service entry of the target application service "music application service" in the interface of the second application, such as Fig. 9 As shown in Figure A; in response to the trigger operation for the service entry of the music application service "Music Application Service", a content output instruction for the target application service "Music Application Service" is received. In response to the content output instruction, based on the association relationship between the target application account and the target service account, the service content corresponding to the authority of the target service account is output, that is, the service content corresponding to the music application service under the target service account, that is, the song "Song Y" corresponding to the membership authority of the target service account is played, such as Fig. 9 As shown in Figure B.
[0161] In some embodiments, the terminal can output service content corresponding to the permissions of the target service account in the following manner: sending a request to obtain the corresponding service content to the third server of the second application; wherein the acquisition request is used for the third server to send a content acquisition request carrying the target service account to the first server of the target application service, so that the first server returns the service content corresponding to the permissions of the target service account to the third server after verifying the target service account; receiving the service content returned by the third server based on the acquisition request, and outputting the service content based on the target application service.
[0162] Here, after receiving the content output instruction, the terminal sends a request to obtain the corresponding service content to the third server of the second application. In actual application, since the first application and the second application share the target application account, the third server can be the same server as the first server.
[0163] After receiving the acquisition request, the third server sends a content acquisition request carrying the target service account to the first server of the target application service in response to the acquisition request.
[0164] The first server is the background server of the target application service. After receiving the content acquisition request carrying the target service account, the first server responds to the content acquisition request, parses the content acquisition request, and obtains the carried target service account, which may be the ticket information, identification information, etc. of the corresponding user. Based on the service account (including ticket information) of the user stored in the first server, the target service account is verified. If the stored service account of the user is consistent with the target service account, the verification is successful, and the service content corresponding to the authority of the target service account is returned to the third server. If the verification fails, that is, the stored service account of the user is inconsistent with the target service account, a notification message of failure to obtain the service content is returned to the third server.
[0165] When the third server receives the service content corresponding to the authority of the target service account, it sends the service content corresponding to the authority of the target service account to the second application, and the second application outputs the service content to the user. When the third server receives a notification message indicating that the service content acquisition failed, it sends a notification message indicating that the service content acquisition failed to the second application, and the second application displays a prompt message indicating that the service content acquisition failed to the user.
[0166] In some embodiments, the terminal may store the association relationship between the target application account and the target service account in the following manner: calling the smart contract of the blockchain network, performing consensus verification on the association relationship between the target application account and the target service account, and obtaining a verification result; when the verification result indicates that the consensus verification has passed, the association relationship between the target service account and the target application account is stored in the blockchain network.
[0167] Here, the terminal can store the association relationship between the target application account and the target service account in the blockchain network to ensure the security of the association relationship between the target application account and the target service account. Specifically, the terminal calls the smart contract of the blockchain network, performs consensus verification on the association relationship between the target application account and the target service account, and obtains a verification result; when the verification result indicates that the consensus verification has passed, the association relationship between the target service account and the target application account is stored in the blockchain network. In actual applications, since there can be multiple application services integrated by the first application, there can also be multiple other applications that share the target application account with the first application. Therefore, after the account association is performed, the association relationship between the target application account and at least one service account can be obtained. At this time, the association relationship between the target application account and at least one service account can be stored in the blockchain network.
[0168] In some embodiments, the terminal may output service content corresponding to the permissions of the target service account in the following manner: generate and send a transaction for obtaining a target association relationship to the blockchain network, where the target association relationship includes an association relationship between a target application account and at least one service account; receive the target association relationship returned by the blockchain network based on the transaction; and when an association relationship between the target application account and the target service account exists in the target association relationship, output service content corresponding to the permissions of the target service account.
[0169] Here, after receiving the content output instruction, the terminal can obtain the target association relationship from the blockchain network, and the target association relationship includes the association relationship between the target application account and at least one service account. Specifically, the terminal can generate and send a transaction for obtaining the target association relationship to the blockchain network. After receiving the transaction, the blockchain network returns the target association relationship to the terminal, and the terminal receives the target association relationship returned by the blockchain network based on the transaction.
[0170] Then, it is determined whether there is an association relationship between the target application account and the target service account in the target association relationship. When there is an association relationship between the target application account and the target service account in the target association relationship, the service content corresponding to the authority of the target service account is output. When there is no association relationship between the target application account and the target service account in the target association relationship, a prompt message indicating that the service content output failed is displayed.
[0171] In some embodiments, the terminal can disassociate the target service account from the target application account in the following manner: presenting a disassociation function item corresponding to the target application service; when receiving a trigger operation for the disassociation function item, presenting a second prompt function item, the second prompt function item being used to prompt whether to disassociate the target service account from the target application account; in response to a confirmation release instruction triggered by the second prompt function item, disassociating the target service account from the target application account.
[0172] Here, after the target service account and the target application account are associated, they can also be disassociated. The terminal presents a disassociation function item of the target application service, and the user can disassociate the target service account and the target application account based on the disassociation function item. When the terminal receives a trigger operation for the disassociation function item, a second prompt function item is presented to prompt whether to disassociate the target service account and the target application account based on the second prompt function item. When a confirmation disassociation instruction triggered by the second prompt function item is received, the association between the target service account and the target application account is disassociated, and a prompt message of the corresponding disassociation result (such as disassociation success or disassociation failure) can also be presented.
[0173] As an example, see Fig.10 , Fig.10 : is a schematic diagram of the process of removing the association relationship provided by the embodiment of the present application. Here, the terminal presents the removal function item "Remove Binding" of the target application service "Music Application Service", such as Fig.10 As shown in Figure A; in response to the triggering operation for the disassociation function item "unbind", a second prompt function item is presented, and the second prompt function item includes function items for triggering the confirmation release instruction and the cancellation release instruction, namely "confirm" and "cancel", as shown in Figure A; Fig.10 As shown in Figure B; when receiving the confirmation release instruction triggered by the second prompt function item, the association between the target service account (i.e., the service account corresponding to the music application service) and the target application account is released, and the corresponding release result prompt information, i.e., "unbinding successful", can also be presented. Fig.10 As shown in Figure C.
[0174] In some embodiments, when a content output instruction for a target application service is received in the application interface of a first application, the terminal may obtain the effective duration of the association between the target service account and the target application account, as well as the associated time point; when it is determined that the association expiration time point has arrived based on the effective duration of the association and the associated time point, association prompt information is presented; wherein, the association prompt information is used to prompt the target service account to be associated with the target application account again.
[0175] In actual applications, the association relationship between the target service account and the target application account corresponds to a corresponding association validity period. During the association validity period, each time the user triggers a content output instruction for the target application service in the application interface of the first application, the corresponding service content is output. When the association validity period expires, the corresponding content is no longer output. In an embodiment of the present application, when the terminal receives a content output instruction for the target application service, it directly obtains the association validity period and the association time point between the target service account and the target application account; when it is determined that the association expiration time point has arrived based on the association validity period and the association time point, an association prompt information is presented to prompt the target service account to be associated with the target application account again based on the association prompt information, such as "the account association has expired, please re-associate".
[0176] Applying the above-mentioned embodiment of the present application, in the interface of the first application logged in based on the target application account, an associated function item corresponding to at least one application service is presented, and when an association instruction for the target application service triggered based on the associated function item is received, the target service account corresponding to the target application service is associated with the target application account; at this time, while the first application is in a logged-in state, if a content output instruction for the target application service is received in the interface of the second application that shares the target application account with the first application, the service content corresponding to the authority of the target service account is output.
[0177] In this way, it is only necessary to complete the association between the service account of the application service and the target application account on an application logged in based on the target application account. Other applications that share the target application account and have the application service can also use the application service to provide service content corresponding to the permissions of the target service account, thereby reducing the complexity of user operations and improving the processing efficiency of the application service.
[0178] The following describes an exemplary application of the embodiments of the present application in a practical application scenario.
[0179] In the related technology, the intercommunication scheme of application accounts is based on the account intercommunication between various APPs with account intercommunication permissions. For specific implementation methods, see Fig.11 , Fig.11 It is a schematic diagram of the account intercommunication method provided in the related art. Here, step 201: the user opens APP A and completes the account login; step 202: the user opens APP B; step 203: APP B determines whether it has logged in; step 204: if not logged in, the user information of the user is obtained from APP A through broadcast polling. In actual applications, the user information of the user can also be obtained from a unified access module; step 205: APP A returns the user information to APP B; step 206: APP B uses the obtained user information to complete the login of APP B.
[0180] During the implementation process, the applicant found that the application account intercommunication scheme in the relevant technology had the following problems: First, it was limited to the intercommunication between accounts at the APP level on the same terminal device; second, the login status of each APP was independent of each other, and each login was completed only by sharing user information. It was impossible to log out of other applications logged in through account intercommunication when the user completed the logout of one APP. For public terminal devices (such as car computers), users are required to log in or out of all APPs used, which has a great impact on the user experience and is prone to the risk of account information leakage; third, since the login status of each APP is independent of each other, it is difficult to link and share rights and interests between different APPs; fourth, the access cost is high. The account scheme in the relevant technology needs to complete the login of each independent APP by sharing user data, which is generally only applicable to the intercommunication of APP accounts in the same ecosystem. If it is necessary to access external CP / SP services (i.e., application services integrated in the APP), the external CP / SP services need to adapt to the current access method, resulting in a large access cost and may not be applicable to all situations.
[0181] Based on this, this application provides a method for associating and managing multiple CP / SP service accounts (i.e., the above-mentioned application services) based on a super account (i.e., the above-mentioned target application account). Next, the application of the Internet of Vehicles application is used as an example for explanation. Fig.12 , Fig.12 This is a schematic diagram of the service account (CP / SP service account) association and management system based on the super account provided in the embodiment of the present application. Here, the service account of the external CP / SP service is associated with the target application account (i.e., the super account) of the Internet of Vehicles application, so that different Internet of Vehicles APPs share the service account rights and interests of the CP / SP service associated with the same user (i.e., the corresponding target application account). At the same time, the complex account association and management are carried out in the cloud, and the function of the service accounts of all CP / SP services logging in and out with the target application account (i.e., the super account) is realized when the association is completed, which effectively reduces the complexity of user operations, improves user account privacy and security, and improves user experience. Among them, CP is content provider (Content Provider, CP), and SP is service provider (Service Provider, SP).
[0182] Next, the processing method of the application service provided by the embodiment of the present application is described from the product side. Figure 6 , Figure 6 It is a schematic diagram of the association process between the service account of the application service provided by the embodiment of the present application and the target application account. Here, the terminal presents the service association function entry "Service Binding" in the setting interface of the APP; in response to the trigger operation (such as a click operation) for the service association function entry "Service Binding", the associated function item "Bind" corresponding to each application service (such as music application service, reading application service, etc.) is presented; in response to the trigger operation for the associated function item corresponding to the target application service (i.e., music application service), an association interface is presented, and the association interface includes association methods for selection, such as the association method of scanning code binding; in response to the selection operation for the association method of scanning code binding, a graphic code for scanning code binding is presented, i.e., the QR code corresponding to the target application service "Music Application Service". In actual implementation, the user can scan the graphic code by running an application with a scanning code function, thereby realizing the association between the service account of the target application service "Music Application Service" and the target application account (i.e., super account) corresponding to the APP according to the instructions.
[0183] The following is a detailed description using an actual application scenario as an example. Application scenario: APP A and APP B are installed on the vehicle terminal at the same time. Here, APP A and APP B share a super account. When the user has logged in to the super account (indicated by userID) on any of the APPs, the other APP is also logged in to the super account by default, that is, the login status between APPs in the same ecosystem (such as the same Internet of Vehicles ecosystem) on the same device is shared by a super account; APP A and APP B can be considered as applications belonging to the same ecosystem, such as the Internet of Vehicles ecosystem, and applications belonging to the same ecosystem can share the above super account. Among them, APP A integrates CP / SP service 1, CP / SP service 2 and CP / SP service 3, and APP B integrates CP / SP service 2 and CP / SP service 3.
[0184] like Fig.13 As shown, Fig.13 This is an example diagram of an application scenario provided by an embodiment of the present application. Here, during the use of APP A, the user associates the accounts of CP / SP service 1 and CP / SP service 2 with the super account. The user can also use the account rights and interests of the user in CP / SP service 2 in APP B (such as resources and memberships that must be logged in to access), which greatly saves user login operations and improves user experience.
[0185] When the user logs out of the super account in APP A, the user's login status for CP / SP service 1, CP / SP service 2 and CP / SP service 3 on this device will be logged out, which improves the security of the user account and solves the privacy issue; when the user logs in next time, the user's association with CP / SP service 1, CP / SP service 2 and CP / SP service 3 still exists, saving user operations and improving user experience; and during the APP development process, there is no need to manage the login status of the CP / SP service, and the resources of the CP / SP service only need to be accessed through the super account, saving development costs.
[0186] Next, we will continue to explain the processing method of the application service provided by the embodiment of the present application from the technical side. In order to support the same super account on different APPs to share the service account rights of the same CP / SP service, the business background needs to maintain the association between the car-connected super account (userID) and the service account of the CP / SP service, and save the user's relevant ticket information in the CP / SP service, and support the update of the relevant ticket information.
[0187] In this way, after the user binds the CP / SP service on APP A, the association status and ticket information of the CP / SP service can be shared on APP B to realize the service account rights and interests of the CP / SP service on APP B. Next, the process of the user associating the super account with the service account of the CP / SP service on APP A and the background process of the user using the service account rights and interests of the CP / SP service on APP B are respectively described.
[0188] Here, the association process of service accounts of different CP / SP services is somewhat different. For example, some are logged in by scanning a code, and some are logged in by mobile phone number. In the embodiment of the present application, the access party can adapt the service account association method of different CP / SP services to reduce the burden of the cooperating CP / SP services. Take the example of scanning a code to log in to the "music application service", see Fig.14 , Fig.14 : is a schematic diagram of the association process between the target application account and the service account provided in the embodiment of the present application. The service association process of the user on the Internet of Vehicles APP A is as follows:
[0189] Step 1: The user opens the Internet of Vehicles APP A, enters the service binding page, and clicks "XX application binding";
[0190] Step 2: IoV APP A sends the binding request to the IoV backend;
[0191] Step 3: The Internet of Vehicles backend returns the QR code of the XX application to Internet of Vehicles APP A, and Internet of Vehicles APP A displays the QR code on the UI;
[0192] Step 4: Internet of Vehicles APP A waits for the user to scan the code to authorize the operation result;
[0193] Step 5: While waiting for the user to scan the code, the Internet of Vehicles APP A initiates a periodic query request to the Internet of Vehicles background to obtain the user's code scanning authorization status; the Internet of Vehicles background initiates a request to the music application service background to query the user's code scanning authorization status. After receiving the request, the music application service background synchronously initiates a request to the XX application background to query the user's code scanning authorization status;
[0194] Step 6: The user opens the XX app and scans the QR code, then clicks "Agree" on the pop-up authorization page;
[0195] Step 7: The XX application background learns that the user agrees to the authorization and returns the result to the music application service background;
[0196] Step 8: The music application service backend generates the user's ticket information (including openID, token, etc.) and returns the ticket information to the Internet of Vehicles backend;
[0197] Step 9: The Internet of Vehicles backend stores the ticket information returned by the music application service backend, and associates the service account of the music application service (i.e., the ticket information) with the super account (i.e., the target application account);
[0198] Step 10: Internet of Vehicles APP A displays the association result information of successful binding on the UI.
[0199] The user has bound a CP / SP service (i.e., music application service) on APP A. APP B, which shares a super account with APP A, has also integrated the CP / SP service, i.e., music application service. When APP B also logs in to the super account, it does not need to bind the service account of the CP / SP service again, and can share the rights and interests of the service account of the CP / SP service. Fig.15 , Fig.15 : is a schematic diagram of the processing flow of the application (i.e., APP B) sharing music application service provided in the embodiment of the present application, including:
[0200] Step 1: Car networking APP B logs in through the super account;
[0201] Step 2: The Internet of Vehicles APP B queries the service binding status of the CP / SP service (i.e., the music application service) to the Internet of Vehicles backend;
[0202] Step 3: The IoV backend returns the binding status of the CP / SP service (i.e., music application service) to APP B as bound;
[0203] Step 4: The user requests the service content of the CP / SP service (i.e., music application service);
[0204] Step 5: The Internet of Vehicles APP B requests the service content of the CP / SP service (i.e., the music application service) to the Internet of Vehicles backend;
[0205] Step 6: The IoV background reads the user's ticket information in the CP / SP service (i.e., music application service), and initiates a service content acquisition request to the CP / SP service (i.e., music application service) background to obtain the service content;
[0206] Step 7: The CP / SP service (i.e., music application service) background verifies the legitimacy of the ticket information and returns the corresponding service content to the Internet of Vehicles background;
[0207] Step 8: The Internet of Vehicles backend returns the corresponding service content to the Internet of Vehicles APP B;
[0208] Step 9: Car-connected APP B displays service content to users.
[0209] The application of the above embodiments of the present application meets the requirements of effective management of service accounts of various CP / SP services in the application of the vehicle system in the vehicle networking scenario, and simplifies the user operation process. Specifically, in the application of the vehicle networking ecosystem, after completing the login authentication of the CP / SP service, the vehicle networking background binds the service account of the CP / SP service to the super account of the vehicle networking, and maintains the update of the service account status of the CP / SP service, such as refreshing tickets, logging out, etc., achieving the following technical effects:
[0210] First, for applications belonging to the same Internet of Vehicles ecosystem, the binding status of a CP / SP service within different applications can be shared, reducing user login operations; for example, if application A completes the binding and login of CP / SP service A, application B can also share the login status of CP / SP service A.
[0211] Second, as a public device, after logging out of the super account, the service accounts of all associated CP / SP services are logged out for the car computer, solving the user account security and privacy issues; only the super account is logged out, but the binding relationship between the super account and the CP / SP account is retained in the cloud, so that the next time the user logs in, no matter which car computer, he only needs to log in to the super account to synchronously restore the use of the service account rights of all bound CP / SP services; at the same time, the binding and management operations of CP / SP are placed in the cloud, reducing the client development cost.
[0212] Third, when terminal applications access the integrated application services, there is no need to pay attention to the service provider and its login tickets. The corresponding background resources can be directly accessed through the super account, so that the user's service account rights and interests in each CP / SP service can be shared between APPs on the terminal, reducing the complexity of user operations, protecting user privacy and account security, so as to improve the user experience of the product.
[0213] The following further describes an exemplary structure of the application service processing device 555 provided in the embodiment of the present application implemented as a software module. In some embodiments, for example Figure 2 As shown, the software modules stored in the processing device 555 of the application service in the memory 550 may include:
[0214] The presentation module 5551 is used to present, in the interface of the first application logged in based on the target application account, an associated function item corresponding to at least one application service;
[0215] An association module 5552, configured to associate a target service account corresponding to the target application service with the target application account in response to an association instruction for the target application service triggered based on the association function item;
[0216] Wherein, the first application shares the target application account with the second application having the target application service;
[0217] Output module 5553 is used to output service content corresponding to the permissions of the target service account based on the association between the target application account and the target service account in response to a content output instruction for the target application service when the first application is in a logged-in state in the interface of the second application.
[0218] In some embodiments, the presenting module 5551 is further used to present a service-related function entry in a setting interface of the first application logged in based on the target application account;
[0219] In response to a triggering operation on the service-related function entry, the interface is presented, and in the interface, at least one related function item corresponding to the application service is presented.
[0220] In some embodiments, the presenting module 5551 is further used to present a service entry corresponding to at least one application service in an application interface of the first application logged in based on the target application account;
[0221] In response to a trigger operation on the service portal, when the service account of the at least one application service is not associated with the target application account, presenting the interface, and
[0222] In the interface, at least one associated function item corresponding to an application service is presented.
[0223] In some embodiments, each of the application services corresponds to one associated function item, and the associated module 5552 is further configured to receive a trigger operation for the associated function item corresponding to the target application service;
[0224] In response to the triggering operation, an association instruction for the target application service is received.
[0225] In some embodiments, each of the application services corresponds to one associated function item, and the associated module 5552 is further configured to present at least one associated mode for selection in response to a trigger operation on the associated function item corresponding to the target application service;
[0226] In response to a selection operation on a target association method, presenting an association interface corresponding to the target association method;
[0227] Based on the association interface, an association instruction for the target application service triggered by the target association method is received.
[0228] In some embodiments, the association module 5552 is further configured to present an association graphic code corresponding to the target application service in the association interface when the target association method is a code scanning association method;
[0229] The association module 5552 is further configured to receive a scanning operation for the associated graphic code triggered by an application corresponding to the target association method;
[0230] In response to the scanning operation, presenting a first prompt function item, wherein the first prompt function item is used to prompt whether to associate the target service account with the target application account;
[0231] In response to the confirmation association instruction triggered based on the first prompt function item, an association instruction for the target application service is received.
[0232] In some embodiments, the association module 5552 is further configured to present, in the association interface, an information verification function item and an information input function item corresponding to the target application service when the target association method is a verification code association method;
[0233] The association module 5552 is further configured to send the verification information to the terminal associated with the target application account in response to the verification instruction triggered for the information verification function item;
[0234] When the verification information input based on the information input function item is received, an association instruction for the target application service is received.
[0235] In some embodiments, the at least one application service corresponds to one of the associated function items, and the associated module 5552 is further configured to present at least one associated mode for selection in response to a trigger operation on the associated function item;
[0236] In response to a selection operation on the target association mode, presenting the at least one application service;
[0237] In response to a selection operation for a target application service, presenting an association interface corresponding to the target association mode;
[0238] Based on the association interface, an association instruction for the target application service triggered by the target association method is received.
[0239] In some embodiments, the presenting module 5551 is further used to present a disassociation function item corresponding to the target application service;
[0240] When a trigger operation for the disassociation function item is received, a second prompt function item is presented, where the second prompt function item is used to prompt whether to disassociate the target service account from the target application account;
[0241] In response to a confirmation release instruction triggered based on the second prompt function item, the association relationship between the target service account and the target application account is released.
[0242] In some embodiments, the presentation module 5551 is further used to present an account login interface corresponding to the first application, and present an account registration function item in the account login interface;
[0243] In response to an account registration instruction triggered based on the account registration function item, generating the target application account corresponding to the first application, and
[0244] Control the first application to enter the logged-in state based on the target application account.
[0245] In some embodiments, the presentation module 5551 is further configured to obtain the effective duration of the association between the target service account and the target application account, and the association time point when receiving a content output instruction for the target application service in the application interface of the first application;
[0246] When it is determined based on the association validity period and the association time point that the association expiration time point has arrived, presenting association prompt information;
[0247] The association prompt information is used to prompt the user to associate the target service account with the target application account again.
[0248] In some embodiments, the presentation module 5551 is further configured to present a service entry corresponding to the target application service in the interface of the second application;
[0249] In response to the triggering operation on the service entry, a content output instruction for the target application service is received.
[0250] In some embodiments, the association module 5552 is further used to send an association request to associate the target service account with the target application account to the first server of the target application service;
[0251] The association request is used for the first server to send the target service account to the second server of the first application, so that the second server associates the target service account with the target application account and returns prompt information;
[0252] The prompt information returned based on the association request is received and presented, wherein the prompt information is used to indicate an association result between the target service account and the target application account.
[0253] In some embodiments, the output module 5553 is further used to send an acquisition request corresponding to the service content to a third server of the second application;
[0254] The acquisition request is used for the third server to send a content acquisition request carrying the target service account to the first server of the target application service, so that the first server returns the service content corresponding to the authority of the target service account to the third server after verifying the target service account;
[0255] The service content returned by the third server based on the acquisition request is received, and the service content is output based on the target application service.
[0256] In some embodiments, the association module 5552 is further used to call a smart contract of a blockchain network to perform consensus verification on the association relationship between the target application account and the target service account to obtain a verification result;
[0257] When the verification result indicates that the consensus verification has passed, the association relationship between the target service account and the target application account is stored in the blockchain network.
[0258] In some embodiments, the output module 5553 is further used to generate and send a transaction for obtaining a target association relationship, wherein the target association relationship includes an association relationship between the target application account and at least one service account;
[0259] Receiving the target association relationship returned by the blockchain network based on the transaction;
[0260] When there is an association relationship between the target application account and the target service account in the target association relationship, the service content corresponding to the authority of the target service account is output.
[0261] Applying the above-mentioned embodiment of the present application, in the interface of the first application logged in based on the target application account, an associated function item corresponding to at least one application service is presented, and when an association instruction for the target application service triggered based on the associated function item is received, the target service account corresponding to the target application service is associated with the target application account; at this time, while the first application is in a logged-in state, if a content output instruction for the target application service is received in the interface of the second application that shares the target application account with the first application, the service content corresponding to the authority of the target service account is output.
[0262] In this way, it is only necessary to complete the association between the service account of the application service and the target application account on an application logged in based on the target application account. Other applications that share the target application account and have the application service can also use the application service to provide service content corresponding to the permissions of the target service account, thereby reducing the complexity of user operations and improving the processing efficiency of the application service.
[0263] The present application also provides an electronic device, the electronic device comprising:
[0264] A memory for storing executable instructions;
[0265] The processor is used to implement the processing method of the application service provided in the embodiment of the present application when executing the executable instructions stored in the memory.
[0266] The embodiment of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the processing method of the application service provided in the embodiment of the present application.
[0267] The embodiment of the present application also provides a computer-readable storage medium storing executable instructions, which, when executed by a processor, implements a processing method for the application service provided by the embodiment of the present application.
[0268] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.
[0269] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0270] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0271] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0272] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. A method for processing an application service, characterized in that: The method comprises: In the interface of the first application logged in based on the target application account, presenting at least one associated function item corresponding to the application service; In response to an association instruction for a target application service triggered based on the association function item, associating a target service account corresponding to the target application service with the target application account; Wherein, the first application shares the target application account with the second application having the target application service; When the first application is in the logged-in state, when a content output instruction for the target application service is received in the interface of the second application, In response to the content output instruction, based on the association relationship between the target application account and the target service account, output the service content corresponding to the authority of the target service account; When the first application is switched from the logged-in state to the logged-out state, the target application service is controlled to be in the logged-out state.
2. The method according to claim 1, characterized in that The presenting, in the interface of the first application logged in based on the target application account, a related function item corresponding to at least one application service includes: In the setting interface of the first application logged in based on the target application account, presenting a service-related function entrance; In response to a triggering operation on the service-related function entry, the interface is presented, and in the interface, at least one related function item corresponding to the application service is presented.
3. The method according to claim 1, characterized in that The presenting, in the interface of the first application logged in based on the target application account, a related function item corresponding to at least one application service includes: In an application interface of a first application logged in based on a target application account, presenting a service entry corresponding to at least one application service; In response to a trigger operation on the service portal, when the service account of the at least one application service is not associated with the target application account, presenting the interface, and In the interface, at least one associated function item corresponding to an application service is presented.
4. The method according to claim 1, characterized in that Each of the application services corresponds to one of the associated function items, and the method further includes: Receiving a triggering operation for an associated function item corresponding to the target application service; In response to the triggering operation, an association instruction for the target application service is received.
5. The method according to claim 1, characterized in that Each of the application services corresponds to one of the associated function items, and the method further includes: In response to a triggering operation on an associated function item corresponding to the target application service, presenting at least one associated mode for selection; In response to a selection operation on a target association method, presenting an association interface corresponding to the target association method; Based on the association interface, an association instruction for the target application service triggered by the target association method is received.
6. The method according to claim 5, characterized in that The method further comprises: When the target association method is a code scanning association method, the association graphic code corresponding to the target application service is presented in the association interface; The receiving the association instruction for the target application service triggered by the target association method includes: Receiving a scanning operation for the associated graphic code triggered by an application corresponding to the target association method; In response to the scanning operation, presenting a first prompt function item, wherein the first prompt function item is used to prompt whether to associate the target service account with the target application account; In response to the confirmation association instruction triggered based on the first prompt function item, an association instruction for the target application service is received.
7. The method according to claim 5, characterized in that The method further comprises: When the target association method is a verification code association method, in the association interface, an information verification function item and an information input function item corresponding to the target application service are presented; The receiving the association instruction for the target application service triggered by the target association method includes: In response to a verification instruction triggered by the information verification function item, sending verification information to a terminal associated with the target application account; When the verification information input based on the information input function item is received, an association instruction for the target application service is received.
8. The method according to claim 1, characterized in that The at least one application service corresponds to one of the associated function items, and the method further includes: In response to a trigger operation on the association function item, presenting at least one association mode for selection; In response to a selection operation on the target association mode, presenting the at least one application service; In response to a selection operation for a target application service, presenting an association interface corresponding to the target association mode; Based on the association interface, an association instruction for the target application service triggered by the target association method is received.
9. The method according to claim 1, characterized in that The method further comprises: Presenting a disassociation function item corresponding to the target application service; When a trigger operation for the disassociation function item is received, a second prompt function item is presented, where the second prompt function item is used to prompt whether to disassociate the target service account from the target application account; In response to a confirmation release instruction triggered based on the second prompt function item, the association relationship between the target service account and the target application account is released.
10. The method according to claim 1, characterized in that The method further comprises: Presenting an account login interface corresponding to the first application, and presenting an account registration function item in the account login interface; In response to an account registration instruction triggered based on the account registration function item, generating the target application account corresponding to the first application, and Control the first application to enter the logged-in state based on the target application account.
11. The method according to claim 1, characterized in that The method further comprises: When receiving a content output instruction for the target application service in the application interface of the first application, obtaining the effective duration of association between the target service account and the target application account, and the association time point; When it is determined based on the association validity period and the association time point that the association expiration time point has arrived, presenting association prompt information; The association prompt information is used to prompt the user to associate the target service account with the target application account again.
12. The method according to claim 1, characterized in that The method further comprises: In the interface of the second application, presenting a service entry corresponding to the target application service; In response to the triggering operation on the service entry, a content output instruction for the target application service is received.
13. The method according to claim 1, characterized in that The associating the target service account corresponding to the target application service with the target application account includes: Sending an association request to associate the target service account with a target application account to a first server of the target application service; The association request is used for the first server to send the target service account to the second server of the first application, so that the second server associates the target service account with the target application account and returns prompt information; The prompt information returned based on the association request is received and presented, wherein the prompt information is used to indicate an association result between the target service account and the target application account.
14. The method according to claim 1, wherein: The outputting service content corresponding to the authority of the target service account based on the association relationship between the target application account and the target service account includes: Sending a request for obtaining the service content to a third server of the second application; The acquisition request is used for the third server to send a content acquisition request carrying the target service account to the first server of the target application service, so that the first server returns the service content corresponding to the authority of the target service account to the third server after verifying the target service account; The service content returned by the third server based on the acquisition request is received, and the service content is output based on the target application service.
15. The method according to claim 1, wherein: The method further comprises: Calling the smart contract of the blockchain network to perform consensus verification on the association relationship between the target application account and the target service account to obtain a verification result; When the verification result indicates that the consensus verification has passed, the association relationship between the target service account and the target application account is stored in the blockchain network.
16. The method according to claim 15, characterized in that The outputting service content corresponding to the authority of the target service account based on the association relationship between the target application account and the target service account includes: generating and sending a transaction for obtaining a target association relationship, wherein the target association relationship includes an association relationship between the target application account and at least one service account; Receiving the target association relationship returned by the blockchain network based on the transaction; When there is an association relationship between the target application account and the target service account in the target association relationship, the service content corresponding to the authority of the target service account is output.
17. A processing device for application services, characterized in that: The device comprises: A presentation module, configured to present, in an interface of a first application logged in based on a target application account, an associated function item corresponding to at least one application service; an association module, configured to associate a target service account corresponding to the target application service with the target application account in response to an association instruction for the target application service triggered based on the association function item; Wherein, the first application shares the target application account with the second application having the target application service; An output module is used to output service content corresponding to the authority of the target service account based on the association relationship between the target application account and the target service account in response to a content output instruction for the target application service when the first application is in a logged-in state and when the first application is switched from the logged-in state to the logged-out state, control the target application service to be in the logged-out state.
18. An electronic device, characterized in that: The electronic device comprises: A memory for storing executable instructions; The processor is used to implement the processing method of the application service according to any one of claims 1 to 16 when executing the executable instructions stored in the memory.
19. A computer-readable storage medium, characterized in that: Executable instructions are stored, and when the executable instructions are executed, they are used to implement the processing method of the application service according to any one of claims 1 to 16.
20. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by a processor, the processing method of the application service described in any one of claims 1 to 16 is implemented.
Citation Information
Patent Citations
Account management method and device for electronic device, equipment and storage medium
CN112671778A
Account binding method, device and system
CN112738143A