Service data processing method, device, electronic device and storage medium

By processing the identity of the service requester on the e-commerce platform to generate a virtual identity, the problem of big data maturity is solved, the user experience is improved, and the service provider cannot adjust the service resource information according to the user type.

CN111865558BActive Publication Date: 2024-10-15BEIJING QISHENG SCIENCE AND TECHNOLOGY CO LTD
View PDF 15 Cites 0 Cited by

Patent Information

Application Number
CN201910415992.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-19
Publication Date
2024-10-15
Estimated Expiration
2039-05-19

AI Technical Summary

Technical Problem

The phenomenon of big data obliteration affects user experience in the field of e-commerce, and existing technologies cannot effectively solve this problem.

Method used

By receiving the service request message sent by the client, processing the service requester's identity according to preset rules, generating a virtual identity, and obtaining service resource information based on the virtual identity, ensuring that the user is regarded as a new user or an unrecorded user, thereby avoiding service provision The party adjusts service resource information according to user types.

Benefits of technology

It effectively avoids the occurrence of big data over-exploitation, improves user experience, and ensures that service providers cannot adjust service resource information based on differences in user types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111865558B_ABST
    Figure CN111865558B_ABST
Patent Text Reader

Abstract

The present application provides a service data processing method, device, electronic device and storage medium, and relates to the field of data processing technology. The embodiment of the present application receives a service request message sent by a client, and the service request message includes: an identifier of a service requester and a service identifier requested by the service requester, processes the identifier of the service requester according to a preset rule, obtains a virtual identifier, and obtains corresponding service resource information according to the virtual identifier and the service identifier requested by the service requester, thereby replacing the actual identifier of the user. For the service platform, the user who initiates the service request is a new user or an unrecorded user, so that the service provider cannot adjust the service resource information corresponding to the service identifier requested by the service requester according to the difference between different user types.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a service data processing method, device, electronic device and storage medium. Background Art

[0002] With the development of big data technology, data has become an important basis for many companies or businesses in the field of e-commerce to make relevant decisions. For example, companies or businesses can analyze user behavior based on website operation data to estimate user value and formulate targeted service strategies.

[0003] However, the development of big data technology has also led to negative behaviors in the e-commerce field, such as the phenomenon of "big data killing old customers", which has affected the user experience. Among them, big data killing old customers refers to the phenomenon in the e-commerce field that companies or merchants dynamically adjust the service prices of users based on user behavior or data. For example, for a certain service, the service price enjoyed by old users is actually higher than that of new users.

[0004] However, there is no feasible solution in the prior art to avoid the above-mentioned big data price discrimination phenomenon and improve the user experience. Summary of the invention

[0005] In view of this, the purpose of the embodiments of the present application is to provide a service data processing method, device, electronic device and storage medium, which are used to solve the problem in the prior art that the big data price discrimination phenomenon affects the user experience.

[0006] In a first aspect, an embodiment of the present application provides a service data processing method, which is applied to a service platform, and the method includes:

[0007] Receive a service request message sent by a client, the service request message including: an identifier of a service requester and a service identifier requested by the service requester; process the identifier of the service requester according to preset rules to obtain a virtual identifier; and obtain corresponding service resource information based on the virtual identifier and the service identifier requested by the service requester.

[0008] Optionally, the processing of the service requester's identifier according to a preset rule to obtain a virtual identifier includes:

[0009] The service requester's ID is hashed or signed and encrypted together with the preset data to obtain a virtual ID.

[0010] Optionally, the identification of the service requester is processed according to a preset rule to obtain a virtual identification, including:

[0011] The identifiers of multiple service requesters are hashed to obtain corresponding multiple virtual identifiers, wherein the multiple service requesters are service requesters that initiate service requests in the same time period; the multiple virtual identifiers are randomly sorted to determine the virtual identifier corresponding to each service requester.

[0012] Optionally, the identification of the service requester is processed according to a preset rule to obtain a virtual identification, including:

[0013] A plurality of virtual identifiers are randomly generated according to the identifier of the service requester and a preset random algorithm.

[0014] Optionally, the above-mentioned obtaining corresponding service resource information according to the virtual identifier and the service identifier requested by the service requester includes:

[0015] According to multiple virtual identifiers and the service identifier requested by the service requester, service resource information corresponding to each virtual identifier is obtained; according to the service resource information corresponding to each virtual identifier and a preset algorithm, target service resource information is calculated and obtained.

[0016] Optionally, the method further comprises:

[0017] Receive service information sent by the service provider device, the service information includes: service identification, and service resource information corresponding to the service identification; transmit the service information to the blockchain device.

[0018] Optionally, the above-mentioned obtaining corresponding service resource information according to the virtual identifier and the service identifier requested by the service requester includes:

[0019] According to the virtual identifier and the service identifier requested by the service requester, the corresponding service resource information is obtained from the blockchain device.

[0020] Optionally, the above-mentioned obtaining corresponding service resource information according to the virtual identifier and the service identifier requested by the service requester includes:

[0021] According to the virtual identifier and the service identifier requested by the service requester, corresponding service resource information and additional resource information are obtained.

[0022] In a second aspect, an embodiment of the present application provides a service data processing device, which is applied to a service platform, and the device includes:

[0023] The first receiving module is used to receive a service request message sent by a client, the service request message includes: an identifier of a service requester and a service identifier requested by the service requester; a processing module is used to process the identifier of the service requester according to preset rules to obtain a virtual identifier; an acquisition module is used to obtain corresponding service resource information based on the virtual identifier and the service identifier requested by the service requester.

[0024] Optionally, the above-mentioned processing module is specifically used to perform hashing or signature encryption on the identification of the service requester together with preset data to obtain a virtual identification.

[0025] Optionally, the above-mentioned processing module is specifically used to hash the identifiers of multiple service requesters to obtain corresponding multiple virtual identifiers, wherein the multiple service requesters are service requesters that initiate service requests in the same time period; randomly sort the multiple virtual identifiers to determine the virtual identifier corresponding to each service requester.

[0026] Optionally, the above-mentioned processing module is specifically used to randomly generate multiple virtual identifiers according to the identifier of the service requester and a preset random algorithm.

[0027] Optionally, the acquisition module is specifically used to acquire service resource information corresponding to each virtual identifier according to multiple virtual identifiers and the service identifier requested by the service requester; and to calculate and acquire target service resource information according to the service resource information corresponding to each virtual identifier and a preset algorithm.

[0028] Optionally, the device further comprises:

[0029] The second receiving module is used to receive service information sent by the service provider device, where the service information includes: a service identifier and service resource information corresponding to the service identifier; the transmission module is used to transmit the service information to the blockchain device.

[0030] Optionally, the above-mentioned acquisition module is specifically used to obtain corresponding service resource information from the blockchain device according to the virtual identifier and the service identifier requested by the service requester.

[0031] Optionally, the acquisition module is specifically used to acquire corresponding service resource information and additional resource information according to the virtual identifier and the service identifier requested by the service requester.

[0032] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the steps of the service data processing method described in the first aspect.

[0033] In a fourth aspect, an embodiment of the present application provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the service data processing method described in the first aspect are executed.

[0034] Based on any of the above aspects, the present application has the following beneficial effects:

[0035] The embodiment of the present application receives a service request message sent by a client, where the service request message includes: an identifier of a service requester and a service identifier requested by the service requester, processes the identifier of the service requester according to preset rules to obtain a virtual identifier, and obtains corresponding service resource information based on the virtual identifier and the service identifier requested by the service requester, thereby replacing the actual identifier of the user with the virtual identifier. For the service platform, the user who initiates the service request is a new user or a user with no record, so that the service provider cannot adjust the service resource information corresponding to the service identifier requested by the service requester according to the difference between different user types. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 A schematic diagram showing the structure of the service platform provided by the embodiment of the present application is shown;

[0038] Figure 2 A schematic diagram showing a flow chart of a service data processing method provided in an embodiment of the present application;

[0039] Figure 3 Another schematic diagram of the process of processing service data provided by the embodiment of the present application is shown;

[0040] Figure 4 Another schematic diagram of a process of processing service data provided by an embodiment of the present application is shown;

[0041] Figure 5 Another schematic diagram of a process of processing service data provided by an embodiment of the present application is shown;

[0042] Figure 6 A schematic diagram showing the structure of a service data processing device provided in an embodiment of the present application is shown;

[0043] Figure 7 Another structural schematic diagram of the service data processing device provided in an embodiment of the present application is shown;

[0044] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0045] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0046] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0047] In addition, it should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0048] The embodiment of the present application provides a service data processing method, which is applied to a service platform. The service platform may be an online car-hailing service platform, a food delivery service platform, a shopping service platform, or other online transaction service platforms, and the present application does not limit this.

[0049] Figure 1 A schematic diagram of the structure of the service platform provided in the embodiment of the present application is shown.

[0050] like Figure 1 As shown, the service platform may include: a server 110 , a network 120 , a client 130 and a database 140 .

[0051] In some embodiments, server 110 may be a single server or a server group. The server group may be centralized or distributed (for example, server 110 may be a distributed system). In some embodiments, server 110 may be local or remote relative to client 130. For example, server 110 may access information and / or data stored in client 130 or database 140, or any combination thereof, via network 120. As another example, server 110 may also be directly connected to at least one of client 130 and database 140 to access stored information and / or data. In some embodiments, server 110 may be implemented on a cloud platform; by way of example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an inter-cloud, a multi-cloud, etc., or any combination thereof.

[0052] In some embodiments, the server 110 may include a processor, which may include one or more processing cores (e.g., a single-core processor (S) or a multi-core processor (S)). By way of example only, the processor may include a central processing unit (CPU), an application specific integrated circuit (ASIC), an application specific instruction set processor (ASIP), a graphics processing unit (GPU), a physical processing unit (PPU), a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a microcontroller unit, a reduced instruction set computer (RISC), or a microprocessor, or any combination thereof.

[0053] The network 120 can be used for the exchange of information and / or data. In some embodiments, one or more components in the service platform (e.g., server 110, client 130, and database 140) can obtain information and / or data from other components. For example, the server 110 can obtain information and / or data from the client 130 via the network 120. In some embodiments, the network 120 can be any type of wired or wireless network, or a combination thereof. As an example only, the network 120 can include a wired network, a wireless network, a fiber optic network, a telecommunications network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a wide area network (WAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, or a near field communication (NFC) network, etc., or any combination thereof. In some embodiments, the network 120 can include one or more network access points. For example, network 120 may include wired or wireless network access points, such as base stations and / or network switching nodes, through which one or more components of the service platform may connect to network 120 to exchange data and / or information.

[0054] The database 140 may store data and / or instructions. In some embodiments, the database 140 may store information and / or data obtained from the client 130. In some embodiments, the database 140 may store data and / or instructions of the exemplary methods described in the present application. In some embodiments, the database 140 may include a large capacity memory, a removable memory, a volatile read-write memory, or a read-only memory (ROM), etc., or any combination thereof. As an example, the large capacity memory may include a disk, an optical disk, a solid-state drive, etc.; the removable memory may include a flash drive, a floppy disk, an optical disk, a memory card, a zip disk, a tape, etc.; the volatile read-write memory may include a random access memory (RAM); the RAM may include a dynamic RAM (DRAM), a double data rate synchronous dynamic RAM (DDR SDRAM); a static RAM (SRAM), a thyristor RAM (T-RAM), and a zero capacitor RAM (Zero-RAM), etc. As an example, ROM may include mask ROM (Mask Read-Only Memory, MROM), programmable ROM (Programmable Read-Only Memory, PROM), erasable programmable ROM (Programmable Erasable Read-only Memory, PEROM), electrically erasable programmable ROM (Electrically Erasable Programmable read only memory, EEPROM), CD-ROM (CD-ROM), and digital versatile disk ROM, etc. In some embodiments, database 140 can be implemented on a cloud platform. As an example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, a cross-cloud, a multi-cloud, or other similar, etc., or any combination thereof.

[0055] In some embodiments, the database 140 may also be directly connected to one or more components in the service platform (eg, the server 110 , the client 130 , etc.); or, in some embodiments, the database 140 may also be a part of the server 110 .

[0056] Figure 2 A flow chart of a service data processing method provided in an embodiment of the present application is shown.

[0057] like Figure 2 As shown, the service data processing method includes:

[0058] S201: Receive a service request message sent by a client, where the service request message includes: an identifier of a service requester and an identifier of a service requested by the service requester.

[0059] Among them, the client can be integrated into terminals such as mobile phones, computers, tablets, wearable devices, etc., and the user (also referred to as the service requester in this application) can send a service request message to the service platform through the client. In the service request message, the identifier of the service requester can be the account information of the user, such as: mobile phone number, registration ID, or other account that can indicate the user's identity information; and the service identifier requested by the service requester can indicate the service type or service object requested by the user from the service platform.

[0060] Taking online car-hailing services as an example, when a user needs to use an online car-hailing service, he can send a service request message to the online car-hailing service platform through the car-hailing app on his mobile phone. At this time, in the service request message sent, the identifier of the service requester can be the mobile phone number or registration ID that the user registered for the car-hailing app; the service identifier requested by the service requester can be the type of online car-hailing service requested by the user, such as express, carpooling, ride-sharing, etc.

[0061] Similarly, in other food delivery services or shopping services, users can also send service request messages to food delivery service platforms or shopping service platforms through food delivery software or shopping software in their mobile phones. Correspondingly, in the sent service request message, the identifier of the service requester can also be the mobile phone number or registration ID of the user who registered the food delivery software or shopping software; and the service identifier requested by the service requester can be the food delivery item or specific online shopping item requested by the user.

[0062] It should be noted that in the service data processing method provided in the embodiment of the present application, the service request message sent by the client to the service platform is not limited to the aforementioned types. When the service data processing method is applied to different service platforms, the service request message sent by the client to the service platform will be different accordingly. For example, in some tourism services, the service identifier requested by the service requester may also be tickets for hotels or attractions, etc., which are not limited in the present application.

[0063] S202: Process the identifier of the service requester according to a preset rule to obtain a virtual identifier.

[0064] The preset rules may be some encryption rules or set calculation rules. Optionally, the service requester's identity may be encrypted or calculated accordingly according to the preset rules, so as to achieve fuzzy processing of the service requester's identity, thereby obtaining a virtual identity.

[0065] Taking shopping service as an example, in shopping service, if the identifier of the service requester is the user's registration ID (such as Taobao account or JD account), the user's registration ID can be fuzzy processed according to preset rules to obtain a new virtual registration ID.

[0066] S203: Acquire corresponding service resource information according to the virtual identifier and the service identifier requested by the service requester.

[0067] The service platform may match different service resource information for the same service identifier and the identifiers of different service requesters. Optionally, the service resource information can be service-related information such as prices, coupons, product details, etc. corresponding to the service identifier. For example, in online car-hailing services, service resource information can be prices or coupons corresponding to different types of taxis such as express, carpooling, and ride-sharing; in travel services, service resource information can be the price of hotels or scenic spot tickets; in takeaway services, service resource information can be the price of takeaway goods such as food and fruits, etc.

[0068] In the embodiment of the present application, the user's real identity is obscured by processing the user's real identity to obtain a virtual identity, so that the service platform is difficult to query the user's historical service records and other information, and thus will not obtain the service resource information corresponding to the user in a targeted manner. For example, the user's real identity can indicate that the user is an old customer, and after using the virtual identity, the service platform cannot query the service record corresponding to the virtual identity, and it is considered that the virtual identity is not an old customer, thus avoiding differential adjustment of the service resource information requested by the service requester.

[0069] Taking travel services as an example, in the prior art, if user A often books hotel P for business trips through a travel service platform, and the price is usually around RMB 380 to RMB 400, and during the off-season, user A finds on the travel service platform that the price of hotel P is still RMB 380, while user B (a new user, i.e., he has never booked hotel P through the travel service platform) finds on the travel service platform that the price of hotel P is only RMB 300. That is, user A, as an old user of hotel P, has become a target of hotel P's price-cutting.

[0070] In the service data processing method provided in the embodiment of the present application, when user A needs to book hotel P through the travel service platform, user A can send a service request message to the travel service platform or the intermediate third-party platform through a client such as a mobile phone or a computer, and the service request message may include: user A's account number and the room type of hotel P requested by user A to be booked. The travel service platform or the intermediate third-party platform can process the received user A's account number according to the preset rules to obtain a virtual account number. Then when the travel service platform uses the virtual account number to query the price corresponding to the room type of hotel P requested by user A to be booked, it is impossible to determine the type of user (such as an old user or a new user) according to the virtual account number. That is, in this process, the virtual account number cannot match the account number of user A stored in the database of the service platform. For the service platform, user A is a new user or a user without a record, so hotel P cannot judge the user type of user A, so that it is impossible to adjust the price of the room type of hotel P requested by user A to be booked according to the difference of different user types. For example, the price inquired by user A in the off-season is 300 yuan, not 380 yuan.

[0071] As described above, the embodiment of the present application receives a service request message sent by a client, where the service request message includes: an identifier of a service requester and a service identifier requested by the service requester, processes the identifier of the service requester according to preset rules, obtains a virtual identifier, and obtains corresponding service resource information based on the virtual identifier and the service identifier requested by the service requester, thereby replacing the actual identifier of the user with the virtual identifier. For the service platform, the user who initiates the service request is a new user or an unrecorded user, thereby preventing the service provider from adjusting the service resource information corresponding to the service identifier requested by the service requester according to the differences between different user types.

[0072] Optionally, the processing of the service requester's identifier according to a preset rule to obtain a virtual identifier includes: performing hashing or signature encryption on the service requester's identifier together with preset data to obtain a virtual identifier.

[0073] Specifically, hashing, as a hash function or mapping function, can transform an input of any length into an output of a fixed length through a hash algorithm, and the output result is a hash value. Since different inputs may hash to the same output, it is impossible to determine the unique input value based on the output hash value. That is, in the embodiment of the present application, after the service requester's identifier is hashed together with the preset data, the output hash value is a virtual identifier to obscure the user's real identifier.

[0074] It should be noted that the preset data may be some pre-set fields or data, or may be fields or data randomly generated when the service requester's identifier is processed, and the preset data and the service requester's identifier may be used together as input values ​​of a hash to obtain a virtual identifier. This application does not limit the specific type of the preset data.

[0075] Signature encryption refers to changing the service requester's identity and preset data in a signature manner to encrypt the service requester's identity and preset data. The encryption result is a virtual identity. Similar to the above-mentioned hash hashing, after the service requester's identity and preset data are signed and encrypted, the original service requester's identity cannot be determined based on the virtual identity.

[0076] Therefore, the service requester's identifier can be hashed or signed and encrypted together with the preset data to obtain a virtual identifier, and the service platform can be accessed through the virtual identifier, so that the virtual identifier cannot match the service requester's identifier stored in the service platform's database.

[0077] Figure 3 Another flow chart of the service data processing method provided in an embodiment of the present application is shown.

[0078] Alternatively, if Figure 3 As shown, the service requester's identifier is processed according to the preset rules to obtain a virtual identifier, including:

[0079] S301. Hash the identifiers of multiple service requesters to obtain corresponding multiple virtual identifiers, wherein the multiple service requesters are service requesters that initiate service requests in the same time period.

[0080] Optionally, in some implementation modes of the present application, the identifiers of multiple service requesters that initiate service requests in the same time period can be used together as the input value of the hash without the need for the preset data described in the aforementioned embodiments; correspondingly, the output value of the hash is multiple virtual identifiers.

[0081] Among them, the same time period can be a period of time before and after the user initiates the service request, for example, 1 second, 10 seconds, or 1 minute. In the actual implementation process, technical personnel in this field can make specific settings for the duration of the same time period as needed, and this application does not make any special requirements here.

[0082] S302: Randomly sort multiple virtual identifiers to determine the virtual identifier corresponding to each service requester.

[0083] Optionally, after obtaining the above multiple virtual identifiers, the multiple virtual identifiers can be randomly sorted and allocated to each service requester according to the result of the random sorting, so that each service requester can access the service platform through the corresponding virtual identifier. Since the virtual identifier used by each service requester to access the service platform is a random result, it is impossible to determine the identifier of the service requester through the virtual identifier.

[0084] Optionally, in other embodiments of the present application, after obtaining the above-mentioned multiple virtual identifiers, the multiple virtual identifiers can also be directly and randomly assigned to the corresponding multiple service requesters, which has a similar effect to the solution described in the above step S302, and the present application will not repeat it here.

[0085] Optionally, the processing of the service requester's identifier according to a preset rule to obtain a virtual identifier includes: randomly generating a plurality of virtual identifiers according to the service requester's identifier and a preset random algorithm.

[0086] Specifically, the preset random algorithm randomly generates multiple output values ​​according to the input value, and the relevant information of the input value cannot be determined according to the output value. After the identifier of the service requester is input as the input value into the preset random algorithm, multiple virtual identifiers can be randomly generated. The service platform can be accessed through the generated multiple virtual identifiers to obtain the service resources corresponding to the service identifier requested by the service requester. Similar to the aforementioned embodiment, since the multiple virtual identifiers are randomly generated according to the preset random algorithm, the virtual identifier cannot match the identifier of the service requester stored in the database of the service platform, which makes it impossible for the service provider to determine the user type of the service requester, and thus cannot obtain differential service resource information for different user types.

[0087] Figure 4 Another flow chart of the service data processing method provided in the embodiment of the present application is shown.

[0088] Alternatively, if Figure 4 As shown, the above-mentioned acquisition of corresponding service resource information according to the virtual identifier and the service identifier requested by the service requester includes:

[0089] S401: Acquire service resource information corresponding to each virtual identifier according to multiple virtual identifiers and a service identifier requested by a service requester.

[0090] As described above, if it is determined that multiple virtual identifiers are obtained, when obtaining service resource information according to the multiple virtual identifiers and the service identifier requested by the service requester, multiple service resource information corresponding to the multiple virtual identifiers can be obtained.

[0091] For example, if the service identifier requested by the service requester is product X, the service resource information obtained may be the price of product X. When obtaining the price of product X, multiple prices corresponding to multiple virtual identifiers may be obtained, and the multiple prices may be the same or different.

[0092] S402: Calculate and obtain target service resource information according to the service resource information corresponding to each virtual identifier and a preset algorithm.

[0093] Optionally, the target service resource information can be calculated and obtained from the service resource information corresponding to each of the virtual identifiers according to a preset algorithm. The preset algorithm can be an algorithm for calculating and obtaining better service resource information, and the calculated better service resource information is the target service resource information. For example, the better service resource information can refer to: the lowest price, the highest evaluation, the highest sales volume, etc.

[0094] Taking the above product X as an example, the preset algorithm may be an algorithm for calculating and obtaining the lowest price, which can compare and obtain the lowest price among multiple prices. The preset algorithm may be used to calculate the multiple prices of the product X corresponding to the multiple virtual identifiers obtained above, and obtain the lowest price of the product X as the target price.

[0095] Figure 5 Another flow chart of the service data processing method provided in the embodiment of the present application is shown.

[0096] Alternatively, if Figure 5 As shown, the method also includes:

[0097] S501. Receive service information sent by a service provider device, where the service information includes: a service identifier and service resource information corresponding to the service identifier.

[0098] The service identifier may indicate the type of service provided by the service provider to the service requester, and corresponds to the service identifier requested by the service requester. As described in the above embodiments, in online car-hailing services, the service identifier may be the type of online car-hailing services that the service provider can provide, such as express, carpooling, ride-sharing, etc.; in other food delivery services or shopping services, the service identifier may be the food delivery items or specific commodities that the service provider can provide.

[0099] Similarly, corresponding to the service resource information described in the aforementioned embodiments, in online car-hailing services, the service resource information may be the prices or coupons corresponding to different types of taxis such as express, carpooling, and hitchhiking provided by the service provider; in travel services, the service resource information may be the prices of hotels or attraction tickets provided by the service provider; in food delivery services, the service resource information may be the prices of food, fruits and other food delivery products provided by the service provider, etc.

[0100] S502: Transmit service information to the blockchain device.

[0101] Optionally, the service identifier and service resource information corresponding to the service identifier may be uploaded to a blockchain device to realize blockchain sharing. The blockchain device may be one or more server nodes in the blockchain.

[0102] Optionally, the obtaining of corresponding service resource information according to the virtual identifier and the service identifier requested by the service requester includes: obtaining corresponding service resource information from a blockchain device according to the virtual identifier and the service identifier requested by the service requester.

[0103] As mentioned above, after uploading the service information to the blockchain, the service requester can obtain relevant service resource information from the blockchain when accessing the service platform. Since the service resource information in the blockchain is unique, it can avoid the service provider providing different service resource information for different service requesters.

[0104] For example, in online shopping services, for a certain product, the type information and corresponding price of the product can be uploaded to the blockchain device. When different users need to inquire about the price of the product, they can obtain a unique product price from the blockchain. Merchants cannot arbitrarily change product prices for different users, thus avoiding the occurrence of big data price discrimination and improving user experience.

[0105] Optionally, in some implementations of the present application, the service requester's identifier may be processed by the processing method described in the aforementioned embodiment, and the service platform may be accessed according to the virtual identifier obtained by the processing, and then the unique service resource information may be obtained from the blockchain according to the virtual identifier, thereby achieving double-layer protection and avoiding the occurrence of big data killing phenomenon. In other implementations, it may also be possible to only process the service requester's identifier by the processing method described in the aforementioned embodiment, and access the service platform according to the virtual identifier obtained by the processing; or it may also be possible not to process the service requester's identifier, but directly obtain the unique service resource information from the blockchain according to the service requester's identifier. That is, in other implementations, the scheme of processing the service requester's identifier to obtain a virtual identifier and accessing the service platform through the virtual identifier described in the aforementioned embodiment can be implemented as two independent schemes with the above-mentioned scheme of obtaining unique service resource information from the blockchain, or it can be implemented as one scheme, and this application does not limit this.

[0106] Optionally, the acquiring corresponding service resource information according to the virtual identifier and the service identifier requested by the service requester includes: acquiring corresponding service resource information and additional resource information according to the virtual identifier and the service identifier requested by the service requester.

[0107] Taking online shopping services as an example, the service identifier requested by the service requester may be an online shopping product, the service resource information may be the price of the online shopping product, and the additional resource information may be the handling fee associated with the online shopping product. For example, if a user needs to purchase the product on an online shopping service platform, then upon completing the transaction, the user needs to pay the corresponding handling fee to the online shopping service platform, and the handling fee is the additional resource information.

[0108] By setting the additional resource information (such as handling fee) as described above, the reliance on "big data killing old customers" as a profit source can be reduced. For example, the possibility of increasing the price of goods as a profit in online shopping services can be reduced, thereby improving the user's shopping experience. Like in the prior art, the goods purchased by users through the intermediary platform, such as the group purchase coupon A yuan purchased from a certain platform, include the intermediary service fee obtained by the platform and the actual price of the goods from the service provider, but the user cannot know the specific amount or proportion of the intermediary service fee of the platform. Then, through this embodiment, the actual price of the goods (service resource information) of the service provider and the intermediary service fee (additional resource information) collected by the platform can be pushed to the user, so that the user can get more transparent service information in the process of enjoying the service, and avoid the platform from operating in secret and charging unreasonable intermediary service fees.

[0109] Optionally, if both the service resource information and the additional resource information are uploaded to the blockchain device in the manner described in the aforementioned embodiment, the additional resource information can be embodied in the form of a token, or only data related to the additional resource information can be used in the blockchain and connected to the corresponding payment system.

[0110] The embodiment of the present application also provides a service data processing device, which is applied to the above-mentioned service platform. The service data processing device can be integrated into devices such as terminals or servers, which is not limited in the present application.

[0111] Figure 6 A schematic diagram of the structure of a service data processing device provided in an embodiment of the present application is shown.

[0112] like Figure 6 As shown, the service data processing device includes:

[0113] The first receiving module 601 is used to receive a service request message sent by a client, where the service request message includes: an identifier of a service requester and a service identifier requested by the service requester; a processing module 602 is used to process the identifier of a service requester according to preset rules to obtain a virtual identifier; an acquisition module 603 is used to obtain corresponding service resource information based on the virtual identifier and the service identifier requested by the service requester.

[0114] Optionally, the processing module 602 is specifically configured to perform hashing or signature encryption on the identification of the service requester together with preset data to obtain a virtual identification.

[0115] Optionally, the above-mentioned processing module 602 is specifically used to hash the identifiers of multiple service requesters to obtain corresponding multiple virtual identifiers, wherein the multiple service requesters are service requesters that initiate service requests in the same time period; randomly sort the multiple virtual identifiers to determine the virtual identifier corresponding to each service requester.

[0116] Optionally, the processing module 602 is specifically configured to randomly generate a plurality of virtual identifiers according to an identifier of the service requester and a preset random algorithm.

[0117] Optionally, the acquisition module 603 is specifically used to acquire service resource information corresponding to each virtual identifier according to multiple virtual identifiers and the service identifier requested by the service requester; and to calculate and acquire target service resource information according to the service resource information corresponding to each virtual identifier and a preset algorithm.

[0118] Figure 7 Another structural schematic diagram of the service data processing device provided in an embodiment of the present application is shown.

[0119] Optionally, the service data processing device further includes:

[0120] The second receiving module 701 is used to receive service information sent by the service provider device, where the service information includes: a service identifier and service resource information corresponding to the service identifier; the transmission module 702 is used to transmit the service information to the blockchain device.

[0121] Optionally, the acquisition module 603 is specifically used to obtain corresponding service resource information from the blockchain device according to the virtual identifier and the service identifier requested by the service requester.

[0122] Optionally, the acquisition module 603 is specifically configured to acquire corresponding service resource information and additional resource information according to the virtual identifier and the service identifier requested by the service requester.

[0123] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the service data processing device described above can refer to the corresponding process of the service data processing method in the aforementioned method embodiment, and will not be repeated in this application.

[0124] In the several embodiments provided in the present application, it should be understood that the disclosed service platform, device and method can also be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0125] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0126] In addition, each functional module in each embodiment of the present application may be integrated into one processing unit, or each functional module may exist physically separately, or two or more functional modules may be integrated together.

[0127] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown.

[0128] like Figure 8 As shown, the electronic device includes: a processor 801, a storage medium 802 and a bus (not shown in the figure), the storage medium 802 stores machine-readable instructions executable by the processor 801, when the electronic device is running, the processor 801 and the storage medium 802 communicate through the bus, and the processor 801 executes the machine-readable instructions to perform the steps of the service data processing method described in the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.

[0129] Optionally, the electronic device may be a general-purpose computer or a special-purpose computer, both of which may be used to implement the service data processing method of the present application.

[0130] For ease of explanation, this application describes only one processor in an electronic device. However, it should be noted that the electronic device in this application may also include multiple processors, so the steps performed by one processor described in this application may also be performed jointly or individually by multiple processors. For example, if the processor of an electronic device performs steps A and B, it should be understood that steps A and B may also be performed jointly by two different processors or individually in one processor. For example, the first processor performs step A, the second processor performs step B, or the first processor and the second processor perform steps A and B together.

[0131] The embodiment of the present application also provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the service data processing method described in the aforementioned method embodiment are executed. The specific implementation method and technical effect are similar and will not be repeated here.

[0132] As described above, if the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium may include: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

[0133] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A service data processing method, It is characterized in that The method is applied to a service platform, and the method comprises: Receive a service request message sent by a client, the service request message including: an identifier of a service requester and an identifier of a service requested by the service requester; Processing the identity of the service requester according to a preset rule to obtain a virtual identity; Acquire corresponding service resource information according to the virtual identifier and the service identifier requested by the service requester; The processing of the service requester's identifier according to a preset rule to obtain a virtual identifier includes: The identifier of the service requester is hashed or signed and encrypted together with preset data to obtain the virtual identifier, wherein the preset data is a pre-set field or data, or the preset data is a field or data randomly generated when the identifier of the service requester is processed; When there are multiple service requesters initiating service requests in the same time period, multiple virtual identifiers generated according to the identifiers of the multiple service requesters are randomly allocated to the multiple service requesters.

2. The method according to claim 1, It is characterized in that The step of processing the identifier of the service requester according to a preset rule to obtain a virtual identifier includes: Hash the identifiers of the multiple service requesters to obtain corresponding multiple virtual identifiers, wherein the multiple service requesters are service requesters that initiate service requests in the same time period; The multiple virtual identifiers are randomly sorted to determine the virtual identifier corresponding to each of the service requesters.

3. The method according to claim 1, It is characterized in that The step of processing the identifier of the service requester according to a preset rule to obtain a virtual identifier includes: A plurality of virtual identifiers are randomly generated according to the identifier of the service requester and a preset random algorithm.

4. The method according to claim 2 or 3, It is characterized in that The acquiring corresponding service resource information according to the virtual identifier and the service identifier requested by the service requester includes: According to the plurality of virtual identifiers and the service identifier requested by the service requester, obtaining service resource information corresponding to each of the virtual identifiers; The target service resource information is calculated and acquired according to the service resource information corresponding to each of the virtual identifiers and a preset algorithm.

5. The method according to claim 1, It is characterized in that The method further comprises: Receive service information sent by a service provider device, the service information including: a service identifier and service resource information corresponding to the service identifier; The service information is transmitted to the blockchain device.

6. The method according to claim 5, It is characterized in that The acquiring corresponding service resource information according to the virtual identifier and the service identifier requested by the service requester includes: According to the virtual identifier and the service identifier requested by the service requester, corresponding service resource information is obtained from the blockchain device.

7. The method according to claim 1, It is characterized in that The acquiring corresponding service resource information according to the virtual identifier and the service identifier requested by the service requester includes: According to the virtual identifier and the service identifier requested by the service requester, corresponding service resource information and additional resource information are acquired.

8. A service data processing device, It is characterized in that The device is applied to a service platform, and comprises: A first receiving module is used to receive a service request message sent by a client, wherein the service request message includes: an identifier of a service requester and an identifier of a service requested by the service requester; A processing module, used to process the identifier of the service requester according to a preset rule to obtain a virtual identifier; An acquisition module, configured to acquire corresponding service resource information according to the virtual identifier and the service identifier requested by the service requester; The processing module is specifically used to perform hashing or signature encryption on the identifier of the service requester together with preset data to obtain the virtual identifier, wherein the preset data is a pre-set field or data, or the preset data is a field or data randomly generated when processing the identifier of the service requester; When there are multiple service requesters initiating service requests in the same time period, multiple virtual identifiers generated according to the identifiers of the multiple service requesters are randomly allocated to the multiple service requesters.

9. The device according to claim 8, It is characterized in that The processing module is specifically used to hash the identifiers of multiple service requesters to obtain corresponding multiple virtual identifiers, wherein the multiple service requesters are service requesters that initiate service requests in the same time period; randomly sort the multiple virtual identifiers to determine the virtual identifier corresponding to each service requester.

10. The device according to claim 8, It is characterized in that The processing module is specifically used to randomly generate multiple virtual identifiers according to the identifier of the service requester and a preset random algorithm.

11. The device according to claim 9 or 10, It is characterized in that The acquisition module is specifically used to acquire the service resource information corresponding to each virtual identifier according to the multiple virtual identifiers and the service identifier requested by the service requester; and to calculate and acquire the target service resource information according to the service resource information corresponding to each virtual identifier and a preset algorithm.

12. The device according to claim 8, It is characterized in that The device also includes: A second receiving module, configured to receive service information sent by a service provider device, wherein the service information includes: a service identifier and service resource information corresponding to the service identifier; The transmission module is used to transmit the service information to the blockchain device.

13. The device according to claim 12, It is characterized in that The acquisition module is specifically used to obtain corresponding service resource information from the blockchain device according to the virtual identifier and the service identifier requested by the service requester.

14. The device according to claim 8, It is characterized in that The acquisition module is specifically used to acquire corresponding service resource information and additional resource information according to the virtual identifier and the service identifier requested by the service requester.

15. An electronic device, It is characterized in that include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the steps of the service data processing method as described in any one of claims 1-7.

16. A storage medium, It is characterized in that The storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the service data processing method according to any one of claims 1 to 7 are executed.

Citation Information

Patent Citations

  • Data service management method, apparatus and system

    CN101360345A

  • Method, device and system for processing virtual resources

    CN104901806A

  • Method, device and system for providing public information service based on instant information

    CN106161187A

  • Multi-block chain sectional processing method and device

    CN106899680A

  • Information processing method and processing program device

    CN106993215A