CN113127129A - Data initialization method and device, computer equipment and readable storage medium - Google Patents

Data initialization method and device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN113127129A
CN113127129A CN202110498616.6A CN202110498616A CN113127129A CN 113127129 A CN113127129 A CN 113127129A CN 202110498616 A CN202110498616 A CN 202110498616A CN 113127129 A CN113127129 A CN 113127129A
Authority
CN
China
Prior art keywords
data
initialization
interaction area
internal
external
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110498616.6A
Other languages
Chinese (zh)
Other versions
CN113127129B (en
Inventor
金卫明
冯文
吴甲东
肖山钧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Koubei Shanghai Information Technology Co Ltd
Original Assignee
Koubei Shanghai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Koubei Shanghai Information Technology Co Ltd filed Critical Koubei Shanghai Information Technology Co Ltd
Priority to CN202110498616.6A priority Critical patent/CN113127129B/en
Publication of CN113127129A publication Critical patent/CN113127129A/en
Application granted granted Critical
Publication of CN113127129B publication Critical patent/CN113127129B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a data initialization method, a data initialization device, computer equipment and a readable storage medium, and relates to the technical field of internet. The method comprises the following steps: responding to a data initialization request of an internal interaction area, and acquiring the serial number of the to-be-processed brands; counting data to be initialized according to first mapping data indicated by the serial number of the to-be-processed brand at an application end and second mapping data indicated at a program end; based on the program end, executing initialization operation of data to be initialized to obtain an execution result of the initialization operation; and displaying the execution result in the internal interaction area, and pushing the execution result to an external server.

Description

Data initialization method and device, computer equipment and readable storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a data initialization method, apparatus, computer device, and readable storage medium.
Background
With the continuous development of internet technology, more and more companies sharing data across platforms are provided, and the same company also encounters the situation that a certain application needs to call terminal data of other applications, and the like, and a huge data information amount may cause some transmission problems in the synchronization process, so that the phenomena that the existing functions cannot be used, information display is lost, and the like when data is initialized into a new application are caused, and in order to solve the phenomena, technicians need to perform initialization operation of data again.
In the related technology, a front-end worker transfers a problem found in an application running process to a back-end worker, the back-end worker verifies the problem and submits the problem to a research and development worker, the research and development worker performs operations such as code positioning, code modification, code rewriting and the like according to the problem, and updated data is initialized again, so that the application can run normally.
In carrying out the present application, the applicant has found that the related art has at least the following problems:
at present, a large amount of data backflow, deployment and other work are involved in the data reinitialization process, multiple workers need to perform multiple interactions to achieve the data reinitialization, and long time is consumed for reinitializing the data, so that the data initialization speed is low and the efficiency is low.
Disclosure of Invention
In view of this, the present application provides a data initialization method, an apparatus, a computer device and a readable storage medium, and mainly aims to solve the problem that the current re-initialization of data takes a long time, resulting in slow speed and low efficiency of data initialization.
According to a first aspect of the present application, a data initialization method is provided, where the method is applied to an internal server, and includes:
responding to a data initialization request of an internal interaction area, and acquiring a number of a to-be-processed brand, wherein the data initialization request is generated after an external server acquires the number of the to-be-processed brand input to the external interaction area and forwards the number to the internal interaction area, the external interaction area is an area served by the external server, and the internal interaction area is an area served by the internal server;
counting data to be initialized according to first mapping data indicated by the serial number of the to-be-processed brand at an application end and second mapping data indicated by a program end, wherein the data to be initialized indicate the difference between the first mapping data and the second mapping data, and the application end and the program end correspond to different service platforms;
based on the program end, executing initialization operation of the data to be initialized to obtain an execution result of the initialization operation;
and displaying the execution result in the internal interaction area, pushing the execution result to the external server, and displaying the execution result in the external interaction area by the external server.
Optionally, the counting data to be initialized according to the first mapping data indicated by the serial number of the to-be-processed brand at the application end and the second mapping data indicated by the serial number at the program end includes:
determining a target store corresponding to the number of the to-be-processed brand;
acquiring content displayed at the front end of the target store in a first service platform corresponding to the application end as the first mapping data;
acquiring the content displayed at the front end of the target store in a second service platform corresponding to the program end as the second mapping data;
comparing the first mapping data with the second mapping data, and extracting the difference between the first mapping data and the second mapping data as the data to be initialized.
Optionally, the method further comprises:
reading the data to be initialized in response to an initialization evaluation request of the internal interaction area, wherein the initialization evaluation request is received by the external server in the external interaction area based on the number of the brand to be processed and forwarded to the internal interaction area;
counting the number of items included in the data to be initialized;
determining initialization unit time length, calculating the product of the item quantity and the initialization unit time length, and taking the product as estimated initialization time;
and displaying the estimated initialization time in the internal interaction area, pushing the estimated initialization time to the external server, displaying the estimated initialization time in the external interaction area by the external server, and simultaneously or respectively calling a first initiator, wherein the first initiator is a party initiating the initialization evaluation request in the external interaction area.
Optionally, the method further comprises:
responding to a success rate counting request of the internal interaction area, and acquiring a time interval to be counted carried by the success rate counting request;
inquiring all historical execution results pushed to the external server within the time interval to be counted, and counting the total number of first results of all the historical execution results;
counting a second result total number of history execution results indicating successful execution in all the history execution results, and taking the ratio of the second result total number to the first result total number as an execution success rate;
inquiring a second initiator initiating the success rate statistic request in the internal interaction area;
and displaying the execution success rate in the internal interaction area, and simultaneously or respectively calling the second initiator.
Optionally, the method further comprises:
responding to an initialization state query request of the internal interaction area, and acquiring a brand number to be queried carried by the initialization state query request;
determining at least one candidate initialization operation of the brand number to be queried, and determining a target initialization operation in the at least one candidate initialization operation, wherein the target initialization operation is the candidate initialization operation with the shortest time interval between a starting time point and a current time point in the at least one candidate initialization operation;
reading the execution state of the target initialization operation;
inquiring a third initiator initiating the initialization state inquiry request in the internal interaction area;
and displaying the execution state in the internal interaction area, and simultaneously or respectively calling the third initiator.
According to a second aspect of the present application, there is provided a data initialization method, which is applied to an external server and includes:
responding to a call in an external interaction area, and acquiring a number of a to-be-processed brand input to the external interaction area, wherein the external interaction area is an area served by an external server;
generating a data initialization request carrying the number of the brand to be processed, and forwarding the data initialization request to an internal interaction area, wherein the internal interaction area is an area served by an internal server;
receiving an execution result, displaying the execution result in the external interaction area, wherein the execution result is obtained and pushed by the internal server after the internal server counts data to be initialized according to first mapping data indicated by the number of the to-be-processed brand at an application end and second mapping data indicated by a program end and executes initialization operation of the data to be initialized based on the program end, the data to be initialized indicates the difference between the first mapping data and the second mapping data, and the application end and the program end correspond to different service platforms.
Optionally, the method further comprises:
querying a fourth originating party originating the call at the external interaction area;
and calling the fourth initiator at the same time or respectively when the execution result is displayed in the external interaction area.
Optionally, the method further comprises:
responding to the call in the external interaction area, and acquiring an initialization evaluation request received based on the number of the to-be-processed brands;
forwarding the initialization evaluation request to the internal interaction area, and statistically estimating initialization time by the internal server based on the data to be initialized;
receiving the estimated initialization time pushed by the internal server;
determining a first initiator initiating the initialization evaluation request at the external interaction region;
and displaying the estimated initialization time in the external interaction area, and simultaneously or respectively calling the first initiator.
According to a third aspect of the present application, there is provided a data initialization apparatus, which is applied to an internal server, including:
the acquisition module is used for responding to a data initialization request of an internal interaction area to acquire the number of the brand to be processed, wherein the data initialization request is generated after an external server acquires the number of the brand to be processed input to the external interaction area and is forwarded to the internal interaction area, the external interaction area is an area served by the external server, and the internal interaction area is an area served by the internal server;
the counting module is used for counting data to be initialized according to first mapping data indicated by the serial number of the to-be-processed brand at an application end and second mapping data indicated by a program end, wherein the data to be initialized indicates the difference between the first mapping data and the second mapping data, and the application end and the program end correspond to different service platforms;
the execution module is used for executing the initialization operation of the data to be initialized based on the program end to obtain the execution result of the initialization operation;
and the pushing module is used for displaying the execution result in the internal interaction area, pushing the execution result to the external server, and displaying the execution result in the external interaction area by the external server.
Optionally, the statistical module is configured to determine a target store corresponding to the serial number of the to-be-processed brand; acquiring content displayed at the front end of the target store in a first service platform corresponding to the application end as the first mapping data; acquiring the content displayed at the front end of the target store in a second service platform corresponding to the program end as the second mapping data; comparing the first mapping data with the second mapping data, and extracting the difference between the first mapping data and the second mapping data as the data to be initialized.
Optionally, the apparatus further comprises:
the first reading module is used for responding to an initialization evaluation request of the internal interaction area and reading the data to be initialized, wherein the initialization evaluation request is received by the external server in the external interaction area based on the number of the brand to be processed and forwarded to the internal interaction area;
the statistic module is further used for counting the number of items included in the data to be initialized;
the calculation module is used for determining the initialization unit time length, calculating the product of the item quantity and the initialization unit time length, and taking the product as estimated initialization time;
the pushing module is further configured to display the estimated initialization time in the internal interaction area, and push the estimated initialization time to the external server, where the external server displays the estimated initialization time in the external interaction area and simultaneously or respectively makes a call of a first initiator, where the first initiator is a party initiating the initialization evaluation request in the external interaction area.
Optionally, the apparatus further comprises:
the acquisition module is further configured to respond to the success rate statistics request of the internal interaction area, and acquire a time interval to be counted carried by the success rate statistics request;
the first query module is used for querying all historical execution results pushed to the external server within the time interval to be counted and counting the total number of first results of all the historical execution results;
the counting module is further configured to count a second result total number of the history execution results indicating successful execution among all the history execution results, and a ratio of the second result total number to the first result total number is used as an execution success rate;
the first query module is further configured to query a second initiator that initiates the success rate statistics request in the internal interaction area;
and the first display module is used for displaying the execution success rate in the internal interaction area and simultaneously or respectively calling the second initiator.
Optionally, the apparatus further comprises:
the acquisition module is further configured to respond to the initial state query request of the internal interaction area, and acquire a brand number to be queried, which is carried by the initial state query request;
a determining module, configured to determine at least one candidate initialization operation of the brand number to be queried, and determine a target initialization operation in the at least one candidate initialization operation, where the target initialization operation is a candidate initialization operation in which a time interval between a start time point and a current time point in the at least one candidate initialization operation is shortest;
the second reading module is used for reading the execution state of the target initialization operation;
the second query module is used for querying a third initiator initiating the initialization state query request in the internal interaction area;
and the second display module is used for displaying the execution state in the internal interaction area and simultaneously or respectively calling the third initiator.
According to a fourth aspect of the present application, there is provided a data initialization apparatus, which is applied to an external server, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for responding to a call in an external interaction area and acquiring the number of a brand to be processed which is input into the external interaction area, and the external interaction area is an area served by an external server;
the forwarding module is used for generating a data initialization request carrying the number of the brand to be processed and forwarding the data initialization request to an internal interaction area, wherein the internal interaction area is an area served by an internal server;
the display module is used for receiving an execution result, displaying the execution result in the external interaction area, wherein the execution result is obtained and pushed after the internal server counts data to be initialized according to first mapping data indicated by the number of the to-be-processed brand at an application end and second mapping data indicated by a program end and executes initialization operation of the data to be initialized based on the program end, the data to be initialized indicates the difference between the first mapping data and the second mapping data, and the application end and the program end correspond to different service platforms.
Optionally, the apparatus further comprises:
the inquiry module is used for inquiring a fourth initiator initiating the call in the external interaction area;
the display module is configured to perform the call of the fourth initiator while the execution result is displayed in the external interaction area or separately.
Optionally, the apparatus further comprises:
the acquisition module is used for responding to the call in the external interaction area and acquiring an initialization evaluation request received based on the serial number of the to-be-processed brand;
the forwarding module is configured to forward the initialization evaluation request to the internal interaction area, and the internal server estimates initialization time based on the to-be-initialized data statistics;
the receiving module is used for receiving the estimated initialization time pushed by the internal server;
a determining module, configured to determine a first initiator that initiates the initialization evaluation request in the external interaction area;
the display module is further configured to display the estimated initialization time in the external interaction area, and simultaneously or respectively perform a call of the first initiator.
According to a fifth aspect of the present application, there is provided a computer device comprising a memory storing a computer program and a processor implementing the steps of the method of any of the first aspects when the computer program is executed.
According to a sixth aspect of the present application, there is provided a readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of any of the above first aspects.
By the technical scheme, the data initialization method, the device, the computer equipment and the readable storage medium are provided, the external interactive area and the internal interactive area are set, the external interactive area is served by the external server, the internal interactive area is served by the internal server, after a merchant applies for initialization of data to a worker, the worker inputs a serial number of a to-be-processed signboard to be initialized into the external interactive area, the serial number of the to-be-processed signboard is forwarded to the internal interactive area by the external server in a data initialization request mode, so that the internal server can acquire the serial number of the to-be-processed signboard, the to-be-initialized data is automatically determined according to the serial number of the to-be-processed signboard, the internal server automatically executes initialization operation of the to-be-initialized data based on the program end, and returns the result of the initialization operation to the external server, the method and the system have the advantages that the external server side can conveniently inform workers in the external interaction area, automatic initialization of data of the application side and the program side is achieved, time consumed for data initialization is shortened by means of high-efficiency processing capacity of the server, and speed and efficiency of data initialization are improved.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1A is a schematic flowchart illustrating a data initialization method according to an embodiment of the present application;
fig. 1B is a schematic flowchart illustrating a data initialization method according to an embodiment of the present application;
fig. 2A is an interaction diagram illustrating a data initialization method provided by an embodiment of the present application;
fig. 2B shows an interaction diagram of a data initialization method provided in an embodiment of the present application;
fig. 3A is a schematic structural diagram illustrating a data initialization apparatus according to an embodiment of the present application;
fig. 3B is a schematic structural diagram illustrating a data initialization apparatus according to an embodiment of the present application;
fig. 3C is a schematic structural diagram illustrating a data initialization apparatus according to an embodiment of the present application;
fig. 3D is a schematic structural diagram illustrating a data initialization apparatus according to an embodiment of the present application;
fig. 4A is a schematic structural diagram illustrating a data initialization apparatus according to an embodiment of the present application;
fig. 4B is a schematic structural diagram illustrating a data initialization apparatus according to an embodiment of the present application;
fig. 4C is a schematic structural diagram illustrating a data initialization apparatus according to an embodiment of the present application;
fig. 5 shows a schematic device structure diagram of a computer apparatus according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
An embodiment of the present application provides a data initialization method, as shown in fig. 1A, where the method is applied to an internal server, and includes:
101. and responding to a data initialization request of the internal interaction area, acquiring the number of the brand to be processed, wherein the data initialization request is generated after the external server acquires the number of the brand to be processed input into the external interaction area and forwards the number to the internal interaction area, the external interaction area is an area served by the external server, and the internal interaction area is an area served by the internal server.
102. And counting data to be initialized according to first mapping data indicated by the serial number of the to-be-processed brand at the application end and second mapping data indicated by the program end, wherein the data to be initialized indicates the difference between the first mapping data and the second mapping data, and the application end and the program end correspond to different service platforms.
103. And executing the initialization operation of the data to be initialized based on the program end to obtain the execution result of the initialization operation.
104. And displaying the execution result in the internal interaction area, pushing the execution result to an external server, and displaying the execution result in the external interaction area by the external server.
The method provided by the embodiment of the application comprises the steps that an external interaction area and an internal interaction area are set, the external interaction area is served by an external server, the internal interaction area is served by an internal server, after a merchant applies for initialization of data to workers, the workers input the numbers of the goods to be processed to be initialized into the external interaction area, the numbers of the goods to be processed are forwarded to the internal interaction area by the external server in a data initialization request mode, so that the internal server can obtain the numbers of the goods to be processed, the data to be initialized are automatically determined according to the numbers of the goods to be processed, the internal server automatically executes initialization operation of the data to be initialized based on a program end, and the result of the initialization operation is returned to the external server, so that the external server notifies the workers in the external interaction area, and automatic initialization of data of an application end and the program end is realized, by utilizing the high-efficiency processing capacity of the server, the time consumption of data initialization is shortened, and the speed and the efficiency of data initialization are improved.
An embodiment of the present application provides a data initialization method, as shown in fig. 1B, where the method is applied to an external server, and includes:
105. and responding to the call in the external interaction area, and acquiring the number of the to-be-processed brands input into the external interaction area, wherein the external interaction area is an area served by an external server.
106. And generating a data initialization request carrying the number of the brand to be processed, and forwarding the data initialization request to an internal interaction area, wherein the internal interaction area is an area served by an internal server.
107. Receiving an execution result, displaying the execution result in an external interaction area, wherein the execution result is obtained and pushed by an internal server after an initialization operation of the data to be initialized is executed on the basis of a program end according to first mapping data indicated by the number of the brand to be processed at an application end and second mapping data indicated by the program end, the data to be initialized indicates the difference between the first mapping data and the second mapping data, and the application end and the program end correspond to different service platforms.
The method provided by the embodiment of the application comprises the steps that an external interaction area and an internal interaction area are set, the external interaction area is served by an external server, the internal interaction area is served by an internal server, after a merchant applies for initialization of data to workers, the workers input the numbers of the goods to be processed to be initialized into the external interaction area, the numbers of the goods to be processed are forwarded to the internal interaction area by the external server in a data initialization request mode, so that the internal server can obtain the numbers of the goods to be processed, the data to be initialized are automatically determined according to the numbers of the goods to be processed, the internal server automatically executes initialization operation of the data to be initialized based on a program end, and the result of the initialization operation is returned to the external server, so that the external server notifies the workers in the external interaction area, and automatic initialization of data of an application end and the program end is realized, by utilizing the high-efficiency processing capacity of the server, the time consumption of data initialization is shortened, and the speed and the efficiency of data initialization are improved.
An embodiment of the present application provides a data initialization method, as shown in fig. 2A, the method relates to interaction between an external server and an internal server, and specifically includes:
201. responding to the call in the external interaction area, the external server side obtains the number of the to-be-processed brands input to the external interaction area, generates a data initialization request carrying the number of the to-be-processed brands, and forwards the data initialization request to the internal interaction area.
In recent years, more and more APPs (applications) are provided in APP stores of terminals, such as shopping APPs, game APPs, social APPs, and the like, which are conventional applications, and which require a user to download and install the APP on the terminal for use, and which are inconvenient for the user, so that a applet has been recently developed. The applet is a program which can be used without downloading and installing, and can save the use time cost and the storage space of the terminal for a user, so that more and more merchants in the selling industry and the selling industry create not only online stores in the APP, but also applets related to the stores, and the user can conveniently choose and purchase in multiple modes.
In the process of practical application, the service platforms corresponding to the APP and the applet are different, the service platform corresponding to the APP is usually a management platform of a merchant, and the service platform corresponding to the applet is usually a user platform for providing daily function requirements for a user, so that when the merchant uses the applet, commodity data in a store stored in the service platform corresponding to the APP needs to be synchronized to the service platform corresponding to the applet, and then the commodity data can be applied to the applet of the merchant in the service platform corresponding to the applet. However, the applicant recognizes that the frequency of the applet is low relative to the APP, and that the commodity data of the APP is different from the commodity data of the applet due to long-term deposition of the merchant at the APP end, and an error occurs when data synchronization occurs, for example, there are 10 commodities at the APP end and only 2 applet ends, so that pictures of some commodities cannot be normally displayed when data synchronization occurs, and the merchant needs to notify a worker of a service platform of the applet to process and initialize the data of the applet again. The mode not only enables a merchant to question the functions of the small programs, but also can involve a large amount of workload of workers, and as the workers need to report the problems to technicians, the technicians locate the problems and hand the problems to research and development personnel to modify, rewrite, reinitialize data and the like, the problems are interactively processed in tandem, so that the time for processing one problem at least needs to be consumed for 1 day, the interactive workload is huge, the time is consumed for a long time, the data initialization speed is slow, and the efficiency is low.
Therefore, the application provides a data initialization method, an external interaction area and an internal interaction area are set, the external interaction area is served by an external server, the internal interaction area is served by an internal server, after a merchant applies for initialization of data to a worker, the worker inputs a number of a to-be-processed brand to be initialized into the external interaction area, the number of the to-be-processed brand is forwarded into the internal interaction area by the external server in a data initialization request mode, so that the internal server can obtain the number of the to-be-processed brand, the to-be-initialized data is automatically determined according to the number of the to-be-processed brand, the internal server automatically executes initialization operation of the to-be-initialized data based on a program end, and returns the result of the initialization operation to the external server so that the external server notifies the worker in the external interaction area, the automatic initialization of the data of the application end and the program end is realized, the high-efficiency processing capacity of the server is utilized, the time consumption of data initialization is shortened, and the speed and the efficiency of data initialization are improved.
In the process of practical application, the external interaction area can be a first-line chat group, a first-line docking group, a first-line interaction group and the like for docking external workers, and correspondingly, the external service end can be a first-line robot arranged in the group and used for responding to a call in the group, acquiring the number of the brand to be processed input into the group and forwarding a data initialization request. The internal interaction area can be an internal chat group, an internal docking group, an internal interaction group and the like for docking internal technicians or research and development personnel and the like, correspondingly, the internal server can be an internal robot arranged in the group and used for automatically processing a data initialization request in the group and responding to a call of the technicians or research and development personnel in the group to provide functions such as initialization time estimation, initialization state query and the like for the technicians or the research and development personnel, so that links involved in the whole data initialization can realize the automatic processing of the robot, and a large amount of manpower is saved.
Furthermore, in order to reduce the workload of the external server and the internal server, so that the external server and the internal server only perform the tasks of data statistics and initialization, and distribute the tasks of result notification, a first-line notification robot may be further disposed in the external interaction region, an internal notification robot may be disposed in the internal interaction region, and the first-line notification robot and the internal notification robot perform the tasks of request forwarding and result forwarding. The configuration of the external interaction region and the internal interaction region is not particularly limited.
Specifically, when the staff has a requirement for data initialization, the staff can call the external server in an external interaction area in a mode of an "@" external server, a mode of triggering the external server or a mode of chatting with the external server, and input the number of the product to be processed into the external interaction area at the same time of calling or after calling. The number of the to-be-processed brand is used for representing data in which store needs to be initialized, specifically, the number of the to-be-processed brand may be a brand number corresponding to the store of the merchant, a brand number corresponding to an account of the merchant, and the like, and for different scenes, the number of the to-be-processed brand may be different identifiers, which is not specifically limited in this application.
Therefore, in response to the call in the external interaction area, the external server acquires the number of the brand to be processed input to the external interaction area, generates a data initialization request carrying the number of the brand to be processed, and forwards the data initialization request to the internal interaction area, so that the internal server serving the internal interaction area can receive the data initialization request, and further automatically process the data initialization request.
202. Responding to a data initialization request of the internal interaction area, the internal server side obtains the number of the to-be-processed brand, and statistics is carried out on the to-be-initialized data according to first mapping data indicated by the number of the to-be-processed brand at an application side and second mapping data indicated by a program side.
In the embodiment of the application, after the external server forwards the data initialization request to the internal interaction area, in response to the data initialization request of the internal interaction area, the internal server obtains the number of the to-be-processed brand, and counts the to-be-initialized data according to the first mapping data indicated by the number of the to-be-processed brand at the application end and the second mapping data indicated by the number of the to-be-processed brand at the program end. The first mapping data is commodity data stored in a service platform corresponding to an application end by a store corresponding to the number of the commodity to be processed, the second mapping data is commodity data stored in a service platform corresponding to a program end by a store corresponding to the number of the commodity to be processed, the application end and the program end correspond to different service platforms, the application end is actually the APP end mentioned above, and the program end is actually the applet end mentioned above. Just because the difference exists between the commodity data stored in the service platform corresponding to the application end and the commodity data stored in the service platform corresponding to the program end, the store corresponding to the current number of the brand to be processed has the requirement for data initialization, so that the internal service end can compare the first mapping data with the second mapping data, determine the difference between the first mapping data and the second mapping data as the data to be initialized, and then perform initialization operation on the data to be initialized subsequently, thereby ensuring the consistency of the data between the application end and the program end, and specifically counting the data to be initialized as follows:
firstly, the internal service end determines a target store corresponding to the number of the brand to be processed, the content displayed at the front end of the target store is obtained in a first service platform corresponding to the application end and serves as first mapping data, and the content displayed at the front end of the target store is obtained in a second service platform corresponding to the program end and serves as second mapping data. The first service platform is a platform carried by or depended on by the application end when providing services for the user and the merchant, and the second service platform is a platform carried by or depended on by the program end when providing services for the user and the merchant. And then, the internal server compares the first mapping data with the second mapping data, and extracts the difference between the first mapping data and the second mapping data as data to be initialized. For example, assuming that the first mapping data includes the commodity A, B, C and the second mapping data includes the commodity C, the determined data to be initialized are the commodity a and the commodity B. It should be noted that, in the present application, the content descriptions of the first mapping data, the second mapping data, and the data to be initialized are all examples, and in the process of practical application, these data may further include data such as a commodity picture, a commodity introduction, a commodity sales volume, and a commodity evaluation, which is not specifically limited in this application.
203. The internal server is based on the program end and executes the initialization operation of the data to be initialized to obtain the execution result of the initialization operation.
In the embodiment of the application, after the data to be initialized is determined, because the data to be initialized is the data which is missing from the program side compared with the application side, the internal server side executes the initialization operation of the data to be initialized based on the program side, that is, the data to be initialized is added to a store corresponding to the number of the product to be processed in the application side, and the added data is initialized to take effect, so that the data consistency between the application side and the program side is realized. Specifically, the internal server may interact with a Data-transfer service in the second service platform, and perform an initialization operation of the Data to be initialized in the second service platform based on the Data-transfer service.
After the initialization operation of the data to be initialized is completed, the internal server side can obtain the execution result of the initialization operation, and then inform related personnel of the execution result in the following process. The execution result is divided into two cases, one case is that the initialization operation is successfully executed, the other case is that the initialization operation is failed to be executed, the internal server can directly display the execution result in the internal interaction area in the subsequent process or push the execution result to the external server, namely, whether the execution result is successful or failed is not considered; or when the execution result indication fails, re-executing the above processes of determining the data to be initialized and executing the initialization operation on the data to be initialized until the obtained execution result indication succeeds, and then displaying the execution result in the internal interaction area or pushing the execution result to the external server. The processing method based on the execution result is not particularly limited in the present application.
204. And the internal server displays the execution result in the internal interaction area and pushes the execution result to the external server.
In the embodiment of the application, after the internal server obtains the execution result, the execution result is displayed in the internal interaction area, and the execution result is pushed to the external server, so that the external server informs the relevant staff of the execution result.
When the internal server displays the execution result in the internal interaction area, the execution result can be marked by the number of the brand to be processed, so that technical personnel or research personnel can know which brand number the current execution result is directed at. Furthermore, the internal server can also display the data to be initialized at the same time, so that technicians or research and development personnel can know which data are initialized in the current initialization process. In addition, in order to record the current data initialization process, the internal server can arrange the execution result, the number of the article to be processed and the data to be initialized into an initialization record, and store the initialization record, so that the current initialization process can be traced when the staff have requirements later.
205. And the external server receives the execution result and displays the execution result in the external interaction area.
In the embodiment of the application, after the external server receives the execution result, the execution result is displayed in the external interaction area. When the execution result is specifically displayed, the external server may also directly display the execution result in the same manner as the internal server, or mark the execution result by using the number of the tablet to be processed, or simultaneously display the data to be initialized, and the like, which is not specifically limited in the present application.
Further, considering that the execution result of this time is actually closely related to a worker calling the external server, and the worker is concerned about the execution result, in order to enable the worker to know the execution result in the first time, the external server may further query a fourth initiator initiating a call request in the external interaction area to perform data initialization, and then perform a call of the fourth initiator while the execution result is displayed in the external interaction area or respectively. The manner in which the external server calls the fourth initiator is the same as the manner in which the external server is called in step 201, and is not described here again.
So far, the above-mentioned process of automatically performing data initialization is described completely, and in the process of practical application, the internal interaction area actually provides the functions of success rate statistics of data initialization and initialization state query for technicians, research personnel and the like located therein, and the specific implementation process is as follows:
firstly, a success rate statistic function of data initialization is provided.
Technicians, research and development personnel and the like can send success rate statistics requests to the internal server side in the internal interaction area, and particularly can adopt a calling mode, so that the internal server side can obtain the time interval to be counted carried by the success rate statistics requests in response to the success rate statistics requests of the internal interaction area. Then, the internal server side inquires all the historical execution results pushed to the external server side in the time interval to be counted, counts the total number of first results of all the historical execution results, counts the total number of second results of the historical execution results indicating successful execution in all the historical execution results, and takes the ratio of the total number of the second results to the total number of the first results as the execution success rate. For example, if the time interval to be counted is 30 minutes from 1/2/15/2021 to 45 minutes from 1/2/15/2021, the total number of the first results of all the historical execution results is counted to be 100, and the total number of the second results of the historical execution results indicating successful execution is 99, the calculated execution success rate is 99%. Next, in order to enable technicians or research and development personnel requesting for success rate statistics to obtain the execution success rate in real time, the internal server queries a second initiator initiating a success rate statistics request in the internal interaction region, displays the execution success rate in the internal interaction region, and performs a call of the second initiator simultaneously or respectively, where a specific call process is consistent with the process of calling the fourth initiator described in step 205, and details are not repeated here.
And secondly, providing an inquiry function of an initialization state.
Technicians, research and development personnel and the like can send the initialization state query request to the internal server in the internal interaction area, and particularly can adopt a calling mode, so that the internal server can obtain the brand number to be queried carried by the initialization state query request in response to the initialization state query request in the internal interaction area. Then, the internal server determines at least one candidate initialization operation of the brand number to be queried, where the at least one candidate initialization operation is all initialization operations executed by the brand number to be queried in a history process. Next, the internal server determines a target initialization operation among the at least one candidate initialization operation, where the target initialization operation is a candidate initialization operation with a shortest time interval between a starting time point and a current time point in the at least one candidate initialization operation, that is, the target initialization operation is a currently most recently executed initialization operation or an currently executed initialization operation that has not yet ended. Thus, the internal server reads the execution state of the target initialization operation, queries a third initiator that initiates an initialization state query request in the internal interaction region, displays the execution state in the internal interaction region, and simultaneously or respectively performs a call of the third initiator, where a specific call process is consistent with the process of calling the fourth initiator described in step 205, and details are not repeated here.
In addition, in order to meet various requirements of workers and merchants, the method further provides an initialization evaluation function, time consumed by initialization operation can be evaluated, estimated initialization time is output, and the estimated initialization time is provided for the workers and the merchants to be referred. The initialization evaluation process involves interaction between the internal server and the external server, and referring to fig. 2B, includes:
206. and the external server side responds to the call in the external interaction area, acquires an initialization evaluation request received based on the number of the to-be-processed brands, and forwards the initialization evaluation request to the internal interaction area.
In the embodiment of the application, a worker with evaluation requirements can call an external server in an external interaction area, the external server responds to the call in the external interaction area, obtains an initialization evaluation request received based on the serial number of the to-be-processed brand, and forwards the initialization evaluation request to an internal interaction area. The process of the staff calling the external service end is consistent with the calling process in step 201, and is not described here again.
It should be noted that, in the embodiment of the present application, an example is described in which an initialization evaluation request is received based on a number of a brand to be processed, and in a practical application process, a worker may input an arbitrary brand number request to perform initialization evaluation, and the evaluation is not limited to the brand number that is being initialized. For the brand number that has not been initialized, the internal server side subsequently determines the data to be initialized according to the brand number by executing the process in step 202, and directly performs initialization evaluation on the data to be initialized.
207. And responding to the initialization evaluation request of the internal interaction area, reading the data to be initialized by the internal server, and counting the number of items included in the data to be initialized.
In the embodiment of the application, after the external server forwards the initialization evaluation request to the internal interaction region, in response to the initialization evaluation request of the internal interaction region, the internal server reads the data to be initialized, and counts the number of items included in the data to be initialized. For example, assuming that the commodities A, B and C are included in the data to be initialized, the number of items is 3.
208. And the internal server determines the initialization unit time length, calculates the product of the item quantity and the initialization unit time length, and takes the product as the estimated initialization time.
In the embodiment of the application, after the quantity of the items is determined, the internal server determines the initialization unit time length, calculates the product of the quantity of the items and the initialization unit time length, and takes the product as the estimated initialization time. The initialization unit duration is also the duration consumed by initializing 1 data item, so that if the number of items is 3 and the initialization unit duration is 5 minutes, the estimated initialization time is 15 minutes.
It should be noted that the process of calculating the estimated initialization time is an example, and in the process of practical application, the internal server may also superimpose the statistical duration of the data to be initialized, the start duration of the program, and the like on the estimated initialization time.
209. The internal server side displays the estimated initialization time in the internal interaction area and pushes the estimated initialization time to the external server side.
In the embodiment of the application, after the estimated initialization time is obtained through statistics, the internal server side can display the estimated initialization time in the internal interaction area, push the estimated initialization time to the external server side, and display the estimated initialization time in the external interaction area and perform subsequent notification work by the external server side.
210. The external server receives the estimated initialization time pushed by the internal server, determines a first initiator initiating an initialization evaluation request in the external interaction area, displays the estimated initialization time in the external interaction area, and simultaneously or respectively makes a call of the first initiator.
In the embodiment of the application, the external server receives the estimated initialization time pushed by the internal server, determines a first initiator initiating an initialization evaluation request in the external interaction area, displays the estimated initialization time in the external interaction area, and simultaneously or respectively makes a call to the first initiator. The manner in which the external service end calls the first initiator is consistent with the manner in which the external service end is called in step 201, and is not described here again.
In the following, the processing procedures of the data initialization request, the initialization evaluation request, the success rate statistics request, and the initialization status query request are sequentially described by taking the external interaction area as a line group and taking the internal interaction area as an internal group as an example. The system comprises an external interaction area, a server and a front-line notification robot, wherein the external server in the external interaction area is set as the front-line robot, and the front-line notification robot is also set in the external interaction area; an internal service end in the internal interaction area is set as an internal robot, an internal notification robot is further arranged in the internal interaction area, and the specific processing process is as follows:
the staff calls a first-line robot in a first line group and inputs the number of the brand to be processed in the first line group, the first-line robot generates a data initialization request carrying the number of the brand to be processed, the data initialization request is forwarded to an internal notification robot of an internal group, and the internal notification robot forwards the data initialization request to the internal robot. The internal robot determines data to be initialized according to the number of the brand to be processed, executes initialization operation of the data to be initialized based on the program end, acquires an execution result by the internal notification robot, displays the execution result in an internal group, pushes the execution result to the first-line notification robot, and issues the execution result in the first-line group by the first-line notification robot and simultaneously or respectively executes calling of workers.
Further, the staff calls a first-line robot in a line group, inputs the number of the brand to be processed in the line group and carries out initialization evaluation based on the number request of the brand to be processed, the first-line robot generates an initialization evaluation request carrying the initialization evaluation request, the initialization evaluation request is forwarded to an internal notification robot of an internal group, and the internal notification robot forwards the initialization evaluation request to the internal robot. The internal robot evaluates according to the number of the brand to be processed to generate estimated initialization time, the internal notification robot acquires the estimated initialization time, the estimated initialization time is displayed in an internal group, the estimated initialization time is pushed to the first-line notification robot, the first-line notification robot distributes the estimated initialization time in the first-line group, and the first-line notification robot simultaneously or respectively executes calling of workers.
Furthermore, technicians or research and development personnel call the internal robots in the internal group and input time intervals to be counted in the internal group, the internal robots count the execution success rate according to the time intervals to be counted, the internal robots are notified to obtain the execution success rate, the execution success rate is displayed in the internal group, and the calls of the technicians or the research and development personnel are executed simultaneously or respectively.
Furthermore, technicians or research and development personnel call the internal robots in the internal group and input brand numbers to be inquired in the internal group, the internal robots inquire the execution state of the initialization operation according to the brand numbers to be inquired, the internal informing robots acquire the execution state, the execution state is displayed in the internal group, and the calls of the technicians or research and development personnel are executed simultaneously or respectively.
The method provided by the embodiment of the application comprises the steps that an external interaction area and an internal interaction area are set, the external interaction area is served by an external server, the internal interaction area is served by an internal server, after a merchant applies for initialization of data to workers, the workers input the numbers of the goods to be processed to be initialized into the external interaction area, the numbers of the goods to be processed are forwarded to the internal interaction area by the external server in a data initialization request mode, so that the internal server can obtain the numbers of the goods to be processed, the data to be initialized are automatically determined according to the numbers of the goods to be processed, the internal server automatically executes initialization operation of the data to be initialized based on a program end, and the result of the initialization operation is returned to the external server, so that the external server notifies the workers in the external interaction area, and automatic initialization of data of an application end and the program end is realized, by utilizing the high-efficiency processing capacity of the server, the time consumption of data initialization is shortened, and the speed and the efficiency of data initialization are improved.
Further, as a specific implementation of the method shown in fig. 1A, an embodiment of the present application provides a data initialization apparatus, as shown in fig. 3A, the apparatus includes: the device comprises an acquisition module 301, a statistic module 302, an execution module 303 and a pushing module 304.
The obtaining module 301 is configured to obtain a number of a tablet to be processed in response to a data initialization request of an internal interaction area, where the data initialization request is generated after an external server obtains the number of the tablet to be processed input to the external interaction area and is forwarded to the internal interaction area, the external interaction area is an area served by the external server, and the internal interaction area is an area served by the internal server;
the counting module 302 is configured to count data to be initialized according to first mapping data indicated by the serial number of the to-be-processed brand at an application end and second mapping data indicated by a program end, where the data to be initialized indicates a difference between the first mapping data and the second mapping data, and the application end and the program end correspond to different service platforms;
the execution module 303 is configured to execute the initialization operation of the data to be initialized based on the program end, so as to obtain an execution result of the initialization operation;
the pushing module 304 is configured to display the execution result in the internal interaction area, push the execution result to the external server, and display the execution result in the external interaction area by the external server.
In a specific application scenario, the statistical module 302 is configured to determine a target store corresponding to the serial number of the to-be-processed brand; acquiring content displayed at the front end of the target store in a first service platform corresponding to the application end as the first mapping data; acquiring the content displayed at the front end of the target store in a second service platform corresponding to the program end as the second mapping data; comparing the first mapping data with the second mapping data, and extracting the difference between the first mapping data and the second mapping data as the data to be initialized.
In a specific application scenario, as shown in fig. 3B, the apparatus further includes: a first reading module 305 and a calculating module 306.
The first reading module 305 is configured to read the data to be initialized in response to an initialization evaluation request of the internal interaction area, where the initialization evaluation request is received by the external server in the external interaction area based on the number of the brand to be processed and forwarded to the internal interaction area;
the statistic module 302 is further configured to count the number of items included in the data to be initialized;
the calculating module 306 is configured to determine an initialization unit duration, calculate a product of the number of items and the initialization unit duration, and use the product as an estimated initialization time;
the pushing module 304 is further configured to display the estimated initialization time in the internal interaction area, and push the estimated initialization time to the external server, where the external server displays the estimated initialization time in the external interaction area and simultaneously or respectively makes a call of a first initiator, where the first initiator is a party initiating the initialization evaluation request in the external interaction area.
In a specific application scenario, as shown in fig. 3C, the apparatus further includes: a first query module 307 and a first presentation module 308.
The obtaining module 301 is further configured to respond to the success rate statistics request of the internal interaction area, and obtain a time interval to be counted carried by the success rate statistics request;
the first query module 307 is configured to query all historical execution results pushed to the external server within the time interval to be counted, and count a first total number of the all historical execution results;
the counting module 302 is further configured to count a second total number of the historical execution results indicating successful execution among all the historical execution results, and use a ratio of the second total number of the results to the first total number of the results as an execution success rate;
the first query module 307 is further configured to query a second initiator that initiates the success rate statistics request in the internal interaction area;
the first displaying module 308 is configured to display the execution success rate in the internal interaction area, and simultaneously or separately perform a call of the second initiator.
In a specific application scenario, as shown in fig. 3D, the apparatus further includes: a determination module 309, a second reading module 310, a second query module 311 and a second presentation module 312.
The obtaining module 301 is further configured to respond to the initial state query request of the internal interaction area, and obtain a brand number to be queried, which is carried in the initial state query request;
the determining module 309, configured to determine at least one candidate initialization operation of the brand number to be queried, and determine a target initialization operation in the at least one candidate initialization operation, where the target initialization operation is a candidate initialization operation in which a time interval between a start time point and a current time point in the at least one candidate initialization operation is shortest;
the second reading module 310 is configured to read an execution status of the target initialization operation;
the second query module 311 is configured to query a third initiator that initiates the initialization state query request in the internal interaction area;
the second displaying module 312 is configured to display the execution status in the internal interaction area, and simultaneously or separately perform a call of the third initiator.
The device provided by the embodiment of the application is provided with an external interaction area and an internal interaction area, wherein the external interaction area is served by an external server, the internal interaction area is served by an internal server, after a merchant applies for initialization of data to a worker, the worker inputs a number of a to-be-processed signboard to be initialized into the external interaction area, the number of the to-be-processed signboard is forwarded into the internal interaction area by the external server in a data initialization request mode, so that the internal server can obtain the number of the to-be-processed signboard, the to-be-initialized data is automatically determined according to the number of the to-be-processed signboard, the internal server automatically executes initialization operation of the to-be-initialized data based on a program end, and returns the result of the initialization operation to the external server, so that the external server notifies the worker in the external interaction area, and automatic initialization of data of an application end and the program end is realized, by utilizing the high-efficiency processing capacity of the server, the time consumption of data initialization is shortened, and the speed and the efficiency of data initialization are improved.
Further, as a specific implementation of the method shown in fig. 1B, an embodiment of the present application provides a data initialization apparatus, as shown in fig. 4A, the apparatus includes: an acquisition module 401, a forwarding module 402 and a presentation module 403.
The acquiring module 401 is configured to acquire a number of a tablet to be processed, which is input to an external interaction area in response to a call in the external interaction area, where the external interaction area is an area served by an external server;
the forwarding module 402 is configured to generate a data initialization request carrying the number of the brand to be processed, and forward the data initialization request to an internal interaction area, where the internal interaction area is an area served by an internal server;
the display module 403 is configured to receive an execution result, display the execution result in the external interaction area, where the execution result is obtained and pushed after the internal server counts data to be initialized according to first mapping data indicated by the number of the tablet to be processed at an application end and second mapping data indicated by a program end, and the data to be initialized is executed based on the program end, where the data to be initialized indicates a difference between the first mapping data and the second mapping data, and the application end and the program end correspond to different service platforms.
In a specific application scenario, as shown in fig. 4B, the apparatus further includes: a query module 404.
The query module 404 is configured to query a fourth initiator initiating the call in the external interaction region;
the displaying module 403 is configured to make a call of the fourth initiator while the execution result is displayed in the external interaction area or separately.
In a specific application scenario, as shown in fig. 4C, the apparatus further includes: a receiving module 405 and a determining module 406.
The obtaining module 401 is configured to obtain, in response to a call in the external interaction area, an initialization evaluation request received based on the serial number of the tablet to be processed;
the forwarding module 402 is configured to forward the initialization evaluation request to the internal interaction area, and estimate initialization time by the internal server based on the to-be-initialized data statistics;
the receiving module 405 is configured to receive the estimated initialization time pushed by the internal server;
the determining module 406 is configured to determine a first initiator initiating the initialization evaluation request in the external interaction region;
the displaying module 403 is further configured to display the estimated initialization time in the external interaction area, and simultaneously or separately perform a call of the first initiator.
The device provided by the embodiment of the application is provided with an external interaction area and an internal interaction area, wherein the external interaction area is served by an external server, the internal interaction area is served by an internal server, after a merchant applies for initialization of data to a worker, the worker inputs a number of a to-be-processed signboard to be initialized into the external interaction area, the number of the to-be-processed signboard is forwarded into the internal interaction area by the external server in a data initialization request mode, so that the internal server can obtain the number of the to-be-processed signboard, the to-be-initialized data is automatically determined according to the number of the to-be-processed signboard, the internal server automatically executes initialization operation of the to-be-initialized data based on a program end, and returns the result of the initialization operation to the external server, so that the external server notifies the worker in the external interaction area, and automatic initialization of data of an application end and the program end is realized, by utilizing the high-efficiency processing capacity of the server, the time consumption of data initialization is shortened, and the speed and the efficiency of data initialization are improved.
It should be noted that other corresponding descriptions of the functional units related to the data initialization apparatus provided in the embodiment of the present application may refer to the corresponding descriptions in fig. 1A to 1B and fig. 2A to 2B, and are not repeated herein.
In an exemplary embodiment, referring to fig. 5, there is further provided a device including a communication bus, a processor, a memory, and a communication interface, and further including an input/output interface and a display device, wherein the respective functional units can communicate with each other through the bus. The memory stores computer programs, and the processor is used for executing the programs stored in the memory and executing the data initialization method in the embodiment. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the data initialization method.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by hardware, and also by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application.
Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios.
The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (10)

1. A method for initializing data, comprising:
responding to a data initialization request of an internal interaction area, and acquiring a number of a to-be-processed brand, wherein the data initialization request is generated after an external server acquires the number of the to-be-processed brand input to the external interaction area and forwards the number to the internal interaction area, the external interaction area is an area served by the external server, and the internal interaction area is an area served by the internal server;
counting data to be initialized according to first mapping data indicated by the serial number of the to-be-processed brand at an application end and second mapping data indicated by a program end, wherein the data to be initialized indicate the difference between the first mapping data and the second mapping data, and the application end and the program end correspond to different service platforms;
based on the program end, executing initialization operation of the data to be initialized to obtain an execution result of the initialization operation;
and displaying the execution result in the internal interaction area, pushing the execution result to the external server, and displaying the execution result in the external interaction area by the external server.
2. The method according to claim 1, wherein the counting data to be initialized according to the first mapping data indicated by the number of the to-be-processed brand at the application end and the second mapping data indicated by the number of the to-be-processed brand at the program end comprises:
determining a target store corresponding to the number of the to-be-processed brand;
acquiring content displayed at the front end of the target store in a first service platform corresponding to the application end as the first mapping data;
acquiring the content displayed at the front end of the target store in a second service platform corresponding to the program end as the second mapping data;
comparing the first mapping data with the second mapping data, and extracting the difference between the first mapping data and the second mapping data as the data to be initialized.
3. The method of claim 1, further comprising:
reading the data to be initialized in response to an initialization evaluation request of the internal interaction area, wherein the initialization evaluation request is received by the external server in the external interaction area based on the number of the brand to be processed and forwarded to the internal interaction area;
counting the number of items included in the data to be initialized;
determining initialization unit time length, calculating the product of the item quantity and the initialization unit time length, and taking the product as estimated initialization time;
and displaying the estimated initialization time in the internal interaction area, pushing the estimated initialization time to the external server, displaying the estimated initialization time in the external interaction area by the external server, and simultaneously or respectively calling a first initiator, wherein the first initiator is a party initiating the initialization evaluation request in the external interaction area.
4. The method of claim 1, further comprising:
responding to a success rate counting request of the internal interaction area, and acquiring a time interval to be counted carried by the success rate counting request;
inquiring all historical execution results pushed to the external server within the time interval to be counted, and counting the total number of first results of all the historical execution results;
counting a second result total number of history execution results indicating successful execution in all the history execution results, and taking the ratio of the second result total number to the first result total number as an execution success rate;
inquiring a second initiator initiating the success rate statistic request in the internal interaction area;
and displaying the execution success rate in the internal interaction area, and simultaneously or respectively calling the second initiator.
5. The method of claim 1, further comprising:
responding to an initialization state query request of the internal interaction area, and acquiring a brand number to be queried carried by the initialization state query request;
determining at least one candidate initialization operation of the brand number to be queried, and determining a target initialization operation in the at least one candidate initialization operation, wherein the target initialization operation is the candidate initialization operation with the shortest time interval between a starting time point and a current time point in the at least one candidate initialization operation;
reading the execution state of the target initialization operation;
inquiring a third initiator initiating the initialization state inquiry request in the internal interaction area;
and displaying the execution state in the internal interaction area, and simultaneously or respectively calling the third initiator.
6. A method for initializing data, comprising:
responding to a call in an external interaction area, and acquiring a number of a to-be-processed brand input to the external interaction area, wherein the external interaction area is an area served by an external server;
generating a data initialization request carrying the number of the brand to be processed, and forwarding the data initialization request to an internal interaction area, wherein the internal interaction area is an area served by an internal server;
receiving an execution result, displaying the execution result in the external interaction area, wherein the execution result is obtained and pushed by the internal server after the internal server counts data to be initialized according to first mapping data indicated by the number of the to-be-processed brand at an application end and second mapping data indicated by a program end and executes initialization operation of the data to be initialized based on the program end, the data to be initialized indicates the difference between the first mapping data and the second mapping data, and the application end and the program end correspond to different service platforms.
7. A data initialization apparatus, comprising:
the acquisition module is used for responding to a data initialization request of an internal interaction area to acquire the number of the brand to be processed, wherein the data initialization request is generated after an external server acquires the number of the brand to be processed input to the external interaction area and is forwarded to the internal interaction area, the external interaction area is an area served by the external server, and the internal interaction area is an area served by the internal server;
the counting module is used for counting data to be initialized according to first mapping data indicated by the serial number of the to-be-processed brand at an application end and second mapping data indicated by a program end, wherein the data to be initialized indicates the difference between the first mapping data and the second mapping data, and the application end and the program end correspond to different service platforms;
the execution module is used for executing the initialization operation of the data to be initialized based on the program end to obtain the execution result of the initialization operation;
and the pushing module is used for displaying the execution result in the internal interaction area, pushing the execution result to the external server, and displaying the execution result in the external interaction area by the external server.
8. A data initialization apparatus, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for responding to a call in an external interaction area and acquiring the number of a brand to be processed which is input into the external interaction area, and the external interaction area is an area served by an external server;
the forwarding module is used for generating a data initialization request carrying the number of the brand to be processed and forwarding the data initialization request to an internal interaction area, wherein the internal interaction area is an area served by an internal server;
the display module is used for receiving an execution result, displaying the execution result in the external interaction area, wherein the execution result is obtained and pushed after the internal server counts data to be initialized according to first mapping data indicated by the number of the to-be-processed brand at an application end and second mapping data indicated by a program end and executes initialization operation of the data to be initialized based on the program end, the data to be initialized indicates the difference between the first mapping data and the second mapping data, and the application end and the program end correspond to different service platforms.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202110498616.6A 2021-05-08 2021-05-08 Data initialization method, device, computer equipment and readable storage medium Active CN113127129B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110498616.6A CN113127129B (en) 2021-05-08 2021-05-08 Data initialization method, device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110498616.6A CN113127129B (en) 2021-05-08 2021-05-08 Data initialization method, device, computer equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113127129A true CN113127129A (en) 2021-07-16
CN113127129B CN113127129B (en) 2024-09-20

Family

ID=76781121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110498616.6A Active CN113127129B (en) 2021-05-08 2021-05-08 Data initialization method, device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113127129B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150256504A1 (en) * 2014-03-06 2015-09-10 Dropbox, Inc. Distributed synchronization data in a message management service
CN107038195A (en) * 2015-12-17 2017-08-11 阿里巴巴集团控股有限公司 Method of data synchronization and device
US20190042601A1 (en) * 2017-08-01 2019-02-07 Salesforce.Com, Inc. Facilitating mobile device interaction with an enterprise database system
CN110750746A (en) * 2019-10-16 2020-02-04 支付宝(杭州)信息技术有限公司 Data receiving and pushing method, device, equipment and readable medium
CN110865843A (en) * 2018-08-09 2020-03-06 阿里巴巴集团控股有限公司 Page backtracking, information backup and problem solving method, system and equipment
CN112560076A (en) * 2021-02-23 2021-03-26 浙江口碑网络技术有限公司 Program page display method and device, computer equipment and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150256504A1 (en) * 2014-03-06 2015-09-10 Dropbox, Inc. Distributed synchronization data in a message management service
CN107038195A (en) * 2015-12-17 2017-08-11 阿里巴巴集团控股有限公司 Method of data synchronization and device
US20190042601A1 (en) * 2017-08-01 2019-02-07 Salesforce.Com, Inc. Facilitating mobile device interaction with an enterprise database system
CN110865843A (en) * 2018-08-09 2020-03-06 阿里巴巴集团控股有限公司 Page backtracking, information backup and problem solving method, system and equipment
CN110750746A (en) * 2019-10-16 2020-02-04 支付宝(杭州)信息技术有限公司 Data receiving and pushing method, device, equipment and readable medium
CN112560076A (en) * 2021-02-23 2021-03-26 浙江口碑网络技术有限公司 Program page display method and device, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN113127129B (en) 2024-09-20

Similar Documents

Publication Publication Date Title
CN110138883B (en) Hybrid cloud resource allocation method and device
CN103595613B (en) Instant communication client, instant communication server and instant communication method
CN111209310B (en) Service data processing method and device based on stream computing and computer equipment
WO2021129379A1 (en) Information sharing chain generation method and apparatus, electronic device, and storage medium
CN110458379B (en) Pressure testing system, method and device and electronic equipment
CN111881221A (en) Method, device and equipment for customer portrait in logistics service
CN109582470A (en) A kind of data processing method and data processing equipment
CN114051055A (en) Data transmission method and device in different systems
CN111507673A (en) Method and device for managing commodity inventory
CN111754189A (en) Task delivery method and device, computer equipment and computer readable storage medium
CN103593794A (en) Method and apparatus for implementing information interaction
CN110858209B (en) Business object access/release method, device and system and electronic equipment
CN113127129A (en) Data initialization method and device, computer equipment and readable storage medium
CN114429371B (en) Unmanned vehicle-based commodity marketing method and device, electronic equipment and storage medium
CN112907331B (en) Order generation method and device, computer equipment and readable storage medium
CN110188140A (en) Data pulling method and device, storage medium and computer equipment
CN113553203A (en) Request processing method, device, server and storage medium
CN115905322A (en) Service processing method and device, electronic equipment and storage medium
CN112765277A (en) Data synchronization method, device and system
CN107038170B (en) Method and device for recommending application program
CN110442572A (en) The determination method and device of user characteristics value
CN114205639B (en) Video processing method and device, electronic equipment and storage medium
CN112035613B (en) Information pushing method and device based on multi-round dialogue, storage medium and electronic device
CN109922470A (en) A kind of recommended method, terminal and server
CN112597175B (en) Data docking method, system, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant