Information processing method and device, electronic equipment, storage medium and program product

By setting up multiple service platforms and databases in the big data storage system and determining the storage database based on the location and distance of the object, the problem of low information management efficiency caused by the dispersion of big data storage is solved, and efficient information management and query are achieved.

CN119690942APending Publication Date: 2025-03-25MASHANG CONSUMER FINANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411720140.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The storage of big data is scattered in databases in different locations, resulting in low information management efficiency and low search efficiency, which affects the service response speed.

Method used

By setting up multiple service platforms, each service platform corresponds to multiple databases, and the database corresponding to the object is determined based on the location of the object and the distance between the service platforms, and the object information is stored in the database.

Benefits of technology

It realizes information storage based on the location and distance of the object, avoids random and dispersed storage, improves information management and query efficiency, reduces search range, and thus improves service response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119690942A_ABST
    Figure CN119690942A_ABST
Patent Text Reader

Abstract

The invention provides an information processing method and device, electronic equipment, a storage medium and a program product, and the method comprises the steps: determining a first distance between a first position of an object and the position of a first service platform, and enabling the object to be located in a service area of the first service platform; determining a first database corresponding to the object from a plurality of databases of the first service platform according to the first distance; and storing the information of the object into the first database, so that the first database for storing the object information can be determined based on the position, and the storage efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to an information processing method, device, electronic device, storage medium and program product. Background Art

[0002] Big data represents a large, complex and diverse data set, which also brings more challenges to the analysis and processing of big data. For example, data may be stored in databases located in different locations, and the storage is relatively scattered, which reduces the efficiency of information management. Summary of the invention

[0003] The present disclosure provides an information processing method, device, electronic device, storage medium and program product.

[0004] In a first aspect, the present disclosure provides an information processing method, the information processing method comprising:

[0005] Determining a first distance between a first location of an object and a location of a first service platform, the object being located in a service area of ​​the first service platform;

[0006] Determining, according to the first distance, a first database corresponding to the object from a plurality of databases of the first service platform;

[0007] The information of the object is stored in the first database.

[0008] In a second aspect, the present disclosure provides an information processing device, the information processing device comprising:

[0009] A first determining module, configured to determine a first distance between a first position of an object and a position of a first service platform, wherein the object is located in a service area of ​​the first service platform;

[0010] A second determining module, configured to determine, according to the first distance, a first database corresponding to the object from a plurality of databases of the first service platform;

[0011] A storage module is used to store the information of the object in the first database.

[0012] In a third aspect, the present disclosure provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores one or more computer programs executable by the at least one processor, and one or more of the computer programs are executed by the at least one processor so that the at least one processor can perform the above-mentioned information processing method.

[0013] In a fourth aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the above-mentioned information processing method when executed by a processor.

[0014] In a fifth aspect, the present disclosure provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying a computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above-mentioned information processing method.

[0015] The information processing method provided in the embodiment of the present disclosure can determine the first database corresponding to the object from multiple databases of the first service platform according to the first distance between the first position of the object and the position of the first service platform, and store the information of the object in the first database. In this way, the information can be stored according to the first position of the object and the position of the first service platform, rather than randomly dispersed storage, thereby improving the efficiency of information management.

[0016] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. The above and other features and advantages will become more apparent to those skilled in the art by describing detailed example embodiments with reference to the accompanying drawings, in which:

[0018] Figure 1 An application scenario diagram of the information processing method and device provided by the embodiments of the present disclosure;

[0019] Figure 2 A flowchart of an information processing method provided by an embodiment of the present disclosure;

[0020] Figure 3 The system logic architecture of the information processing method in the embodiment of the present disclosure;

[0021] Figure 4 It is the logical architecture of the first service platform in the embodiment of the present disclosure;

[0022] Figure 5 This is a schematic diagram of the database system architecture in an embodiment of the present disclosure;

[0023] Figure 6 A block diagram of an information processing device provided by an embodiment of the present disclosure;

[0024] Figure 7 A block diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0026] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.

[0027] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0028] The terms used herein are only used to describe specific embodiments and are not intended to limit the present disclosure. As used herein, the singular forms "a" and "the" are also intended to include plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "including" and / or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements and / or components is specified, but the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof is not excluded. "Connected" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect.

[0029] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined as such herein.

[0030] In the technical solution disclosed in this disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals. The use of user data in this technical solution complies with relevant national laws and regulations (for example, the "Information Security Technology Personal Information Security Specification", etc.). For example: corresponding prescribed measures are taken for personal information access control; prescribed restrictions are imposed on the display of personal information; the purpose of using personal information does not exceed the scope of direct or reasonable association; when using personal information, clear identity orientation is eliminated to avoid precise positioning of specific individuals.

[0031] At present, with the rapid growth of information data, big data analysis has been applied to a variety of business scenarios. Big data represents a large, complex and diverse data set, which also brings more challenges to the analysis and processing of big data. For example, information may be stored in databases located in different locations, and the storage is relatively scattered. In actual usage scenarios, due to the scattered storage, when searching, the search service will search all databases, which will also lead to low information search efficiency and affect the service response speed.

[0032] Therefore, an information processing method is provided in an embodiment of the present disclosure. By setting up multiple service platforms corresponding to different location service areas, and each service platform corresponding to multiple databases, a first database can be determined from multiple databases of the first service platform according to a first distance between the object and the first service platform, and the information of the object can be stored in the first database. In this way, the database where the information is stored can be determined according to the location and distance, and the information of the object can be stored in the corresponding first database instead of randomly storing it, thereby improving the efficiency of information management. When information needs to be queried, the corresponding first database can be found and searched according to the location and distance without searching all databases, which helps to quickly find objects, improve search efficiency, and thus improve service response speed.

[0033] Figure 1 The application scenario diagram of the information processing method and device provided by the embodiments of the present disclosure is schematically shown.

[0034] like Figure 1 As shown, the application scenario of the embodiment of the present disclosure may include a terminal device 101, a network 103 and a server 102. The network 103 is used to provide a medium for a communication link between the terminal device 101 and the server 102. The network 103 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0035] The user can use the terminal device 101 to interact with the server 102 through the network 103 to receive or send messages, etc. Various communication client applications can be installed on the terminal device 101, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0036] The terminal device 101 may be any electronic device having a display screen and supporting web browsing, including but not limited to a smart phone, a tablet computer, a laptop computer, a desktop computer, and the like.

[0037] The server 102 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the terminal device 101. The background management server may analyze and process received data such as user requests, and feed back processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0038] It should be noted that the information processing method and apparatus provided in the embodiments of the present disclosure may be executed by the server 102. Accordingly, the information processing method and apparatus provided in the embodiments of the present disclosure may be arranged in the server 102. The information processing method and apparatus provided in the embodiments of the present disclosure may also be executed by a server or server cluster that is different from the server 102 and that can communicate with the terminal device 101 and / or the server 102. Accordingly, the information processing method and apparatus provided in the embodiments of the present disclosure may also be arranged in a server or server cluster that is different from the server 102 and that can communicate with the terminal device 101 and / or the server 102.

[0039] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.

[0040] Figure 2 A flowchart of an information processing method provided by an embodiment of the present disclosure. Figure 2 , the method comprising:

[0041] S201: Determine a first distance between a first position of an object and a position of a first service platform, where the object is located in a service area of ​​the first service platform.

[0042] In the disclosed embodiments, it can be applied to information storage scenarios of various types of objects. For example, the objects are users, attractions, merchants, etc. The first service platform is used to provide background services for the objects. The objects in the first position are located in the service area of ​​the first service platform. The first service platform corresponds to multiple databases.

[0043] Furthermore, in the embodiments of the present disclosure, multiple service platforms located in different locations may be included, and each service platform may provide background services to objects within a certain service area. For example, in the embodiments of the present disclosure, the service platform may provide services such as distance calculation and logical decision-making to determine which database to store data, and each service platform may correspond to multiple databases, and each database may also be arranged in a different location. It can be understood that multiple databases of a service platform are distributed in different locations within the service area of ​​the service platform.

[0044] For example, in an embodiment of the present disclosure, there are multiple service platforms. After obtaining the first position of an object, a general service platform can be used to determine the distance between the first position and multiple service platforms, and judge the first service platform closest to the first position, so that the first service platform can provide background services to the object.

[0045] The first distance between the first position of the object and the position of the first service platform may be determined by calculating the Euclidean distance between the first position and the position of the first service platform, which is not limited in the specific embodiments of the present disclosure.

[0046] Taking the user as an example, the trigger conditions of the information processing method can also be set in the embodiments of the present disclosure. In one possible embodiment, the trigger conditions may include receiving a user service request, or reaching a preset processing cycle, etc. For example, the user opens an application through the client, enters relevant information to register, and sends a user registration request to the background. At this time, the background service is triggered, and then the user can be assigned to the first service platform closest to the first location for processing based on the user's first location.

[0047] S202: Determine, according to the first distance, a first database corresponding to the object from a plurality of databases of a first service platform.

[0048] In the disclosed embodiment, the first distance between the first position of the object and the position of the first service platform can represent the proximity of the object to the first service platform. The multiple databases of the first service platform can be divided according to the distance to classify and store the information of the object, thereby improving the storage management performance and the subsequent query efficiency.

[0049] S203: Store the information of the object in the first database.

[0050] The information of the object may include identity information, behavior information, etc. of the object, which is not limited in the present disclosure.

[0051] In the disclosed embodiment, the information of the object is stored in the first database according to the first distance between the first location of the object and the location of the first service platform. The information can be quickly classified and stored according to the geographical location of the object, thereby improving the efficiency of information storage and information management. Furthermore, since the information storage management is more effective, the speed and efficiency of information query can also be improved.

[0052] With respect to the above step S202, the present disclosure further provides several possible embodiments:

[0053] In a possible embodiment, based on the first distance, a first database corresponding to the object is determined from multiple databases of a first service platform, including: comparing the first distance with multiple preset distance intervals to determine the first distance interval to which the first distance belongs; and based on a mapping relationship between the first distance interval and the database, determining the first database corresponding to the first distance interval from multiple databases of the first service platform.

[0054] In the disclosed embodiment, a distance interval representing the distance between the service platform and the object can be set for each service platform's database. For example, the first service platform has three databases, and the three databases correspond to different distance intervals, respectively. Each database is used to store information about the first distance between the object and the first service platform in different distance intervals. In this way, the first distance interval to which the first distance belongs can be determined by comparison, and the object information can be stored in the first database corresponding to the first distance interval.

[0055] In this way, in the embodiment of the present disclosure, the database can be further divided according to the distance interval. By comparing the first distance between the object and the first service platform and matching the first distance with multiple distance intervals, it can be determined in which database of the first service platform the information of the object is stored. The information of the object can be classified and stored according to the distance interval, thereby further improving the query efficiency and service performance.

[0056] In another possible embodiment, in the embodiment of the present disclosure, multiple objects located on the same first service platform may be grouped and stored, where the objects include a first object and a second object, and a first database corresponding to the object is determined from multiple databases of the first service platform according to the first distance, including:

[0057] 1) Determine a distance between the first object and the second object as a second distance.

[0058] For example, the distance between object A and the first service platform is a first distance M, the distance between object B and the first service platform is a first distance N, and the second distance between object A and object B can be calculated based on the first distance M and the first distance N.

[0059] In this way, since the position of the first service platform is relatively fixed and more stable, the reliability and accuracy can be improved by taking the first service platform as an intermediary point and indirectly determining the second distance between multiple objects through the first distance between multiple objects and the first service platform. Compared with directly calculating the second distance between multiple objects, the complexity and error caused by the position movement of multiple objects can also be reduced.

[0060] Of course, in the embodiment of the present disclosure, the second distance between the multiple objects may also be determined directly according to the positions corresponding to the multiple objects, which is not limited in the embodiment of the present disclosure.

[0061] 2) Compare the second distance with a plurality of preset distance intervals to determine the second distance interval to which the second distance belongs.

[0062] 3) According to the mapping relationship between the second distance interval and the database, determine the first database corresponding to the second distance interval from the multiple databases of the first service platform.

[0063] For example, the distance interval representing the distance between objects in each database can be pre-set. If the second distance between object A and object B is in the second distance interval, the information of object A and object B can be stored in the first database corresponding to the second distance interval. In addition, the distance interval can be used as an index directory of the database and stored for quick query based on the distance interval.

[0064] In this way, in the embodiment of the present disclosure, information of objects that are closer can be stored in the same database, and then the corresponding database can be quickly located according to the position and distance interval of the object, and queries and retrieval can be performed from the located database to improve efficiency and speed. Moreover, since there is a greater possibility of interaction needs between objects that are closer, grouping and storing them according to the distance intervals between the objects can also help to more quickly find other objects and information that the object is interested in.

[0065] Furthermore, in the embodiments of the present disclosure, for objects stored in a corresponding database, when the location of the object changes, the stored database can be dynamically adjusted. Specifically, the present disclosure further provides possible embodiments, including:

[0066] 1) In response to a change in the first position, determining a third distance between the changed first position and a position of a second service platform according to the changed first position, wherein the object after the change in the first position is located in a service area of ​​the second service platform.

[0067] For example, the object stored in the first database corresponds to the first location. When the first object enters the user name and password of an application through the client, it requests to query the object information, and then the background server obtains the current location of the object. If it is determined that the current location is different from the first location, the second service platform closest to the current location can be determined, and the second service platform can recalculate the third distance between the object and the second service platform.

[0068] 2) According to the third distance, determine the second database corresponding to the object from multiple databases of the second service platform.

[0069] Specifically, in the embodiment of the present disclosure, the distance interval to which the third distance belongs may be determined, and according to the mapping relationship between the distance interval and the database, the second database may be determined from the multiple databases of the second service platform.

[0070] 3) Migrate and store the object information from the first database to the second database.

[0071] For example, the service area of ​​the first service platform is area A, and multiple databases of the first service platform are responsible for storing information of objects at different locations in area A. The service area of ​​the second service platform is area B. The object at the first location is located in area A. If the object at the first location is changed to be located in area B, the object information is migrated and stored in the database of the second service platform. In addition, if the object at the first location is still located in area A after the change, the distance interval to which the first distance between the object and the first service platform belongs can be judged at this time. If the distance interval has changed, the object information can be migrated and stored in the database of the first service platform corresponding to the distance interval after the change.

[0072] In the disclosed embodiment, after the second database is determined, the newly generated information corresponding to the object can be stored in the second database, and the information previously stored in the first database can also be migrated to the second database. In addition, the changed first position can be updated in the second database.

[0073] In this way, in the embodiment of the present disclosure, when the first position changes, the third distance between the object and the second service platform can be recalculated, and based on the third distance, the second database can be determined from multiple databases of the second service platform, and then the database where the object's information is stored can be updated, thereby ensuring the consistency and accuracy of the object's information storage and the latest position, so that when querying, it can be possible to quickly query and retrieve according to the latest position, thereby improving efficiency and response speed.

[0074] Furthermore, in the embodiments of the present disclosure, unnecessary data in the database can also be deleted regularly to improve information management efficiency and reduce memory usage. Specifically, the present disclosure provides a possible implementation method for deleting information in the database that does not meet the storage period requirements in response to a triggering deletion opportunity.

[0075] The deletion triggering timing may be, for example, reaching a preset judgment period, or starting a cleanup thread, where the cleanup thread is used to trigger and execute expired data.

[0076] In the disclosed embodiment, a time to live (TTL) index can be set for the information of each object, and a corresponding expiration period can be set, wherein the expiration period can be set and adjusted as required, and the field type of the TTL index is usually a date type, indicating a time point, and then the cleaning thread can be started periodically to determine whether the TTL index is expired, thereby deleting information that does not meet the storage period requirements, i.e., expired information, which is simple to implement and more accurate. Through the TTL index, the life cycle of the object's information can be effectively and automatically managed, the workload of manual intervention in deleting expired information data can be reduced, management efficiency can be improved, and information such as the life cycle and information processing of the object's information can be monitored in real time and recorded through logs, which is helpful for information processing performance.

[0077] In this way, in the embodiments of the present disclosure, the information stored in the database can be dynamically maintained, and expired information can be deleted, which can improve information management performance and release more storage space.

[0078] In addition, based on the above embodiments, information can be stored in different databases according to location and distance. In the embodiments of the present disclosure, several possible usage scenario embodiments are also provided, specifically:

[0079] 1) In a possible embodiment, in response to an information recommendation request of an object, the current location of the object is obtained, wherein the information recommendation request includes at least an information category; based on the current location, an information database for storing the information category is determined, and recommended information corresponding to the object is determined from the information database.

[0080] In the embodiments of the present disclosure, information of different information categories can be stored separately based on the above-mentioned information processing method, for example, store information, scenic spot information, etc., taking the object as a user and the information category as a scenic spot information category as an example, for tourism applications, scenic spot information located in different locations can be stored in different databases, that is, scenic spot information located in the same area can be stored in the same database, and then when an object located in a certain area requests scenic spot recommendations, according to the current location of the object, it is only necessary to search in the database for storing scenic spot information corresponding to the area to determine the object's scenic spot recommendation information, without searching in databases in other areas, thereby reducing the search scope, enabling quick response, and reducing time consumption.

[0081] In addition, when determining the recommended information corresponding to the object from the information database corresponding to the current location, it is also possible to determine recommended information that better meets the needs of the object from the information database based on the object's attribute characteristics, behavioral characteristics, etc., thereby further improving the accuracy of the recommendation. For example, if the user prefers cultural relics attractions, then museums and more humanities-oriented attractions information can be recommended.

[0082] In this way, since information of different information categories can be stored separately according to location and distance, the information of the information category requested by the object is also pre-stored in a database closer to the object, so the object's information recommendation request can be responded to more quickly, thereby improving efficiency.

[0083] Furthermore, in the embodiments of the present disclosure, the demand information of the object can also be predicted based on the behavioral characteristics of the object, and based on the current location of the object, the demand information of the object can be obtained from an information database corresponding to the current location for storing the demand information, and the obtained demand information can be pre-loaded into a cache, so that when the object is requested, it can be recommended to the object, which can further improve the response speed.

[0084] 2) In a possible embodiment, in response to a query request for the object, the current location of the object is obtained; when it is determined that the object is located in a service area of ​​the first service platform based on the current location, information on the object is queried from the first database.

[0085] For example, an object logs into an application and wants to query its own information in the application, triggering a query request, which can then directly locate the first database storing the object's information based on the object's current location, and query the object's information from the first database to return it to the object.

[0086] In this way, in the embodiment of the present disclosure, by pre-defining distance intervals and storing object information in partitions, the object information can be located more quickly based on the location without searching the entire database, thereby reducing the overall load and the search scope.

[0087] 3) In a possible embodiment, in response to an object recommendation request of an object, the current position of the object is obtained; based on the current position, a first database storing information of the object is determined, wherein the first database stores information of multiple objects whose distances between the objects are in a second distance interval; and a recommended object of the object is determined from the first database.

[0088] For example, for social applications, users are more likely to have interaction needs with users who are closer to them. Therefore, based on the current location of the object, nearby recommended objects can be recommended to the object from the first database. In this way, the accuracy of the recommended objects can be improved, and the recommended objects of interest to the object can be obtained more quickly, thereby improving efficiency.

[0089] The following uses a specific application scenario to illustrate the information processing method in the embodiment of the present disclosure. In the embodiment of the present disclosure, multiple service platforms can be set, and multiple service platforms can communicate with each other. Each service platform can be used to process information within a certain service area. Taking any one of the first service platforms and grouping and storing multiple objects according to the second distance between the multiple objects as an example, the information processing method in the embodiment of the present disclosure is illustrated.

[0090] See also Figure 3 As shown, it is the system logic architecture of the information processing method in the embodiment of the present disclosure. Figure 3 As shown, it includes a location acquisition unit and a first service platform. The first service platform may include a data collection service, a first distance calculation unit, a second distance calculation unit, and a storage unit, etc. Specifically:

[0091] 1) The position acquisition unit is used to acquire the first positions of multiple objects closest to the first service platform.

[0092] For example, the GPS location information of the object is obtained through the GPS positioning system.

[0093] 2) The service collection service is used to pre-process the first position of the acquired object and distribute it to the first service platform.

[0094] Among them, preprocessing includes cleaning and screening of the first position, cleaning means denoising, removing outliers and other processing on the first position to ensure the accuracy and reliability of the data, and screening means screening the first position to select the required data for subsequent processing.

[0095] 3) The first distance calculation unit is used to determine a first distance between the first location and the location of the first service platform.

[0096] In the embodiments of the present disclosure, there may be one or more first distance calculation units. The position of the first service platform indicates the actual position of the service platform in the geographic space, which is usually fixed. The first position indicates the current actual position of the object in the geographic space. The first position may change dynamically, thereby determining the first distance between the first position and the first service platform. The first distance may be used for other subsequent processing flows. In one possible embodiment, it may be used to determine the first distance interval to which the first distance belongs to measure the proximity between the object and the first service platform. In another possible embodiment, it may be used to determine the second distance between multiple objects to make grouping and storage decisions for the objects.

[0097] For a clearer description, the first distance calculation unit and the second distance calculation unit may be further subdivided. Figure 4 The figure shows the logical architecture of the first service platform in the embodiment of the present disclosure.

[0098] like Figure 4 As shown, the first distance calculation unit may also include a data collection module, a first calculation module and a data transmission module, wherein the data collection module is used to concentrate the first positions of all objects so that all first positions can be uniformly analyzed and processed, etc. The first calculation module provides calculation services to calculate the first distance between the first position and the position of the first service platform, and the data transmission module is used to transmit the calculated first distance to the second distance calculation unit.

[0099] 4) The second distance calculation unit is used for the second distance between the first object and the second object.

[0100] like Figure 4 As shown, the second distance calculation unit may also include a second calculation module and a comparison module, wherein the second calculation module is used to provide calculation services and calculate the second distance between the first object and the second object, and the comparison module is used to compare the second distance with the size of multiple preset distance intervals to make grouping and storage decisions on the information of the first object and the second object.

[0101] In addition, in the embodiments of the present disclosure, Figure 4 As shown, each first service platform also includes at least one remote communication module, and the determined information such as the first distance, the second distance, the distance interval to which the first distance or the second distance belongs, the mapping relationship between the distance interval and the database can also be sent to the overall database through the remote communication module for storage.

[0102] 5) The storage unit is used to store information such as the first distance and the second distance, so that a backup can be retained, and if the distance changes, the corresponding information in the storage unit can also be changed synchronously.

[0103] In this way, in the embodiments of the present disclosure, group storage can be performed according to location and distance, thereby improving information management efficiency, and improving information query efficiency, reducing load, and improving response time.

[0104] In the embodiment of the present disclosure, each first service platform may deploy one or more databases, and a database system architecture is also provided accordingly. Figure 5 FIG. 1 is a schematic diagram of a database system architecture in an embodiment of the present disclosure.

[0105] like Figure 5 As shown, in the embodiment of the present disclosure, the database system architecture includes a main database, multiple sub-databases and storage units, etc. For example, the sub-databases include a first database, a second database, etc. Different sub-databases correspond to different locations and can be deployed in the service area of ​​the first service platform. Different distance intervals are also set for the sub-databases belonging to the first service platform. In the embodiment of the present disclosure, the information of the object can be stored in the sub-databases with different distance intervals from the first service platform, or the information of multiple objects can be stored in the sub-databases with different distance intervals between the objects, and the distance interval directory and / or the object information directory can be stored in the main database. Each time the information of a new object is stored, a new object information directory can be created accordingly, and the query speed can be accelerated through the directory index.

[0106] The storage unit in the database system architecture can be used to store the result data calculated by multiple first service platforms, and then the result data can be stored, summarized and diverted, etc., to facilitate unified management and inspection of data in the database and improve accuracy and reliability.

[0107] It can be understood that the above-mentioned various method embodiments mentioned in the present disclosure can be combined with each other to form a combined embodiment without violating the principle logic. Due to space limitations, the present disclosure will not repeat them. It can be understood by those skilled in the art that in the above-mentioned method of the specific implementation method, the specific execution order of each step should be determined according to its function and possible internal logic.

[0108] In addition, the present disclosure also provides an information processing device, an electronic device, and a computer-readable storage medium, all of which can be used to implement any information processing method provided by the present disclosure. The corresponding technical solutions and descriptions are referred to the corresponding records in the method part and will not be repeated here.

[0109] Figure 6 A block diagram of an information processing device provided in an embodiment of the present disclosure.

[0110] Reference Figure 6 , an embodiment of the present disclosure provides an information processing device, the information processing device comprising:

[0111] A first determining module 61, configured to determine a first distance between a first position of an object and a position of a first service platform, the object being located in a service area of ​​the first service platform;

[0112] A second determining module 62, configured to determine, according to the first distance, a first database corresponding to the object from a plurality of databases of the first service platform;

[0113] The storage module 63 is used to store the information of the object in the first database.

[0114] In a possible embodiment, when determining the first database corresponding to the object from multiple databases of the first service platform according to the first distance, the second determining module 62 is used to:

[0115] Compare the first distance with a plurality of preset distance intervals to determine the first distance interval to which the first distance belongs;

[0116] According to the mapping relationship between the first distance interval and the database, a first database corresponding to the first distance interval is determined from multiple databases of the first service platform.

[0117] In a possible embodiment, the object includes a first object and a second object; when determining the first database corresponding to the object from multiple databases of the first service platform according to the first distance, the second determination module 62 is used to:

[0118] determining a distance between the first object and the second object as a second distance;

[0119] Compare the second distance with a plurality of preset distance intervals to determine the second distance interval to which the second distance belongs;

[0120] According to the mapping relationship between the second distance interval and the database, the first database corresponding to the second distance interval is determined from the multiple databases of the first service platform.

[0121] In a possible embodiment, the migration module is further included to:

[0122] In response to a change in the first position, determining a third distance between the changed first position and a position of a second service platform according to the changed first position, wherein the object after the change in the first position is located in a service area of ​​the second service platform;

[0123] According to the third distance, determining a second database corresponding to the object from a plurality of databases of the second service platform;

[0124] The information of the object is migrated from the first database and stored in the second database.

[0125] In a possible embodiment, the query module is further configured to:

[0126] In response to a query request for the object, obtaining a current location of the object;

[0127] When it is determined that the object is located in the service area of ​​the first service platform according to the current location, the information of the object is queried from the first database.

[0128] In a possible embodiment, the recommendation module is further included to:

[0129] In response to an object recommendation request of the object, obtaining a current location of the object;

[0130] Determine, according to the current position, the first database storing information of the object, wherein the first database stores information of a plurality of objects whose distances are within a second distance interval;

[0131] Determine a recommended object for the object from the first database.

[0132] Each module in the above information processing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0133] Figure 7 A block diagram of an electronic device provided in an embodiment of the present disclosure.

[0134] Reference Figure 7 An embodiment of the present disclosure provides an electronic device, which includes: at least one processor 701; at least one memory 702, and one or more I / O interfaces 703, connected between the processor 701 and the memory 702; wherein the memory 702 stores one or more computer programs that can be executed by the at least one processor 701, and the one or more computer programs are executed by the at least one processor 701 so that the at least one processor 701 can execute the above-mentioned information processing method.

[0135] Each module in the above electronic device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0136] The present disclosure also provides a computer-readable storage medium on which a computer program is stored, wherein the computer program implements the above-mentioned information processing method when executed by a processor. The computer-readable storage medium may be a volatile or non-volatile computer-readable storage medium.

[0137] The embodiments of the present disclosure also provide a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above-mentioned information processing method.

[0138] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable storage medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium).

[0139] As is known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable program instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), static random access memory (SRAM), flash memory or other memory technology, portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. In addition, it is known to those of ordinary skill in the art that communication media typically contain computer-readable program instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.

[0140] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0141] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0142] The computer program product described herein may be implemented in hardware, software, or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK), etc.

[0143] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0144] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0145] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0146] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0147] Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for limiting purposes. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly noted, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, those skilled in the art will appreciate that various changes in form and detail may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Claims

1. An information processing method, characterized in that: include: Determining a first distance between a first location of an object and a location of a first service platform, the object being located in a service area of ​​the first service platform; Determining, according to the first distance, a first database corresponding to the object from a plurality of databases of the first service platform; The information of the object is stored in the first database.

2. The information processing method according to claim 1, characterized in that: The determining, according to the first distance, a first database corresponding to the object from a plurality of databases of the first service platform includes: Compare the first distance with a plurality of preset distance intervals to determine the first distance interval to which the first distance belongs; According to the mapping relationship between the first distance interval and the database, a first database corresponding to the first distance interval is determined from multiple databases of the first service platform.

3. The information processing method according to claim 1, characterized in that: The objects include a first object and a second object; The determining, according to the first distance, a first database corresponding to the object from a plurality of databases of the first service platform includes: determining a distance between the first object and the second object as a second distance; Compare the second distance with a plurality of preset distance intervals to determine the second distance interval to which the second distance belongs; According to the mapping relationship between the second distance interval and the database, the first database corresponding to the second distance interval is determined from the multiple databases of the first service platform.

4. The information processing method according to claim 1, characterized in that: The method further comprises: In response to a change in the first position, determining a third distance between the changed first position and a position of a second service platform according to the changed first position, wherein the object after the change in the first position is located in a service area of ​​the second service platform; According to the third distance, determining a second database corresponding to the object from a plurality of databases of the second service platform; The information of the object is migrated from the first database and stored in the second database.

5. The information processing method according to any one of claims 1 to 4, characterized in that: The method further comprises: In response to a query request for the object, obtaining a current location of the object; When it is determined that the object is located in the service area of ​​the first service platform according to the current location, the information of the object is queried from the first database.

6. The information processing method according to claim 3, characterized in that: The method further comprises: In response to an object recommendation request of the object, obtaining a current location of the object; Determine, according to the current position, the first database storing information of the object, wherein the first database stores information of a plurality of objects whose distances are within a second distance interval; Determine a recommended object for the object from the first database.

7. An information processing device, characterized in that: include: A first determining module, configured to determine a first distance between a first position of an object and a position of a first service platform, wherein the object is located in a service area of ​​the first service platform; A second determining module, configured to determine, according to the first distance, a first database corresponding to the object from a plurality of databases of the first service platform; A storage module is used to store the information of the object in the first database.

8. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores one or more computer programs executable by the at least one processor, and the one or more computer programs are executed by the at least one processor so that the at least one processor can perform the information processing method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computer program implements the information processing method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The invention comprises a computer-readable code or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the information processing method as described in any one of claims 1 to 6.